Incremental Entity Resolution from Linked Documents

Pankaj Malhotra, Puneet Agarwal, Gautam ShroffarXiv 2014

TL;DR

This paper introduces ERLD (Entity Resolution from Linked Documents), an approach that combines traditional text similarity with inter-document references (e.g., a passport application mentioning a driver's license number) to accurately cluster records belonging to the same individual or entity. Crucially, the authors present an incremental variant that allows new documents to be processed efficiently without re-resolving the entire database, dramatically reducing computational overhead.

What Problem Does This Paper Address?

Entity Resolution (ER)—the task of identifying and merging disparate records that refer to the same real-world entity—is a foundational challenge in data engineering. Think of government databases where a single person might have separate records for a passport, a bank account, and a driver's license.

Traditional ER methods rely heavily on attribute similarity (matching names, addresses, or dates of birth). However, this breaks down when data contains typographical errors, missing fields, or legitimate changes (like a surname change after marriage). Furthermore, comparing every pair of documents scales quadratically ($O(N^2)$), making it computationally impossible for large datasets. While "blocking" techniques are typically used to group similar documents together to limit comparisons, they still struggle when textual similarity is low.

Additionally, real-world data arrives continuously. Re-running a full batch ER process every time new documents arrive is highly inefficient. The authors tackle both challenges: leveraging explicit/implicit document links to improve matching accuracy and designing an architecture for efficient incremental updates.

Methods

The proposed ERLD framework consists of four major stages:

  1. Document Traversal (DT): The algorithm treats documents as nodes in a graph, where references between documents (like a "Proof ID" field) act as directed edges. It performs Downstream Traversal (following explicit references via primary keys) and Upstream Traversal (using an inverted index to find documents that implicitly or explicitly point back to the current document). This step builds a "traversal set" of connected documents.
  2. Locality Sensitive Hashing (LSH): To ensure scalability, MinHash-based LSH is used to cluster textually similar documents into blocks (buckets). Crucially, a document's traversal set (from step 1) is bundled into the same bucket, ensuring that linked documents are evaluated together even if they share zero textual similarity.
  3. Iterative Match-Merge (IMM): Within each bucket, the authors apply the standard R-Swoosh algorithm. This iteratively compares pairs of documents using a predefined match function and merges matching records into a single, enriched "partial entity" document.
  4. Connected Components (CC): Because LSH is probabilistic and documents can map to multiple buckets, the partial entities are consolidated. By treating documents as nodes and partial-entity groupings as edges, the algorithm finds the connected components of an undirected graph to produce the final resolved entities.
Figure 3: Entity Resolution from Linked Documents (ERLD)

Incremental ERLD

When a new batch of documents arrives, Incremental ERLD avoids touching the entire historical database. It updates the inverted index, runs Document Traversal and LSH on the new documents, and pulls only the relevant old resolved entities that share a bucket ID or a traversal link. IMM and CC are then run strictly on this localized subset, updating the entity-document map dynamically.

Datasets

The authors evaluated their approach on two distinct datasets:

  • Synthetic Residents' Data: A custom-generated dataset modeling 100,000 original "seed" entities across 5 domains (Voter Card, PAN Card, Driving License, Bank Account, and Phone Application), resulting in 580,363 total documents and 209,501 true entities. It deliberately includes typographical errors, missing attributes, and randomized explicit references to mimic real-world data imperfections.
  • Companies' Data: A real-world dataset containing 669,245 company records. For evaluation, a subset of 3,801 distinct documents (comprising 2,196 manually labeled matching pairs) was isolated. This dataset did not contain inter-document references and was primarily used to validate the LSH+IMM+CC pipeline against an exhaustive all-pairs comparison using a machine-learned SVM classifier.

Key Insights and Ideas

  • References as Bridges: Inter-document references act as a vital bridge when textual similarity fails. For instance, if a person's name changes across two documents, they won't land in the same LSH bucket based on text. However, if Document A explicitly references an ID in Document B, Document Traversal forces them into the same block.
  • Information Enrichment via Merging: Merging documents progressively uncovers more data. If Document A matches Document B, their merged profile might contain a phone number from A and a date of birth from B. This newly enriched profile can subsequently trigger matches with a Document C that previously wouldn't have matched either A or B individually.
  • Localized Incremental Updates: The "aha" moment for the incremental variant is that new documents only affect a small neighborhood of the existing database. By indexing old results via LSH bucket IDs, the system can surgically extract and update only the historical entities that are directly impacted.

Key Results

  • Improved Recall: On the Synthetic Residents' dataset, incorporating document references via Traversal yielded a 2% increase in recall (from 0.96 to 0.98) without any drop in precision (remaining at 1.00).
  • Massive Speedups: The batch ERLD pipeline demonstrated excellent scalability. While a standard pairwise IMM approach took roughly 21 hours to resolve just 70,291 documents, ERLD processed the entire 580,363-document dataset in under 4 hours.
  • Incremental Efficiency: When adding a new batch of 29,114 documents to a pre-resolved set of 551,249 documents, Incremental ERLD took only 1 hour and 20 minutes. This saved over 2 hours compared to running the full batch ERLD on the combined dataset, while delivering identical precision and recall.

Limitations and Future Work

  • Inter-Entity Relationships as Noise: The current algorithm assumes that a document reference implies the documents belong to the same entity. In reality, references can denote relationships between different entities (e.g., a child's document listing a parent's passport number). Currently, the authors treat these inter-entity relationships as noise.
  • Schema Matching Dependency: The framework assumes that schemas across different databases have already been aligned (e.g., knowing which field corresponds to "Name").
  • Direct References Only: The traversal model assumes that inter-document references are direct, rather than navigating complex, multi-hop indirect paths through intermediate nodes.

Summary updated

BibTeX
@misc{malhotra2014incremental,
  author = {Pankaj Malhotra and Puneet Agarwal and Gautam Shroff},
  title = {{Incremental Entity Resolution from Linked Documents}},
  year = {2014},
  eprint = {1402.4417},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1402.4417},
}
Figure