All frameworks and cheat sheets

Process

How to check a research report for k-anonymity

Process with six steps to check a research report for k-anonymity: fix visible fields, count, generalise, suppress, check diversity, record the floor.
Run it on the exact report you are about to send, not on the raw data. Source: Koji synthesis, after Latanya Sweeney (2002) and Machanavajjhala et al.

A six-step procedure for checking segment cuts in a research report before it goes out. Fix the fields that will be visible, find the smallest group, coarsen fields before hiding cells, check that small groups did not all give the same answer, and write the minimum into the report template. It applies k-anonymity and l-diversity to everyday survey and interview reporting. Koji shows cell sizes when it builds report cuts.

Where this appears

What's in this process

  1. Fix the visible fields: List the attributes that will be visible in this deliverable, not everything you collected.
  2. Group and count: Find the smallest group. That number is your k.
  3. Generalise first: If k is under your floor, collapse the finest-grained field, check again and repeat.
  4. Only then suppress: Hidden cells can often be recovered from published totals, so check for that before you rely on it.
  5. Check response diversity: A small cell where everyone gave the same answer discloses that answer, even with a passing k.
  6. Put the floor in the template: A rule that is not written into the report gets broken by whoever builds the next one.

Use this image

Free to use in your docs, decks and posts under CC BY 4.0, as long as you credit Koji with a link to this page. To embed it, paste this into your page:

html
<a href="https://www.koji.so/visuals/k-anonymity-check-research-report-procedure"><img src="https://www.koji.so/visuals/k-anonymity-check-research-report-procedure/k-anonymity-check-research-report-procedure.png" alt="Process with six steps to check a research report for k-anonymity: fix visible fields, count, generalise, suppress, check diversity, record the floor." width="1080" height="1080" /></a>
<p>Source: <a href="https://www.koji.so/visuals/k-anonymity-check-research-report-procedure">How to check a research report for k-anonymity</a>, Koji</p>