Inferensys

Glossary

Entity Resolution

Entity resolution is the computational process of identifying, linking, and merging disparate records that refer to the same real-world entity across different data sources, a critical step for knowledge graph construction and deduplication.
Knowledge engineer constructing knowledge base on laptop, document hierarchy visible, casual office setup.
RECORD LINKAGE

What is Entity Resolution?

Entity resolution is the computational process of identifying, linking, and merging disparate records that refer to the same real-world entity across different data sources, a critical step for knowledge graph construction and deduplication.

Entity resolution, also known as record linkage or deduplication, is the algorithmic task of determining when two or more records correspond to the same underlying real-world entity despite variations in representation. It applies deterministic rule-based matching on unique identifiers or probabilistic scoring using string similarity metrics like Levenshtein distance and Jaccard index to evaluate the likelihood of a match between attributes such as names, addresses, and dates of birth.

In healthcare knowledge graphs, entity resolution is critical for creating a unified longitudinal patient record by linking fragmented data across disparate EHR systems, labs, and claims databases. Advanced implementations employ blocking techniques to reduce the quadratic comparison space and machine learning classifiers trained on labeled match/non-match pairs to resolve ambiguous identities, directly enabling accurate cohort analysis and clinical decision support.

IDENTITY MATCHING

Core Characteristics of Entity Resolution

The foundational computational techniques that enable systems to determine whether two or more disparate records refer to the same real-world entity, forming the backbone of deduplication and knowledge graph construction.

01

Deterministic Matching

A rule-based approach where records are linked only when specific fields match exactly or according to predefined logical conditions. This method relies on unique identifiers or exact field comparisons, such as matching on Social Security Number or a composite key of first name, last name, and date of birth. While highly precise, deterministic matching suffers from low recall when data quality is poor, as it cannot tolerate typographical errors, transpositions, or missing values. It is best suited for high-certainty use cases where false positives are unacceptable.

100%
Precision Target
Low
Fault Tolerance
02

Probabilistic Matching

A statistical framework, often based on the Fellegi-Sunter model, that calculates the likelihood that two records refer to the same entity by weighing the agreement and disagreement of multiple fields. Each field is assigned a weight based on its discriminatory power and error rate:

  • Agreement weight: Log-likelihood ratio if fields match
  • Disagreement weight: Log-likelihood ratio if fields differ These weights are summed to produce a composite score, which is compared against two thresholds to classify pairs as a match, non-match, or requiring clerical review.
Fellegi-Sunter
Statistical Model
3
Classification Outcomes
03

Blocking and Indexing

A performance optimization technique that partitions the dataset into mutually exclusive blocks to avoid the computationally prohibitive O(n²) comparison of all possible record pairs. Common blocking keys include phonetic encodings like Soundex or Metaphone, or n-gram-based locality-sensitive hashing. Only records within the same block are compared, dramatically reducing the search space. Sophisticated implementations use multi-pass blocking across different keys to mitigate the risk of missing true matches that fall into different blocks due to data errors.

O(n²)
Unblocked Complexity
Soundex
Classic Blocking Key
04

Machine Learning Classification

A modern approach that frames entity resolution as a binary classification problem. A training set of labeled record pairs is used to train a model—such as a random forest, gradient boosting machine, or deep neural network—to predict whether a pair is a match. Features include:

  • Field-level similarity scores (Jaro-Winkler, Levenshtein, cosine similarity)
  • Token-based features (TF-IDF, Jaccard index)
  • Structural features (relationship context in a graph) This method automatically learns complex, non-linear interaction effects between fields that are difficult to capture with hand-tuned probabilistic weights.
Binary
Classification Task
Jaro-Winkler
Key Similarity Metric
05

Clustering and Canonicalization

The final stage of entity resolution where pairwise match decisions are consolidated into connected components or clusters, each representing a single real-world entity. A canonical record (or 'golden record') is then synthesized for each cluster by selecting the most complete, accurate, or recent value for each attribute from among the constituent records. Algorithms like Union-Find or hierarchical agglomerative clustering are used to transitively resolve matches, ensuring that if record A matches B, and B matches C, then A, B, and C all belong to the same entity cluster.

Union-Find
Core Algorithm
Golden Record
Output Artifact
06

Privacy-Preserving Record Linkage

A specialized methodology for linking records across organizations without exposing sensitive personally identifiable information (PII). Techniques include:

  • Bloom filters: Encode identifiers into bit arrays for secure comparison
  • Homomorphic encryption: Allows computation on ciphertexts
  • Secure multi-party computation: Distributed protocols where no party reveals its private input This is critical in healthcare for linking patient records across providers or in government for fraud detection, enabling entity resolution while maintaining compliance with regulations like HIPAA and GDPR.
Bloom Filter
Common Encoding
HIPAA
Key Regulation
ENTITY RESOLUTION

Frequently Asked Questions

Clear, technically precise answers to the most common questions about the computational process of identifying, linking, and merging disparate records that refer to the same real-world entity.

Entity resolution (ER), also known as record linkage or deduplication, is the computational process of identifying and merging disparate data records that refer to the same real-world entity—such as a patient, organization, or product—across different data sources or within a single dataset. It works by first blocking records into candidate pairs to avoid an O(n²) comparison explosion, then applying similarity functions (e.g., Levenshtein distance, Jaccard index, or phonetic algorithms like Soundex) to compare attributes. These similarity scores are fed into a classification model—either deterministic rule-based systems or probabilistic machine learning models—that decides whether a pair is a match, non-match, or requires clerical review. Advanced implementations leverage active learning to iteratively refine matching thresholds and transitive closure to resolve multi-record chains where A matches B and B matches C, therefore A must match C.

Prasad Kumkar

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.