Record linkage

Also known as: entity resolution

On this page 7

Record linkage is the process of identifying records, within one dataset or across several, that refer to the same real-world entity, such as a person, household, business or product, when no reliable shared identifier exists. In data processing, it is a core integration step that makes it possible to combine sources, count entities correctly and build analyses on consolidated rather than fragmented data.

The task is also widely called entity resolution, and in some communities record matching or data matching. Its difficulty comes from the fact that the same entity is recorded with typos, abbreviations, missing fields, outdated addresses and format differences, so exact comparison of values misses many true matches.

How a record linkage pipeline works

A record linkage pipeline transforms raw records into clusters of records per entity through a sequence of well-defined steps. Each step trades accuracy against computing cost, and errors made early propagate to every later stage.

StepWhat happensTypical techniques
StandardizationValues are cleaned into comparable formsCase folding, address parsing, name normalization
Blocking or indexingCandidate pairs are limited to plausible onesShared postcode, phonetic keys, sorted neighborhood
Field comparisonEach attribute pair receives a similarity scoreJaro-Winkler, edit distance, date tolerance
ClassificationPairs are labeled match, non-match or possibleThresholds, probabilistic weights, trained models
ClusteringMatched pairs are grouped into entitiesTransitive closure, correlation clustering
Evaluation and reviewQuality is measured and doubtful cases checkedPrecision, recall, clerical review
Main steps of a record linkage pipeline

Blocking is essential because comparing every record with every other record grows quadratically. Two files of one million records each would produce one trillion candidate pairs, while good blocking reduces this to a few million comparisons, at the price of missing true matches that fall into different blocks.

Deterministic, probabilistic and machine learning approaches

Record linkage methods fall into three main families, which differ in how they decide whether two records match. Many production systems combine them, using strict rules for clear cases and statistical or learned models for the rest.

Deterministic linkage applies explicit rules, for example an exact match on national identifier or on name plus date of birth. Probabilistic linkage follows the Fellegi-Sunter model, which assigns each field agreement a weight based on two probabilities: how often the field agrees among true matches (the m-probability) and how often it agrees by chance among non-matches (the u-probability).

ApproachDecision basisStrengthsWeaknesses
DeterministicExplicit agreement rulesTransparent and fastBrittle with errors and missing values
ProbabilisticSummed agreement weightsTolerates noise, well understoodAssumes field independence
Supervised learningClassifier trained on labeled pairsCaptures complex patternsNeeds costly labeled data
Deep and embedding methodsLearned text representationsHandles free text and variantsHarder to explain and audit
Comparison of the main linkage approaches

Agreement on a rare surname carries more evidence than agreement on a common one, so mature systems use frequency-based weights. Unsupervised estimation of m and u values with the expectation-maximization algorithm allows probabilistic linkage without labeled training data.

Record linkage is closely related to several other data processing tasks, and the terms are often used loosely. The distinctions below help clarify scope when planning a project.

TaskMain goalRelation to record linkage
DeduplicationRemove repeated records in one datasetRecord linkage applied within a single source
Data cleaningCorrect errors and inconsistenciesA preparation step that improves match quality
Data enrichmentAdd attributes from external sourcesOften depends on linkage to attach the right data
Master data managementMaintain a trusted golden recordUses linkage to decide which records to merge
How record linkage differs from neighboring tasks

A practical boundary is that linkage decides identity, while merging and survivorship rules decide which attribute values to keep. Keeping these concerns separate makes it possible to revise matching decisions without losing the original source records.

Measuring linkage quality

Linkage quality is measured by counting false matches and missed matches, because both types of error distort downstream results. A false match merges two different people, while a missed match splits one person into several.

  • Precision is the share of declared matches that are true matches.
  • Recall is the share of true matches that the process found.
  • F-measure combines both, although it can hide an imbalance between them.
  • Pairs completeness measures how many true matches survive blocking.

The right balance depends on use. In medical or criminal records, a false match can cause serious harm, so thresholds favor precision and uncertain pairs go to clerical review. In marketing analytics, moderate errors are often acceptable in exchange for higher recall. Ground truth for measurement usually comes from a manually reviewed sample of pairs.

Privacy, bias and operational risks

Record linkage raises privacy concerns because combining datasets can reveal more about a person than any single source does. Where data owners cannot share identifiers, privacy-preserving record linkage encodes fields, for example with Bloom filter encodings or keyed hashes, so that matching occurs without exposing raw names or birth dates.

Linkage error is rarely random. Names transliterated from other alphabets, frequent address changes and naming conventions that differ across cultures lower match rates for some groups, which can bias statistics built on linked data. Teams should measure error rates by subgroup, document thresholds and version every linkage run so that results can be reproduced and audited.

Explained without jargon

Imagine two guest lists from different parties. One says Jon Smith, born 3 May 1980, and the other says Jonathan Smyth, 03/05/1980. A person can guess these are probably the same guest, but a computer comparing the exact text would not.

Record linkage is the method that teaches a computer to make that guess carefully. It compares names, dates and addresses, gives points for each similarity and decides whether two entries describe the same person. Some cases remain unclear, and those are checked by people.

A typical use case

A regional health authority wants to study hospital readmissions, but patient data sits in three separate systems: emergency care, inpatient admissions and outpatient clinics. There is no shared patient number across all three, and names and addresses contain frequent spelling variations.

The analytics team standardizes names and postcodes, blocks candidate pairs by birth year and postcode district, and applies a probabilistic model with frequency-based weights for surnames. Pairs above the upper threshold are linked automatically, pairs below the lower threshold are rejected, and about 2% of pairs go to clerical review. A reviewed sample of 1,000 pairs shows precision near 99% and recall near 95%, which gives the authority enough confidence to publish readmission rates by hospital.