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.
| Step | What happens | Typical techniques |
|---|---|---|
| Standardization | Values are cleaned into comparable forms | Case folding, address parsing, name normalization |
| Blocking or indexing | Candidate pairs are limited to plausible ones | Shared postcode, phonetic keys, sorted neighborhood |
| Field comparison | Each attribute pair receives a similarity score | Jaro-Winkler, edit distance, date tolerance |
| Classification | Pairs are labeled match, non-match or possible | Thresholds, probabilistic weights, trained models |
| Clustering | Matched pairs are grouped into entities | Transitive closure, correlation clustering |
| Evaluation and review | Quality is measured and doubtful cases checked | Precision, recall, clerical review |
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).
| Approach | Decision basis | Strengths | Weaknesses |
|---|---|---|---|
| Deterministic | Explicit agreement rules | Transparent and fast | Brittle with errors and missing values |
| Probabilistic | Summed agreement weights | Tolerates noise, well understood | Assumes field independence |
| Supervised learning | Classifier trained on labeled pairs | Captures complex patterns | Needs costly labeled data |
| Deep and embedding methods | Learned text representations | Handles free text and variants | Harder to explain and audit |
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 compared with related processing tasks
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.
| Task | Main goal | Relation to record linkage |
|---|---|---|
| Deduplication | Remove repeated records in one dataset | Record linkage applied within a single source |
| Data cleaning | Correct errors and inconsistencies | A preparation step that improves match quality |
| Data enrichment | Add attributes from external sources | Often depends on linkage to attach the right data |
| Master data management | Maintain a trusted golden record | Uses linkage to decide which records to merge |
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.