A table of medical visits may contain no names and still hold enough information to recognize a patient. An uncommon age, a small town and a date of care might match something a person has disclosed publicly. A diagnosis can then be associated with that person without recovering any deleted identifier.
To assess reidentification risk, examine which combinations distinguish people, who could link them to outside information, and under what conditions those people would have access to the data. Metrics help, but the decision also requires considering the setting in which the data will be used and the consequences of exposure.
What are we assessing when we talk about anonymity?
Reidentification risk depends on the dataset, auxiliary sources and the capabilities of a potential attacker. It is not a fixed property that can be certified forever.
Pseudonymization replaces identifiers with codes; the additional information needed to restore the link must be kept separately and protected. Under the GDPR, such data remains personal data. Data anonymization requires a broader assessment: whether people are no longer identifiable using means reasonably likely to be used.
Recital 26 of the GDPR calls for consideration of objective factors such as cost, time and available technology, including technological developments. It is a useful European legal reference for structuring the analysis; applicable obligations must be determined for each jurisdiction.
Guidance on anonymization from Spain's data protection authority, the AEPD, addresses the management of residual risk. Acknowledging residual risk does not mean any table can be declared anonymous: it calls for justification of the transformations and access conditions, without promising that identification is absolutely impossible.
Key idea: Removing direct identifiers is a starting point. Anonymity requires assessing what can still be inferred or linked to other data.
How a combination of variables can reveal an identity
A name or an identification number is a direct identifier. Age, occupation, location and dates can act as quasi-identifiers: in combination, they narrow the group of people who could match a record.
A linkage attack looks for matches between that combination and another source. For example, a health table containing town, occupation and date of care might be cross-referenced with a news report about a workplace accident. This is a hypothetical example: its plausibility would depend on the precision of the fields and the information published.
Latanya Sweeney's study of demographics and identifiability estimated that around 87% of the US population could be uniquely distinguished by combining five-digit ZIP code, sex and date of birth, using demographic data from 1990. Uniqueness is not the same as an actual reidentification: a link that attributes the record to someone is also needed. That historical figure does not measure the risk of a current dataset in another country.
Opinion 05/2014 of the Article 29 Working Party proposes examining three vulnerabilities:
- Singling out: isolating a person's records, even if their name is unknown.
- Linkability: connecting records about that person within or across datasets.
- Inference: deducing a personal attribute with significant probability.
An assessment that looks only for recovered names may miss other forms of exposure.
What k-anonymity, l-diversity and t-closeness measure
These models help examine microdata tables, in which each row represents a person or unit. Their guarantees depend on how attributes and groups have been defined.
K-anonymity: how many records share a combination
A table satisfies k-anonymity when each combination of selected quasi-identifiers appears in at least k records. In a hypothetical example with k equal to 5, every row shares those values with at least four others.
This does not show that the actual probability of reidentification is always 20%. An attacker may know attributes omitted from the analysis, and the table may represent only a sample of the population.
Moreover, if all five patients in a group have the same diagnosis, knowing that someone belongs to the group is enough to infer it. There is no need to identify their exact row.
L-diversity and t-closeness: what group membership reveals
L-diversity requires diversity in the sensitive values within each group. In its simplest version, it would check that several different diagnoses are present. But counting distinct values can be insufficient if one dominates or if all reveal a similar condition.
T-closeness limits the distance between the distribution of a sensitive attribute within a group and its distribution in the reference dataset. It seeks to reduce how much can be learned from discovering that someone belongs to that group.
The NIST SP 800-188 technical draft examines de-identification methods and privacy models. These metrics are best read as complementary tools: no value of k, l or t alone provides universal permission to publish.
Differential privacy offers another approach: it limits how much the distribution of a mechanism's outputs changes when one person's data is included or excluded. It often uses calibrated noise and requires defined parameters and controls on successive queries. It is not achieved by adding arbitrary noise, nor does it automatically make a table anonymous. The choice depends on what needs to be shared and the precision required.
Key idea: A metric describes protection under particular assumptions. Before accepting the result, check whether those assumptions reflect the potential attacker's access and knowledge.
The motivated intruder test: putting assumptions to the test
This test involves asking an authorized team to try to link records to people using resources defined in advance. It can explore public sources or auxiliary data that the team is permitted to use, within a documented time frame and budget.
The adversary profile should follow from the context. An authorized recipient might have information unknown to an internet user. If the project faces a well-resourced state or corporate threat, excluding it for convenience would not be reasonable either.
Before starting, define what will count as success: a plausible match, a confirmed identity or an inference about a sensitive attribute. Confusing these outcomes distorts the report.
The test should record sources consulted, time spent, ambiguous matches and confirmed findings. It should take place in a controlled environment, with minimal access to real data and rules to protect the people affected. If the team fails to reidentify anyone, that provides evidence limited to the test performed; it does not prove that another attacker would fail.
How to assess reidentification risk in five steps
1. Define the use and take an inventory
Specify what analysis the recipient needs and whether they will receive microdata, statistics or query access. Then classify direct identifiers, possible quasi-identifiers and sensitive attributes. Review free text, timestamps and sequences of events too.
For each field, ask what value it adds. Removing unnecessary data avoids having to protect it later.
2. Examine rare combinations and auxiliary sources
Count how many records share plausible combinations of quasi-identifiers. Pay attention to uncommon occupations, extreme ages or sparsely populated places.
Distinguish uniqueness in the sample from uniqueness in the population: a single row may represent many people outside the table. Document what you know about that population and what remains uncertain. Identify the external sources accessible to each attacker profile.
3. Transform the data and check its usefulness
Try generalization, suppression or perturbation: age ranges, dates grouped by month or broader locations, for example. Recalculate the metrics after each change.
Also check whether the intended analyses remain possible. A transformation can offer greater protection while erasing meaningful differences between groups. The assessment should show that cost, not merely announce an improvement in privacy.
4. Conduct the linkage test and assess harm
Apply the motivated intruder test to the version that will actually be shared. Examine all three vulnerabilities and check whether other publications from the project allow removed details to be pieced back together.
Distinguish the possibility of identification from its impact. Revealing a medical condition or precise location can have serious consequences even if only a few people are exposed.
5. Document the decision and its conditions
The report should identify the version assessed, the recipient, transformations, parameters, tests, limitations and residual risk. It should state who makes the decision and which changes will require the analysis to be revisited.
The outcome may be publication, sharing through restricted access, providing only aggregate results or stopping the release. There is no single numerical threshold that settles these decisions for every dataset.
Choose access conditions that protect people
A secure enclave lets people work in a controlled environment and review outputs before they are extracted. Data use agreements can restrict purposes, prohibit reidentification attempts and establish responsibilities. These are complementary safeguards: a contract does not eliminate a technical vulnerability or make data anonymous when people remain identifiable.
Key idea: The report should state which version can be shared, with whom, for what use and under which controls. The conclusion may no longer hold if those conditions change.
From a classical liberal perspective, protecting the private sphere supports individual autonomy against state or corporate intrusion. That is an ethical judgment; it does not replace technical testing or by itself determine the legal status of the data.
Scientific cooperation and voluntary exchange need privacy promises that can be justified. Before releasing a dataset, the decisive question is concrete: what evidence supports this form of access, and who will be accountable if new ways to recognize people emerge?
Share