Bipartite Graph Matching Algorithms for Clean-Clean Entity Resolution: An Empirical Evaluation

George Papadakis, Vasilis Efthymiou, Emmanouil Thanos, Oktie Hassanzadeh

Abstract

Entity Resolution (ER) is a critical task in data integration, aimed at identifying records that represent the same real-world entity. This paper focuses on "Clean-Clean" Entity Resolution (CCER), where two duplicate-free datasets are merged under a strict 1-to-1 matching constraint. We present the first comprehensive empirical evaluation of eight bipartite graph matching algorithms. By testing these algorithms across 700 similarity graph variations and 10 real-world datasets, we demonstrate that traditional heuristic-based methods like Unique Mapping Clustering (UMC) and Király’s Clustering (KRC) provide a superior balance of accuracy and efficiency, frequently outperforming state-of-the-art deep learning models.

Introduction: The Challenge of Clean-Clean ER

Clean-Clean Entity Resolution (CCER) assumes that each input dataset is internally consistent and free of duplicates. Consequently, the goal is to find a 1-to-1 mapping between records in Source A and Source B. While significant research has focused on calculating similarity scores between records, the final step—selecting which edges to keep in the resulting bipartite graph—is often overlooked.

Figure 1: Illustration of (a) a similarity graph and (b-d) different matching outcomes under a 1-to-1 constraint.

As shown in Figure 1, given a set of weighted potential matches (a), different algorithms will produce different clusters (b-d). The challenge lies in efficiently identifying the set of edges that maximizes matching quality while adhering to the 1-to-1 constraint.

Methodology

This study evaluates eight distinct bipartite matching algorithms categorized by their underlying logic:

  1. Simple Baselines: Connected Components (CNC).
  2. Heuristic/Greedy Approaches: Unique Mapping Clustering (UMC), Best Match Clustering (BMC), and Ricochet Sequential Rippling (RSR).
  3. Optimization-based: Row Column Assignment (RCA) and Best Assignment Heuristic (BAH).
  4. Stable Marriage Adaptations: Exact Clustering (EXC) and Király’s Clustering (KRC).

To ensure a rigorous evaluation, these algorithms were tested against a massive variety of similarity graphs generated using different text representations (n-grams, embeddings like fastText and ALBERT) and similarity measures (Jaccard, Cosine, Levenshtein), resulting in over 700 experimental scenarios.

Experimental Setup and Datasets

The evaluation utilized 10 established real-world datasets spanning various domains:

  • E-commerce: Abt-Buy, Amazon-Google, Walmart-Amazon.
  • Bibliographic: DBLP-ACM, DBLP-Google Scholar.
  • Media/General: Restaurants, IMDb-TMDb, IMDb-TVDB, and IMDb-DBpedia.

These datasets vary in "duplicate density," categorized as Balanced (most entities have a match), One-sided (one source is significantly larger), or Scarce (few matches exist).

Key Results and Insights

Effectiveness and Efficiency

Király’s Clustering (KRC) achieved the highest average F-Measure (0.619), followed closely by UMC (0.618). In terms of speed, CNC was the fastest, capable of processing millions of edges in milliseconds, while BAH was the slowest due to its iterative, stochastic nature. Most algorithms demonstrated linear scalability, finishing within minutes even on datasets with hundreds of millions of comparisons.

Robustness Across Scenarios

The performance of matching algorithms is highly dependent on the dataset's characteristics. UMC proved most effective for balanced datasets, while KRC and EXC performed best when matches were scarce or one-sided. Overall, UMC and KRC were the most robust across different input graph types.

Traditional Algorithms vs. Deep Learning

A significant finding of this study is that well-tuned traditional graph matching pipelines can rival or exceed deep learning models. When compared against DITTO, a state-of-the-art transformer-based ER model, UMC outperformed it on several datasets. This suggests that for CCER, the computational overhead of deep learning may not always be justified by the marginal (or non-existent) gains in accuracy.

Conclusion

This empirical study highlights that the choice of graph matching algorithm is a crucial, yet often neglected, component of the Entity Resolution pipeline. For most Clean-Clean scenarios, UMC and KRC offer the best performance. Future work will explore meta-learning systems to automatically select the optimal matching algorithm based on the characteristics of the input similarity graph.

Summary updated

BibTeX
@inproceedings{papadakis2022bipartite,
  author = {George Papadakis and Vasilis Efthymiou and Emmanouil Thanos and Oktie Hassanzadeh},
  title = {{Bipartite Graph Matching Algorithms for Clean-Clean Entity Resolution: An Empirical Evaluation}},
  booktitle = {EDBT},
  year = {2022},
  url = {https://openreview.net/forum?id=viG-oVZR3LQ},
}
Figure