Record linkage is the systematic process of identifying and linking records from one or more disparate data sources that refer to the same real-world entity, such as a customer, product, or location. It is a core precursor to data integration, deduplication, and the creation of a golden record. The process involves comparing attributes like names, addresses, and identifiers using techniques ranging from deterministic matching (exact rules) to probabilistic matching (statistical models) to assess similarity.
Glossary
Record Linkage

What is Record Linkage?
Record linkage is the foundational data engineering process for identifying records across one or more datasets that correspond to the same underlying real-world entity.
Effective record linkage is critical for building unified enterprise views, enabling accurate analytics, and powering downstream systems like knowledge graphs. It directly addresses the challenges of data silos, inconsistent formatting, and typographical errors. Key technical components include blocking to reduce comparison complexity, similarity scoring algorithms (e.g., Jaccard, Levenshtein), and methods like the Fellegi-Sunter model to calculate match probabilities and minimize linkage errors.
Core Techniques in Record Linkage
Record linkage identifies records across datasets that refer to the same real-world entity. These core techniques form the methodological backbone for deterministic and probabilistic matching systems.
Deterministic Matching
A rule-based method that declares two records a match if they exactly agree on a predefined set of attributes or match keys. This method is fast and transparent but inflexible.
- Exact Matching: Records match only if values are identical (e.g.,
customer_id = '12345'). - Rule-Based Logic: Uses Boolean logic (AND, OR) on multiple fields (e.g.,
(SSN matches) OR (FirstName AND LastName AND DOB match)). - Use Case: Ideal for high-quality, standardized data where precision is paramount and rules are clearly definable, such as merging patient records with unique national IDs.
Probabilistic Matching
A statistical method that calculates the likelihood that two records refer to the same entity based on the similarity of their attributes. It is more flexible than deterministic matching for handling dirty or incomplete data.
- Fellegi-Sunter Model: The foundational framework that computes match weights for each field based on agreement and disagreement probabilities.
- Similarity Scores: Uses algorithms like Jaccard Similarity for sets or Levenshtein Distance for strings to quantify likeness.
- Thresholding: A match is declared if the composite weight or probability score exceeds a predefined threshold. This balances precision and recall.
Blocking & Indexing
A pre-processing technique that partitions records into candidate groups, or blocks, to reduce the quadratic complexity of comparing all possible record pairs. This is a critical performance optimization.
- Standard Blocking: Groups records based on an exact value of a key field (e.g., all records with the same ZIP code).
- Sorted Neighborhood: Sorts records by a key and slides a window over the list, comparing only records within the window.
- Locality-Sensitive Hashing (LSH): An advanced method that hashes records so similar items map to the same bucket with high probability, enabling approximate nearest neighbor search.
Similarity & Distance Metrics
Algorithms that quantify the likeness between two strings, sets, or numerical vectors, forming the basis for comparison in probabilistic linkage.
- String Similarity:
- Levenshtein Distance: Counts character edits (insertions, deletions, substitutions).
- Jaro-Winkler: Favors strings with matching prefixes, good for names.
- Set Similarity:
- Jaccard Similarity: Ratio of intersection size to union size (e.g., for comparing tokenized addresses).
- Phonetic Encoding:
- Soundex, Metaphone: Convert words to codes based on pronunciation to match 'Smith' and 'Smythe'.
- Vector Similarity:
- Cosine Similarity: Measures the angle between text embeddings for semantic comparison.
Graph-Based Resolution
Models record linkage as a graph problem, where records are nodes and similarity scores define edges. This approach naturally handles transitive closure and community detection.
- Connected Components: All records connected by match edges (directly or indirectly) are inferred to belong to the same entity cluster.
- Clustering Algorithms: Methods like Correlation Clustering can be applied to partition the graph into entity clusters by maximizing agreements and minimizing disagreements.
- Advantage: Provides a global, consistent view of all matches, resolving chains like
Record A ≈ B ≈ Cinto a single entity, even if A and C are not directly similar.
Machine Learning Approaches
Supervised and semi-supervised models that learn a matching function from labeled examples of matched and non-matched record pairs.
- Feature-Based Models: Use engineered similarity features (e.g., name similarity, address distance) to train classifiers like Random Forests or Gradient Boosting Machines.
- Deep Learning Models:
- Siamese Networks: Twin neural networks that learn a joint embedding space where matching records are placed close together.
- Transformer-Based Models: Use pre-trained language models to generate contextual embeddings for each record field for nuanced comparison.
- Active Learning: Iteratively queries a human to label the most uncertain candidate pairs, dramatically reducing the manual labeling burden.
How Record Linkage Works: A Standard Pipeline
Record linkage, a core task in entity resolution, follows a systematic pipeline to identify records across datasets that refer to the same real-world entity. This process is foundational for data integration, deduplication, and building clean master data.
The standard pipeline begins with data preprocessing, where raw records are cleaned, standardized, and parsed into consistent fields. A critical blocking or indexing step then reduces the quadratic comparison space by grouping records into candidate blocks based on a shared key, such as a phonetic code or token. This is followed by the pairwise comparison of records within each block, where similarity scores are calculated for attributes using metrics like Levenshtein distance or Jaccard similarity.
The computed similarities are then evaluated by a classification model—either rule-based (deterministic matching) or statistical (probabilistic matching using the Fellegi-Sunter model)—to label pairs as matches, non-matches, or potential matches for review. Finally, a clustering step, often using connected components, groups all records determined to be co-referent into a single entity cluster, from which a consolidated golden record can be created.
Deterministic vs. Probabilistic Matching
A comparison of the two primary methodologies for identifying records that refer to the same real-world entity.
| Feature / Characteristic | Deterministic Matching | Probabilistic Matching |
|---|---|---|
Core Mechanism | Exact, rule-based comparison using match keys. | Statistical model calculating a composite match probability. |
Rule Flexibility | Rigid; records either match or don't based on exact criteria. | Flexible; uses weighted similarities and thresholds. |
Data Quality Requirement | Requires high-quality, standardized, and clean data. | Tolerant of typos, missing values, and format variations. |
Handling of Ambiguity | Poor; fails on non-exact matches, leading to missed links (false negatives). | Good; quantifies uncertainty, balancing false positives and negatives. |
Implementation Complexity | Low; logic is straightforward IF-THEN rules or SQL joins. | High; requires tuning weights, thresholds, and often a training phase. |
Scalability for Large Datasets | High; efficient due to exact indexing on match keys (e.g., hashing). | Moderate to Low; often requires blocking to reduce pairwise comparisons, but scoring is more compute-intensive. |
Human Interpretability | High; matching logic is transparent and easily auditable. | Moderate to Low; model-derived weights and probabilities can be a 'black box'. |
Common Use Case | Linking records with strong, unique identifiers (e.g., national ID, hashed email). | Linking messy, real-world records (e.g., customer databases, public health records). |
Theoretical Foundation | Set theory and database joins. | Fellegi-Sunter model, Bayesian inference, or machine learning. |
Common Use Cases for Record Linkage
Record linkage is a foundational data engineering process with critical applications across industries. These use cases demonstrate how linking disparate records to unified entities creates operational intelligence, ensures compliance, and powers advanced analytics.
Customer Data Integration (CDI)
Record linkage is the core mechanism for creating a Single Customer View (SCV) or 360-degree customer profile. It unifies records from CRM, e-commerce, support tickets, and marketing platforms to resolve a single customer's identity across all touchpoints.
- Key Benefit: Enables personalized marketing, accurate lifetime value calculation, and consistent customer service.
- Technical Challenge: Must handle variations in name spelling, address formats, and email addresses across systems.
- Example: Linking
[email protected]from Salesforce,J. Doefrom a support log, andJohn A. Doefrom a web purchase to one canonical customer entity.
Healthcare Master Patient Index (MPI)
In healthcare, a Master Patient Index (MPI) uses record linkage to ensure each patient has a unique identifier across hospitals, clinics, and labs. This is critical for patient safety and coordinated care.
- Key Benefit: Prevents duplicate records that could lead to medication errors, redundant tests, and fragmented medical histories.
- Technical Challenge: Must operate under strict privacy regulations (HIPAA) and match on limited, often inconsistent identifiers (name, date of birth, partial SSN).
- Example: Linking emergency room visit records from one facility with a patient's primary care physician records from another to provide a complete health history.
Financial Fraud Detection & AML
Banks and fintechs use record linkage for Anti-Money Laundering (AML) and fraud detection by linking transactions, accounts, and entities across global networks to identify suspicious patterns.
- Key Benefit: Uncovers complex fraud rings and money laundering schemes that rely on synthetic identities or layered transactions across multiple accounts.
- Technical Challenge: Must perform probabilistic matching on intentionally obfuscated data (e.g., slight name variations, shell companies) in real-time or near-real-time.
- Example: Linking a
Robert Smithin New York with aBob Smythin London who share a common device ID, IP address, and beneficiary account, flagging them for investigation.
Supply Chain & Logistics Intelligence
Linking records across vendors, shipments, and inventory systems creates end-to-end visibility in supply chains. It resolves entities like parts, suppliers, and shipments across disparate ERP and logistics platforms.
- Key Benefit: Enables precise tracking, predicts delays, and optimizes inventory by understanding the true flow of materials.
- Technical Challenge: Requires matching on non-standardized part numbers, supplier names, and bill-of-lading references across international formats.
- Example: Linking a component with manufacturer part number
ABC-123to the same component listed asABC123in an internal catalog and123-ABCin a supplier's invoice to track lead times accurately.
Scientific & Public Health Research
Researchers use record linkage to combine datasets from different studies, clinical trials, or public registries without violating individual privacy, enabling longitudinal studies and more robust statistical analysis.
- Key Benefit: Increases statistical power by creating larger, more comprehensive cohorts from multiple data sources.
- Technical Challenge: Often employs privacy-preserving techniques like deterministic hashing or encrypted identifiers to perform linkage without exposing Personally Identifiable Information (PII).
- Example: Linking de-identified cancer registry data with mortality records to study long-term survival rates of different treatment protocols.
Data Warehousing & Business Intelligence
Record linkage is a critical step in the Extract, Transform, Load (ETL) process for building a coherent data warehouse. It deduplicates and aligns records from multiple source systems into clean, conformed dimensions (like Customer or Product).
- Key Benefit: Ensures the accuracy of downstream reports, dashboards, and analytics by providing a single source of truth for key business entities.
- Technical Challenge: Involves large-scale batch processing and the creation of golden records through survivorship rules to define the authoritative value for each attribute.
- Example: Before loading sales data into a warehouse, linking product records from SAP and Oracle systems to a unified
dim_producttable so revenue can be correctly attributed.
Frequently Asked Questions
Record linkage is a foundational data engineering task for identifying records across datasets that refer to the same real-world entity. These questions address its core mechanisms, applications, and relationship to related fields like entity resolution and deduplication.
Record linkage is the process of identifying and linking records from one or more datasets that correspond to the same real-world entity, such as a person, product, or company. It works by comparing attributes (e.g., name, address, date of birth) between record pairs using similarity metrics and decision models to determine if they are a match.
The core workflow involves:
- Data Preprocessing: Standardizing and cleaning data (e.g., normalizing case, removing punctuation).
- Blocking/Indexing: Reducing the comparison space by grouping records into candidate blocks based on a shared key (e.g., postal code, phonetic code).
- Comparison/Scoring: Computing similarity scores for attributes of record pairs within blocks using functions like Levenshtein distance for strings or Jaccard similarity for sets.
- Classification: Applying a rule-based (deterministic matching) or statistical (probabilistic matching) model to classify pairs as matches, non-matches, or potential matches requiring review.
- Clustering: Applying transitive closure to group all linked records into connected components, representing a single entity.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Record linkage is a core component of entity resolution. These related terms define the specific techniques, models, and evaluation metrics used to identify and merge records representing the same entity.
Deduplication
Deduplication is the process of identifying and removing duplicate records that refer to the same entity within a single dataset. It is a specialized form of record linkage focused on internal data hygiene.
- Scope: Operates on a single source to eliminate internal redundancy.
- Goal: Create a clean, unique list of entities (e.g., customer list, product catalog).
- Techniques: Often uses deterministic rules (exact match on ID) or fuzzy matching on attributes like name and address.
Entity Disambiguation
Entity disambiguation is the task of determining which real-world entity a textual mention refers to, distinguishing it from other entities with similar or identical names. It is critical for linking unstructured text to structured knowledge.
- Context: Primarily applied to natural language text (documents, web pages).
- Challenge: Resolves ambiguities like 'Apple' (company vs. fruit) or 'Michael Jordan' (basketball player vs. professor).
- Output: Links a text mention to a unique identifier in a knowledge base (e.g., Wikidata QID).
Fuzzy Matching
Fuzzy matching is a technique for comparing strings or records to find matches that are approximately, but not exactly, identical. It accounts for variations like typos, abbreviations, and formatting differences.
- Algorithms: Uses metrics like Levenshtein distance (edit distance) and Jaccard similarity (set overlap).
- Applications: Essential for matching names ('Jon' vs 'John'), addresses, and product descriptions from disparate sources.
- Implementation: Often a preprocessing step before applying more complex probabilistic models.
Deterministic vs. Probabilistic Matching
These are two fundamental methodologies for declaring record matches.
- Deterministic Matching: Uses exact, rule-based logic. Records match if they agree on predefined match keys (e.g.,
Social Security NumberOR(FirstName, LastName, DateOfBirth)). It is simple and transparent but inflexible with dirty data. - Probabilistic Matching: Uses statistical models to calculate a match probability. The Fellegi-Sunter model is the classic framework, weighting attribute agreements based on their frequency and uniqueness. It handles noise and missing values but requires parameter estimation.
Blocking
Blocking is a scalability technique that partitions records into candidate groups, or blocks, to reduce the quadratic number of pairwise comparisons in record linkage.
- Mechanism: Records are placed into the same block if they share a common blocking key (e.g., first three letters of a surname, postal code).
- Trade-off: Only records within the same block are compared, sacrificing some recall for massive computational efficiency.
- Advanced Methods: Locality-Sensitive Hashing (LSH) creates probabilistic blocks where similar records hash to the same bucket with high probability.
Precision & Recall
Precision and Recall are the primary metrics for evaluating the performance of a record linkage system, derived from a confusion matrix of matches.
- Precision (Correctness): The fraction of declared matches that are true matches.
Precision = True Positives / (True Positives + False Positives) - Recall (Completeness): The fraction of all true matches in the data that were successfully found.
Recall = True Positives / (True Positives + False Negatives) - Trade-off: Increasing match sensitivity improves recall but often lowers precision, and vice-versa. The F1-score (harmonic mean) balances both.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us