Inferensys

Glossary

Entity Resolution

The computational process of identifying and merging disparate records that refer to the same real-world entity, such as a company or individual, across multiple datasets.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
DATA ENGINEERING

What is Entity Resolution?

Entity resolution is the computational process of identifying and merging disparate records that refer to the same real-world entity, such as a company or individual, across multiple datasets.

Entity resolution (also known as record linkage or deduplication) systematically determines whether two or more data records represent the same underlying real-world object. It applies deterministic matching on unique identifiers or probabilistic scoring using fuzzy logic on attributes like names and addresses to resolve inconsistencies caused by typos, abbreviations, or missing data.

In alternative data engineering, entity resolution is critical for mapping disparate vendor identifiers to a single master security or corporate entity. This process prevents double-counting in quantitative models and ensures that sentiment signals from news feeds are correctly attributed to the specific legal entity generating the alpha.

CORE MECHANISMS

Key Characteristics of Entity Resolution

Entity resolution is a multi-stage computational pipeline that transforms raw, heterogeneous records into a unified, deduplicated view of real-world entities. The following characteristics define a production-grade system.

01

Deterministic vs. Probabilistic Matching

The foundational logic for comparing records falls into two categories:

  • Deterministic Matching: Relies on exact or rule-based agreement on a unique identifier (e.g., CUSIP, LEI). It is highly precise but fragile against data entry errors.
  • Probabilistic Matching: Uses statistical models (like Fellegi-Sunter) to calculate a match probability based on the agreement and disagreement weights of multiple fields (e.g., name, address, date of birth). This handles noise and typos effectively.
  • Hybrid Approaches: Production systems often cascade deterministic rules for high-confidence blocking before applying computationally expensive probabilistic models.
02

Blocking and Indexing

Comparing every record against every other record is an O(n²) computational impossibility at scale. Blocking partitions the dataset into mutually exclusive buckets (blocks) using a blocking key (e.g., first 3 letters of name + ZIP code). Only records within the same block are compared.

  • Sorted Neighborhood Method: Sorts records by a key and slides a window to compare nearby records.
  • Canopy Clustering: Uses cheap, approximate distance metrics to create overlapping clusters for comparison.
  • Locality-Sensitive Hashing (LSH): Hashes similar input items into the same buckets with high probability, enabling efficient approximate nearest neighbor search on high-dimensional text embeddings.
03

Feature Engineering and String Similarity

Raw text must be transformed into comparison-ready features. Key techniques include:

  • Phonetic Encoding: Algorithms like Soundex, Metaphone, and Double Metaphone index names by their pronunciation to catch spelling variations (e.g., 'Smith' vs. 'Smyth').
  • String Metrics: Levenshtein distance (edit distance), Jaro-Winkler (optimized for name matching), and Cosine Similarity on TF-IDF vectors quantify textual similarity.
  • Tokenization and Standardization: Address parsing, acronym normalization ('Intl' to 'International'), and unit conversion ensure semantic equivalence before comparison.
04

Clustering and Canonicalization

Pairwise match decisions must be resolved into connected components of records representing a single entity. This is a graph clustering problem.

  • Transitive Closure: If record A matches B, and B matches C, then A, B, and C form a single cluster.
  • Connected Components: An efficient graph algorithm to find all disjoint subgraphs in the match graph.
  • Survivorship and Canonical Record Creation: Once a cluster is formed, a 'golden record' must be synthesized by selecting the most complete, recent, and trustworthy attribute values from across the cluster members using configurable survivorship rules.
05

Master Data Management (MDM) Integration

Entity resolution is the algorithmic engine within a broader Master Data Management strategy. The MDM system governs the lifecycle of the golden record.

  • Registry Style: Links records but leaves source data untouched, providing a unified view.
  • Consolidation Style: Physically merges and stores the best version of the master data in a central hub.
  • Coexistence Style: A hybrid where the golden record is stored centrally, and updates are synchronized back to source systems. The chosen style dictates the latency and authority of the resolved entities.
06

Performance Metrics and Thresholding

Model efficacy is measured by precision and recall, balanced by a match threshold.

  • Precision: Of all pairs predicted as a match, what fraction are true matches? A low precision leads to false merges, which are costly to undo.
  • Recall: Of all true matches, what fraction did the model find? Low recall misses fraud or risk exposure.
  • Match Threshold Tuning: The probability score above which a pair is declared a match. Adjusting this threshold trades off precision against recall based on the business cost of a false positive vs. a false negative. A human review queue is often established for pairs in a 'probable' score band.
ENTITY RESOLUTION

Frequently Asked Questions

Clear, technically precise answers to the most common questions about identifying and merging disparate records that refer to the same real-world entity across multiple datasets.

Entity resolution (ER), also known as record linkage or deduplication, is the computational process of identifying and merging disparate records that refer to the same real-world entity—such as a company, individual, or product—across multiple datasets. The process works by first blocking records into candidate pairs to avoid an intractable O(n²) comparison, then applying similarity functions (e.g., Levenshtein distance, Jaccard index, TF-IDF cosine similarity) to compare attributes like names, addresses, and identifiers. Pairs exceeding a learned threshold are classified as matches. Modern approaches leverage deep learning to generate embeddings that capture semantic similarity, enabling fuzzy matching across inconsistent spellings, abbreviations, and transliterations. The final stage clusters matched records and merges their attributes using survivorship rules to create a single, canonical golden record.

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.