Quasi-identifier

On this page 7

A quasi-identifier is an attribute that does not identify a person on its own but can single out an individual when it is combined with other attributes or linked to an external dataset. In privacy engineering, quasi-identifiers such as date of birth, sex and postal code are the main reason why removing names and account numbers is not sufficient to anonymize data.

The concept sits at the center of statistical disclosure control and of formal privacy models such as k-anonymity, l-diversity and t-closeness. Any team that publishes, shares or analyzes records about people must first decide which fields act as quasi-identifiers, because that decision determines which attributes need generalization, suppression or noise before release.

How quasi-identifiers enable linkage

Quasi-identifiers enable re-identification through linkage attacks, in which an adversary joins a released dataset with an auxiliary source that contains names. If both sources share the same combination of attribute values, the join reveals the identity attached to the supposedly anonymous record.

The danger comes from uniqueness in combination. A single attribute such as sex splits a population into two large groups, but every added attribute multiplies the number of possible combinations. Well-known research on United States census data estimated that roughly 87 percent of residents were unique on five-digit ZIP code, sex and full date of birth. Exact figures depend on population density and attribute precision, yet the pattern holds in every country studied.

The table below separates the attribute classes that privacy engineers distinguish when they classify a dataset.

Attribute classDefinitionTypical examplesUsual treatment
Direct identifierNames or locates a person aloneName, email, national ID numberRemove or pseudonymize
Quasi-identifierIdentifies only in combinationBirth date, postal code, sex, job titleGeneralize, suppress or perturb
Sensitive attributeThe value the adversary wants to learnDiagnosis, salary, religionProtect with l-diversity or t-closeness
Non-identifying attributeNeither identifying nor sensitiveRecord format version, batch numberUsually kept unchanged
Attribute classes in a released dataset

Common types of quasi-identifiers

Quasi-identifiers fall into several families, and any attribute an adversary could plausibly know belongs on the list. The test is not whether a field looks personal, but whether it is observable, stable and present in other datasets.

FamilyExamplesWhere adversaries find matching data
DemographicBirth date, age, sex, ethnicityVoter rolls, social media profiles
GeographicPostal code, city, home coordinatesProperty registers, address directories
TemporalAdmission date, purchase timestampNews reports, personal acquaintances
OccupationalEmployer, job title, salary bandProfessional networking profiles
Behavioral tracesLocation trails, movie ratings, search termsPublic reviews, check-in services
TechnicalIP address, device fingerprint, user agentServer logs, advertising networks
Quasi-identifier families and their linkage sources

Behavioral and high-dimensional data deserve special caution. Studies of mobile phone traces have shown that four spatio-temporal points are often enough to identify most individuals in a large dataset. In such data almost every column can act as a quasi-identifier, which makes classical generalization techniques impractical.

Quasi-identifiers and formal privacy models

Quasi-identifiers are the input on which syntactic privacy models operate. These models define a privacy guarantee in terms of how records look after transformation, and each one assumes that the quasi-identifier set has been chosen correctly.

ModelRequirement on quasi-identifiersMain weakness
k-anonymityEach combination appears at least k timesHomogeneous sensitive values leak
l-diversityEach group holds l distinct sensitive valuesSkewed distributions still leak
t-closenessGroup distribution stays within distance t of the wholeHigh utility loss on small data
Differential privacyNo quasi-identifier selection neededRequires noise and a privacy budget
How privacy models use the quasi-identifier set

The contrast with differential privacy is significant. Syntactic models protect only against adversaries whose knowledge is limited to the declared quasi-identifiers, whereas differential privacy bounds the influence of any single record regardless of what the adversary knows. This is why many practitioners treat quasi-identifier analysis as a necessary first step but not a complete defense.

Identifying and treating quasi-identifiers in practice

A disciplined process begins with an adversary model: who might attack the release, what external data they could access and what they would gain. Fields are then classified, and the risk of the current combination is measured before any transformation is applied.

  1. List every field and mark direct identifiers, quasi-identifiers and sensitive attributes.
  2. Compute equivalence class sizes for the chosen quasi-identifier combination.
  3. Estimate re-identification risk for prosecutor, journalist and marketer scenarios.
  4. Apply transformations, then measure both residual risk and loss of analytical utility.
  5. Document the decisions in the data protection impact assessment.

The choice of technique depends on the attribute type and on what analysts need to keep. The following decision table summarizes common options.

TechniqueExample transformationBest suited forUtility cost
GeneralizationBirth date becomes birth yearHierarchical attributesModerate
SuppressionRare combinations are removedSmall numbers of outliersLow to high
Top and bottom codingAges above 89 become 90 or olderNumeric tailsLow
MicroaggregationValues replaced by group averagesContinuous variablesModerate
Noise additionRandom offset added to coordinatesLocation and timestampsDepends on scale
Treatment options for quasi-identifiers

Regulation shapes these choices. The HIPAA Safe Harbor method in the United States names specific quasi-identifiers, such as dates more precise than the year and postal codes below three digits for small areas. Under the GDPR, data that remain identifiable through quasi-identifiers are still personal data, even after direct identifiers are removed.

Limitations and common mistakes

The concept has a structural weakness: the quasi-identifier set is a guess about the adversary. If a release omits an attribute from the set that an attacker can actually observe, every guarantee built on that set fails silently.

  • Ignoring free-text fields, which often contain ages, places and employer names.
  • Treating each release separately, although multiple releases can be combined to narrow groups.
  • Assuming that hashing a quasi-identifier protects it, when hashed values still link records exactly.
  • Overlooking rare values, such as an unusual profession in a small town.
  • Forgetting that new public datasets can turn harmless fields into quasi-identifiers over time.

Because the threat landscape changes, quasi-identifier classifications should be reviewed whenever data are re-released or new external sources become available.

In everyday language

A quasi-identifier is a small detail about a person that seems harmless alone but becomes revealing when combined with other details. Saying that someone was born in March tells you little. Saying that a woman was born on 14 March 1981 and lives in a particular village may point to exactly one person.

Think of it like a puzzle. One piece shows almost nothing, but a few pieces together reveal the picture. That is why deleting names from a spreadsheet does not make it anonymous if birth dates, postal codes and similar details remain.

Seen in the real world

A regional hospital network wants to share two years of emergency admissions with a university research team. The extract contains no names or patient numbers, but it still includes full birth date, five-digit postal code, sex, admission date and diagnosis.

The privacy engineer runs a uniqueness analysis and finds that over 60 percent of records are unique on birth date, postal code and sex alone. The team generalizes birth dates to five-year age bands, truncates postal codes to three digits and shifts admission dates to the week. After transformation, every combination of quasi-identifiers appears at least 10 times, and rare diagnoses in small areas are suppressed.

The researchers can still study seasonal trends and age patterns, and the hospital documents a substantially reduced re-identification risk in its impact assessment before the data are transferred.