Abstract
This paper explores combinatorial optimization for problems of max-weight graph matching on multi-partite graphs, which arise in integrating multiple data sources. Entity resolution-the data integration problem of performing noisy joins on structured data-typically proceeds by first hashing each record into zero or more blocks, scoring pairs of records that are co-blocked for similarity, and then matching pairs of sufficient similarity. In the most common case of matching two sources, it is often desirable for the final matching to be one-to-one (a record may be matched with at most one other); members of the database and statistical record linkage communities accomplish such matchings in the final stage by weighted bipartite graph matching on similarity scores. Such matchings are intuitively appealing: they leverage a natural global property of many real-world entity stores-that of being nearly deduped-and are known to provide significant improvements to precision and recall. Unfortunately unlike the bipartite case, exact max-weight matching on multi-partite graphs is known to be NP-hard. Our two-fold algorithmic contributions approximate multi-partite max-weight matching: our first algorithm borrows optimization techniques common to Bayesian probabilistic inference; our second is a greedy approximation algorithm. In addition to a theoretical guarantee on the latter, we present comparisons on a real-world ER problem from Bing significantly larger than typically found in the literature, publication data, and on a series of synthetic problems. Our results quantify significant improvements due to exploiting multiple sources, which are made possible by global one-to-one constraints linking otherwise independent matching sub-problems. We also discover that our algorithms are complementary: one being much more robust under noise, and the other being simple to implement and very fast to run.
Introduction
Entity Resolution (ER) is a fundamental task in data integration, involving the identification of records across disparate databases that refer to the same real-world entity. A common characteristic of high-quality data sources is that they are "nearly deduped," implying a one-to-one constraint: a single record in Source A should correspond to at most one record in Source B. While bipartite matching (between two sources) is computationally efficient, many modern applications require integrating three or more sources simultaneously. This multi-partite matching problem is NP-hard, often leading practitioners to rely on suboptimal sequential pairwise matching. This paper introduces two principled algorithms designed to approximate the optimal global match across multiple sources by leveraging these global constraints.
Methodology: Approximating Multi-Partite Matching
The authors propose two distinct algorithmic strategies to tackle the complexity of multi-partite max-weight matching.
1. Message-Passing Algorithm (MPEM)
The first approach treats the matching problem as inference on a factor graph. In this model, nodes represent potential "cliques" (sets of records from different sources that might be the same entity), and factors enforce the one-to-one constraints.
To overcome the exponential complexity typically associated with message-passing in such graphs, the authors adapt techniques from Affinity Propagation. They utilize a stepwise approximation method, akin to Gibbs sampling, to efficiently compute messages. This allows the algorithm to scale to millions of records while maintaining the "principled" nature of probabilistic inference.
2. Greedy Approximation Algorithm
The second approach is a greedy algorithm that sorts all potential record pairs by their similarity scores. It accepts matches sequentially, provided they do not violate the one-to-one constraint. Crucially, the authors provide a theoretical proof using duality showing that this greedy approach is a 2-approximation, guaranteeing that the total similarity weight of its matches is at least half of the global optimum.
Experimental Evaluation
The algorithms were tested on three distinct types of data to evaluate performance, scalability, and robustness.
Datasets
- Bing Movies: A massive real-world dataset comprising millions of entities from six distinct sources, including IMDb, AMG, and Netflix. This dataset is significantly larger than standard ER benchmarks.
- Publication Data: A real-world set matching records between DBLP, ACM, and Google Scholar.
- Synthetic Data: Data generated with varying levels of feature noise to stress-test the algorithms' limits.
Key Results
The experiments yielded several critical insights:
- The Power of Constraints: One-to-one constraints act as a global noise filter. High similarity scores caused by naming flukes are often rejected because the involved records are better "claimed" by more certain matches elsewhere in the graph.
- The "Third Source" Benefit: Adding a third data source improves the matching accuracy between the first two. The additional constraints help resolve ambiguities that cannot be settled with only two sources.
- Performance and Scalability: On the Bing dataset, the Message-Passing algorithm processed half a million entities in 1-2 hours. While the Greedy algorithm is faster to implement, Message-Passing proved significantly more robust as data noise increased, achieving a total matching weight 10% higher than Greedy on six sources.
Conclusion
Integrating multiple data sources requires moving beyond simple pairwise matching. By formalizing the problem as multi-partite graph matching and applying principled optimization techniques, we can leverage global constraints to significantly improve data quality. The proposed Message-Passing and Greedy algorithms offer a trade-off between noise robustness and implementation simplicity, providing scalable solutions for massive-scale entity resolution.
Summary updated