Definitionintro
k-anonymity
Also called k-anonymous table.
A released table is k-anonymous if every record shares its quasi-identifier values with at least k-1 other records.
k-anonymity is a condition on a released table: each combination of quasi-identifier values that occurs in the table occurs in at least rows. Then a join of the release with an outside table on the quasi-identifier, the linkage attack, never ties a person to fewer than rows. Sweeney and Samarati proposed the model around 1998, and the main papers appeared in 2001 and 2002. A table is made k-anonymous by generalization and suppression or by microaggregation. The value of is a policy choice of the data holder.
Definition
Let be a table with rows and let be its quasi-identifier. For a row , write for the tuple of its values on . The equivalence class of is the set of rows with .
Definition (Sweeney 2002). Let be an integer. The table is k-anonymous with respect to if each tuple of values that occurs in occurs in at least rows of . In other words, each equivalence class on has at least rows.
Three facts follow at once from the definition.
- Monotone in k. A k-anonymous table is -anonymous for each . Each table is 1-anonymous.
- Monotone in the attributes. If is k-anonymous on , it is k-anonymous on each subset of , because each class on the subset is a union of classes on .
- Easy to check. Count the rows of each tuple with a hash table, and compare the smallest count with . This takes expected time on the word RAM.
What it protects against, and only that: let be any outside table with identities and the attributes , written at the same level of detail as the release. For each person of , the set of rows of the release that agree with on is empty or has at least rows. This is a theorem about the join on . The common reading "the adversary finds the row of with probability at most " is a heuristic. It assumes that the adversary has no information outside and picks one row of the class at random.
Making a table k-anonymous with the fewest suppressed cells is NP-hard for (NP-hardness of optimal k-anonymity), and the O(k) approximation gives a bound on the cost.
Examples and non-examples
The tables are made up. The quasi-identifier is ZIP, age.
| row | ZIP | age | diagnosis |
|---|---|---|---|
| 1 | 1305* | 20 to 29 | flu |
| 2 | 1305* | 20 to 29 | asthma |
| 3 | 1306* | 30 to 39 | diabetes |
| 4 | 1306* | 30 to 39 | flu |
| 5 | 1306* | 30 to 39 | cold |
- 2-anonymous, not 3-anonymous. The classes are and . The smallest class has 2 rows.
- k-anonymous but not private: homogeneity. Change the diagnosis of rows 3, 4 and 5 to flu. The table is still 3-anonymous, but each person who matches the class has flu. The join gives no row, but it gives the value. Machanavajjhala et al. (2007) call this the homogeneity attack, and l-diversity and t-closeness answer it.
- k-anonymous but not private: background knowledge. If the adversary knows that a person of class does not have asthma, the class shows that the person has flu. k-anonymity says nothing about knowledge outside .
- Not k-anonymous after two releases: complementary release. Take four rows with (ZIP, age, diagnosis) equal to (13053, 28, flu), (13053, 29, cold), (13068, 28, asthma) and (13068, 29, diabetes). Release A shows the ZIP and hides the age: each class has 2 rows. Release B hides the ZIP and shows the age: each class has 2 rows. Both are 2-anonymous. But a person with ZIP 13053 and age 28 has a diagnosis in flu, cold by A and in flu, asthma by B, so the diagnosis is flu. Sweeney (2002) names this the complementary release attack. Each new release must be k-anonymous together with the earlier ones, which m-invariance studies for data that changes.
- Row order. If two releases of the same rows keep the same row order, a reader can match the rows by position. Sweeney (2002) calls this unsorted matching. Shuffle the rows of each release.
- The quasi-identifier is too small. A table that is k-anonymous on ZIP, age may have unique rows on ZIP, age, sex. If an outside table has the sex, the protection is gone. The choice of is a policy decision, and so is .
Related definitions
- Quasi-identifier: the attributes that the condition is about.
- Generalization and suppression: the usual way to reach k-anonymity, with the algorithms Samarati's algorithm, Datafly, Incognito and Mondrian.
- Microaggregation reaches k-anonymity on numeric data by replacing each group of at least rows by its mean.
- l-diversity and t-closeness add conditions on the sensitive values of each class.
- km-anonymity asks k-anonymity only for each set of at most items of a set-valued record.
- Differential privacy is a condition on the release mechanism, not on the output table, and it holds whatever the adversary knows.
References
- Latanya Sweeney, k-anonymity, a model for protecting privacy, International Journal of Uncertainty, Fuzziness and Knowledge-Based Systems 10(5), 2002, pp. 557 to 570, the definition of k-anonymity, and the attacks on k-anonymous releases by unsorted matching, complementary release and temporal inference
- Pierangela Samarati, Protecting respondents' identities in microdata release, IEEE Transactions on Knowledge and Data Engineering 13(6), 2001, pp. 1010 to 1027, the k-anonymity requirement for released microdata, met by generalization and suppression
- Valentina Ciriani, Sabrina De Capitani di Vimercati, Sara Foresti and Pierangela Samarati, k-Anonymity, in Secure Data Management in Decentralized Systems, Springer, Advances in Information Security, 2007, Sections 2 and 3, the definition, the k-anonymity requirement and the taxonomy of generalization and suppression
- Ashwin Machanavajjhala, Daniel Kifer, Johannes Gehrke and Muthuramakrishnan Venkitasubramaniam, l-diversity, privacy beyond k-anonymity, ACM Transactions on Knowledge Discovery from Data 1(1), 2007, the homogeneity attack and the background knowledge attack on k-anonymous tables
- Benjamin C. M. Fung, Ke Wang, Rui Chen and Philip S. Yu, Privacy-preserving data publishing, a survey of recent developments, ACM Computing Surveys 42(4), 2010, the sections on record linkage and on k-anonymity and its refinements
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag TCBPNZ Edit this page History Report an error Markdown