Improving Entity Resolution with Global Constraints

Jim Gemmell, Benjamin I. P. Rubinstein, Ashok K. ChandraarXiv 2011

Introduction

Entity resolution (ER)—the task of linking records that refer to the same real-world entity across different databases—is a foundational challenge in data integration. For instance, a search engine must determine that "The Matrix" on IMDb is the same entity as "The Matrix" on Netflix to aggregate reviews, metadata, and streaming links effectively.

Figure 1: Entity resolution in practice: aggregating movie data from multiple sources like IMDb and Netflix.

Traditionally, ER relies on highly tuned, domain-specific scoring functions to avoid false positives, such as matching a film with its sequel. Most existing approaches treat ER as an unconstrained or many-to-many problem, evaluating record pairs in isolation. This paper identifies a missed opportunity: curated databases naturally enforce a one-to-one relationship because webmasters actively avoid duplicate listings. By enforcing a global one-to-one constraint during the resolution phase, matching accuracy can be drastically improved without complex feature engineering.

Methodology

The authors utilize a standard ER pipeline for initial scoring: blocking obvious non-matches, computing feature-level scores (title, year, runtime, etc.), and using a Logistic Regression model to output match probabilities. The core innovation lies in the resolution phase, where they compare five distinct algorithms:

  • Many-Many: The standard unconstrained baseline where any pair above a threshold is a match.
  • First Choice: A one-to-many baseline where a record matches only its single highest-scoring partner.
  • Mutual First Choice: A one-to-one approach where two records match only if they are each other's top choice.
  • Greedy: A one-to-one approach that sorts all pairs by score and matches them iteratively, skipping records already assigned.
  • Max Weight: A one-to-one approach using exact bipartite graph matching (e.g., the Hungarian algorithm) to maximize the total score of all matches.

Experimental Results

The algorithms were tested on movie catalogs from IMDb (>500k entities) and Netflix (>75k entities), using human-labeled subsets for evaluation. The results demonstrate that structural constraints often outperform complex feature engineering.

Figure 2: Precision-Recall curves comparing unconstrained (Many-Many) vs. constrained matching algorithms on a random sample of movie data.

On a random sample of movies approximating the "long tail" of search queries, one-to-one algorithms like Greedy and Mutual First Choice achieved approximately 90% precision and recall at the curve's knee. In contrast, the unconstrained Many-Many baseline managed only 69% precision at similar recall levels. Furthermore, the Greedy algorithm identified 156 errors in existing human-labeled Freebase data and found nearly 30,000 additional valid matches, increasing recall by a factor of three.

The Max Weight Paradox

Intuitively, exact max-weight graph matching should yield the best results. However, the authors discovered it can fail pathologically. Because the algorithm maximizes the sum of all scores, two mediocre incorrect matches (e.g., matching two feature films to each other's "Bonus Material" editions) can sometimes outweigh one perfect match and one zero-weight non-match. Consequently, the computationally cheaper Greedy algorithm consistently outperformed the more expensive Max Weight approach in real-world edge cases.

Conclusion

This research demonstrates that leveraging the inherent socio-economic properties of curated data—specifically the avoidance of duplicates—can significantly enhance entity resolution. While the method assumes databases are strictly deduplicated, its robustness allows models trained on one pair of sites (IMDb/Netflix) to perform well on others (AMG/iTunes) without retraining. Future work may explore simultaneous scoring and resolution to further refine these global constraints.

Summary updated

BibTeX
@misc{gemmell2011improving,
  author = {Jim Gemmell and Benjamin I. P. Rubinstein and Ashok K. Chandra},
  title = {{Improving Entity Resolution with Global Constraints}},
  year = {2011},
  eprint = {1108.6016},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1108.6016},
}
Figure