De-identification

On this page 7

De-identification is the process of removing, generalizing or transforming identifying information in a dataset so that individual records can no longer be readily associated with a specific person. In privacy engineering, it is the umbrella term for techniques that range from simple suppression of direct identifiers to statistically assessed release of data.

De-identification is a risk reduction measure, not a binary state. Its result can be pseudonymized data that remains personal data or, with sufficient transformation and controls, data that is effectively anonymous. Which outcome is reached depends on the data, the release context and the reasonably likely means of re-identification.

How de-identification reduces identifiability

De-identification reduces identifiability by treating different kinds of attributes differently. Direct identifiers such as names, account numbers or email addresses are removed or replaced, while quasi-identifiers such as birth date, postcode and sex are generalized, because their combination can single out a person.

A well-known study by Latanya Sweeney estimated that about 87 percent of the US population could be uniquely identified by five-digit ZIP code, sex and full date of birth. That finding explains why removing names alone is never sufficient.

The table below classifies attributes by their role in a de-identification project.

Attribute typeExamplesUsual treatment
Direct identifierName, passport number, phone numberRemove or replace with a token
Quasi-identifierBirth date, postcode, occupationGeneralize or suppress rare values
Sensitive attributeDiagnosis, income, religionKeep for analysis, protect against inference
Non-identifying attributeProduct category, device typeUsually retained unchanged
Attribute types and their usual treatment

Core techniques and what they trade off

Every de-identification technique trades data utility against disclosure risk. The standard ISO/IEC 20889 classifies these techniques and their properties, and practitioners usually combine several of them.

TechniqueHow it worksMain trade-off
SuppressionDeletes values, records or columnsSimple, but loses data and can bias results
GeneralizationReplaces precise values with rangesKeeps patterns, reduces precision
PseudonymizationReplaces identifiers with tokens or keyed hashesPreserves linkage, remains reversible with the key
Data maskingObscures characters or substitutes realistic valuesGood for testing, weak for analytics
PerturbationAdds noise or swaps values between recordsProtects individuals, distorts small groups
AggregationPublishes counts or averages onlyStrong protection, no record-level analysis
Common de-identification techniques

Formal models give these techniques measurable targets. k-anonymity requires that each record be indistinguishable from at least k minus one others on its quasi-identifiers, while l-diversity and t-closeness add protection for sensitive attributes. Differential privacy goes further by bounding what any output can reveal about one person.

De-identification, pseudonymization and anonymization

De-identification is the broader process, while pseudonymization and anonymization describe possible legal outcomes. The distinction matters because data protection obligations attach to the outcome, not to the effort invested.

ConceptRe-identification possibleStatus under the GDPR
De-identified dataDepends on method and contextPersonal or anonymous, case by case
Pseudonymized dataYes, with additional informationStill personal data
Anonymized dataNot by reasonably likely meansOutside the scope of the GDPR
Aggregated statisticsLow, unless cells are very smallUsually anonymous
How the related concepts differ

In the United States, the HIPAA Privacy Rule recognizes two de-identification methods for health data: Safe Harbor, which removes 18 listed identifier types, and Expert Determination, in which a qualified expert concludes that the risk of identification is very small. NIST SP 800-188 offers comparable guidance for government datasets.

Choosing a de-identification approach

The right approach depends mainly on who receives the data and what they need to do with it. A dataset shared with a contracted researcher under strict controls can retain more detail than one published openly.

ScenarioRecommended approachReason
Internal analytics teamPseudonymization plus access controlLinkage needed, environment trusted
Software testingMasking with synthetic substitutesRealistic format, no real values required
External research partnerGeneralization, k-anonymity, contractBalances detail with legal safeguards
Open data publicationAggregation or differential privacyRecipients are unknown and unrestricted
Decision guide by release scenario

A sound process starts with a personal data inventory, classifies attributes, models plausible attackers and measures residual risk before release. Recording each decision supports a later privacy impact assessment and shows accountability.

Risk is usually expressed as the probability of re-identification per record or for the whole release. Practitioners in health data often apply thresholds between 0.05 and 0.2 for the maximum record risk, choosing the stricter value when the data is sensitive or the recipients are less controlled. These thresholds are conventions, not legal guarantees, and they should be justified in writing.

Limitations and re-identification risk

The main limitation of de-identification is that risk changes over time. New public datasets, better linkage tools and auxiliary knowledge can make a previously safe release identifiable.

  • Linkage attacks: joining a released dataset with voter rolls or social media profiles can restore identities.
  • High-dimensional data: location traces, browsing histories and genomic data are hard to de-identify because few points are unique.
  • Weak hashing: unsalted hashes of phone numbers or emails can be reversed by enumeration.
  • Small cells: rare combinations in tables can reveal individuals even after aggregation.

For these reasons, mature programs treat de-identification as ongoing risk management, with periodic reassessment, release agreements and monitoring for re-identification attempts.

A common mistake is to assume that a technique which worked for one dataset will work for the next. Each release has its own distribution of rare values, and the same generalization rules can leave very different residual risk. Another error is ignoring free-text fields, where clinicians or support agents often write names, dates and addresses that structured cleaning never touches.

A non-technical view

De-identification means scrubbing personal details out of data so that people can study it without knowing who is who. Names come out, exact birthdays become birth years, and full addresses become regions.

It is a bit like blurring faces in a crowd photo. Blurring helps, but someone wearing a very unusual coat might still be recognized. That is why experts keep checking whether the remaining details still point to someone.

A concrete example

A hospital network wants to share two years of emergency department records with a university team studying waiting times. The privacy engineer removes names, record numbers and phone numbers, replaces patient IDs with keyed pseudonyms, converts dates of birth to five-year age bands and truncates postcodes to the first three characters.

A risk analysis then shows that 214 records still form groups smaller than five, mostly rare diagnoses in rural areas. The engineer generalizes those diagnoses to broader categories and suppresses 31 records, reaching k-anonymity with k of 5. The data is released under a data use agreement that forbids linkage, and the researchers complete their waiting time analysis without any report of re-identification.