Re-identification

Also known as: de-anonymization

On this page 7

Re-identification is the process of matching records in a dataset that was presented as anonymous or de-identified back to the specific individuals they describe. In privacy, and especially in privacy engineering, it is the central threat that every anonymization technique must withstand; the term de-anonymization is used as a synonym, particularly in computer security research.

Re-identification usually succeeds not because names were left in the data but because combinations of ordinary attributes, known as quasi-identifiers, turn out to be unique. Removing direct identifiers is therefore necessary but rarely sufficient, and the risk must be assessed against the auxiliary data an attacker could realistically obtain.

How re-identification attacks work

A re-identification attack works by linking a released dataset with auxiliary information that contains both identities and some overlapping attributes. When the overlapping attributes are distinctive enough, a record in the released data matches exactly one person in the auxiliary source, and the sensitive values in the record are exposed.

The classic demonstration combined ZIP code, date of birth and sex. Research by Latanya Sweeney in the late 1990s estimated that this triple uniquely identifies a large majority of the United States population, and she used it to locate the hospital records of a state governor in a dataset released without names. Later studies showed that with around 15 demographic attributes, almost any individual in a large population can be singled out.

European data protection guidance distinguishes three ways in which anonymization can fail. The table below sets them out.

Failure modeWhat the attacker achievesExample
Singling outIsolates one record belonging to one personOnly one patient aged 97 in a small district
LinkabilityConnects records about the same person across datasetsMatching a health record to a voter roll
InferenceDeduces an attribute with significant probabilityEveryone in a group shares the same diagnosis
Three failure modes of anonymization

Types of re-identification attacks

Re-identification attacks vary by the kind of data released and the attacker’s knowledge. Tabular microdata, high-dimensional behavioral data, location traces and aggregate statistics each have characteristic weaknesses.

Attack typeTarget dataMechanismWell-known case
Linkage attackTabular microdataJoin on shared quasi-identifiersHospital discharge records
Sparsity attackRatings, purchases, browsingA few known data points match one profileNetflix Prize dataset
Trajectory attackLocation tracesA handful of time-place points are uniqueMobile phone mobility studies
Content analysisSearch logs and textQueries reveal names, places and habitsAOL search log release
Reconstruction attackAggregate statisticsMany exact counts allow solving for recordsCensus tabulation analyses
Common attack types and the data they target

The Netflix and mobility cases illustrate a key insight: in high-dimensional sparse data, almost every record is unique, so even a small amount of outside knowledge can identify a person. Studies of mobile location data have found that four spatio-temporal points are enough to single out the large majority of individuals.

Re-identification risk determines whether data is legally personal. Under the GDPR, information is anonymous only if identification is not possible by any means reasonably likely to be used, taking into account cost, time and available technology, as Recital 26 explains. Pseudonymized data, by contrast, remains personal data.

FrameworkStandard appliedConsequence for data controllers
GDPRMeans reasonably likely to be usedResidual risk keeps data within scope
HIPAA Safe HarborRemoval of 18 listed identifiersData treated as de-identified once removed
HIPAA Expert DeterminationVery small risk certified by an expertStatistical analysis of specific release
CCPAReasonable measures plus a commitment not to re-identifyContractual and technical controls required
How major frameworks treat re-identification risk

Several laws also make deliberate re-identification an offense or a contractual breach. The United Kingdom, for example, created a specific offense for knowingly or recklessly re-identifying de-identified personal data without the consent of the controller.

Relationship to anonymization techniques

Each privacy-preserving technique can be understood as a defense against particular re-identification strategies. k-anonymity blocks singling out on quasi-identifiers, l-diversity and t-closeness address inference within groups, and differential privacy bounds what any output can reveal about one person.

TechniqueRisk addressedResidual weakness
PseudonymizationDirect identificationLinkage on remaining attributes
k-anonymitySingling out on quasi-identifiersHomogeneity and background knowledge
l-diversityAttribute inference in a groupSkewed value distributions
Differential privacyAny individual contributionUtility loss as privacy budget shrinks
Data clean roomRaw data exposure between partiesDepends on query controls and audits
Techniques and the re-identification risks they address

Only differential privacy offers a mathematical guarantee independent of auxiliary data. The others rely on assumptions about what an attacker knows, which is exactly the assumption that real re-identification attacks tend to break.

Assessing and reducing re-identification risk

Assessing re-identification risk means estimating the probability that a record can be correctly linked to a person under a realistic threat model. Practitioners consider who might attack, what auxiliary data exists and how the release will be accessed.

  • Inventory direct identifiers and quasi-identifiers before any release.
  • Measure uniqueness of attribute combinations in the dataset and in the population.
  • Run a motivated intruder test, in which a skilled person tries to identify individuals using public sources.
  • Prefer controlled access, such as secure research environments, over open publication for rich microdata.
  • Reassess periodically, because new auxiliary datasets raise risk over time.

The most common mistake is to treat de-identification as a one-time action. Re-identification risk is contextual and changes as other data becomes public, so a dataset that was safe to share five years ago may not be safe today.

A plain-language summary

Re-identification means figuring out who someone is in a dataset that was supposed to be anonymous. Removing names is not enough, because small details such as a birthday, a postcode and gender, taken together, often point to only one person.

It is like a puzzle. One piece tells very little, but a few pieces placed side by side reveal the picture. Truly anonymous data is much harder to create than most people assume, and organizations must check carefully before sharing it.

An example from practice

A regional transport authority planned to publish a year of smart card journey records for researchers, with card numbers replaced by random codes. Before release, its privacy engineering team ran a motivated intruder test. A tester used publicly posted social media check-ins and found that three or four known journeys were enough to match a code to a named commuter, revealing that person’s complete travel history.

The authority abandoned the open release. Instead, it published aggregated station-to-station counts with differential privacy noise added and offered the detailed records only inside a supervised research environment under signed agreements. Researchers still obtained useful demand patterns, and the authority avoided an identifiable data release that would have breached data protection law.