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.
Glossary
Entity Resolution

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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
Entity resolution is a foundational preprocessing step that enables higher-order semantic tasks. The following concepts form the interconnected toolkit required to build robust, production-grade record linkage and deduplication pipelines.
Record Linkage
The statistical process of identifying records across different datasets that refer to the same entity when a common unique identifier does not exist. Unlike simple deduplication, record linkage focuses on joining disparate sources.
- Deterministic linkage: Exact matching on a pre-defined set of rules or keys.
- Probabilistic linkage: Uses statistical weights (e.g., Fellegi-Sunter model) to calculate match likelihood based on agreement/disagreement patterns.
- Blocking: A performance optimization that groups similar records into candidate blocks to avoid O(n²) comparisons.
Entity Linking
The NLP task of grounding an ambiguous textual mention (e.g., 'Apple') to its canonical entry in a knowledge base (e.g., Apple Inc. vs. the fruit). This is distinct from entity resolution, which merges records; linking connects text to a structured ID.
- Mention Detection: First identifying the text span of an entity.
- Candidate Generation: Retrieving possible KB entries via alias tables or dense retrieval.
- Disambiguation: Using context vectors to rank candidates, often with BERT-based cross-encoders.
Concept Normalization
The clinical NLP process of mapping diverse surface forms to a single canonical concept identifier in a standardized ontology like SNOMED CT or RxNorm. It resolves lexical variation (e.g., 'heart attack' → 22298006 |Myocardial infarction|).
- Handles synonymy (different names, same concept) and polysemy (same name, different concepts).
- Often uses dense vector similarity search over pre-computed concept embeddings.
- Critical for aggregating patient cohorts across different EHR systems.
Ontology Alignment
The process of discovering semantic correspondences (mappings) between concepts in different ontologies. This enables interoperability when entity resolution must operate across systems using different underlying schemas.
- Equivalence: owl:sameAs or exact match.
- Subsumption: One concept is broader/narrower than another.
- Alignment APIs: Tools like the Ontology Alignment Evaluation Initiative (OAEI) provide benchmarks for automated matchers.
Semantic Triples
The atomic unit of an RDF knowledge graph, structured as (Subject, Predicate, Object). After entity resolution merges duplicate nodes, the resulting unified entity becomes the subject or object in these factual assertions.
- Example: http://dbpedia.org/resource/Marie_Curie http://dbpedia.org/ontology/birthPlace http://dbpedia.org/resource/Warsaw.
- Resolution quality directly impacts the accuracy of graph queries like SPARQL.
SHACL Validation
The Shapes Constraint Language is a W3C standard for validating RDF graphs against a set of conditions. After entity resolution merges records, SHACL ensures the resulting unified entities conform to the expected schema.
- Validates cardinality (e.g., a patient must have exactly one date of birth).
- Checks data type conformance and unique identifier constraints.
- Acts as a quality gate before resolved data enters production knowledge graphs.

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