Entity Matching (EM)—the process of identifying whether two distinct data records refer to the same real-world entity—is a cornerstone of modern data integration. While EM has been studied for decades in the context of healthcare, e-commerce, and national security, its fairness implications have remained largely unexplored. This research, presented at PVLDB 2023, provides the first comprehensive audit of EM through the lens of algorithmic fairness, revealing how common data conditions can lead to systemic biases.
The Challenge of Fairness in Entity Matching
Traditional fairness research typically focuses on balanced classification tasks. However, EM is inherently a "needle in a haystack" problem characterized by extreme class imbalance; the vast majority of record pairs are non-matches. In this context, standard metrics like Accuracy Parity can be misleading. A matcher could achieve 99% accuracy by simply predicting "no match" for every pair, yet it would be both useless and potentially discriminatory.
In EM, the stakes of errors are high. A false positive (wrongly linking records) or a false negative (missing a valid link) can have life-altering consequences, such as an individual being wrongly flagged on a no-fly list or being excluded from critical social services.
Experimental Framework
The authors developed a robust framework to audit 13 different EM matchers, ranging from traditional rule-based and machine learning systems (e.g., Random Forests, SVMs) to state-of-the-art neural models like Ditto and DeepMatcher. The evaluation utilized two distinct "lenses":
- Single Fairness: Assessing whether a matcher treats a specific demographic group (e.g., a specific gender or race) fairly.
- Pairwise Fairness: Assessing whether the matcher is fair when comparing pairs of groups (e.g., determining if it is harder to match a record from Group A with one from Group B).
These matchers were tested against 11 fairness measures, with a particular focus on True Positive Rate (TPR) Parity and Positive Predictive Value (PPV) Parity, which are more effective than accuracy at revealing hidden biases in imbalanced datasets.
Benchmarking with Social and Product Data
The study utilized eight datasets, including six standard benchmarks from the Magellan and WDC repositories (covering music, products, and citations). To specifically test for social biases, the authors introduced two new benchmarks:
- FacultyMatch: Based on CSRankings, designed to test for name similarity bias.
- NoFlyCompas: Based on the COMPAS dataset, designed to test for representation bias.
Key Insights
The "Name" Proxy and Representation Bias
Non-neural models often rely heavily on string similarity. The research found that if a demographic group has a higher degree of internal name similarity (e.g., certain ethnic naming conventions), these models are significantly more likely to generate false positives. Furthermore, representation bias in training data—such as the over-representation of certain groups in a "no-fly" list—leads to higher False Discovery Rates (FDR) for those groups. In the NoFlyCompas experiment, the FDR for African-Americans was up to 280% higher than for Caucasians across various neural matchers.
The Brittleness of Neural Matchers
While neural matchers (often based on Transformers) excel at handling "dirty" or unstructured textual data, they are remarkably sensitive to similarity thresholds. A minor adjustment to the threshold (e.g., moving from 0.6 to 0.65) can cause a model to swing from being relatively fair to highly discriminatory across multiple demographic groups.
Accuracy vs. Fairness Trade-offs
There is no one-size-fits-all solution. While neural matchers are generally more accurate on complex textual data, non-neural matchers like Random Forests often perform more fairly and accurately on highly structured data. This suggests that the choice of model must be carefully aligned with the specific data characteristics and fairness requirements of the application.
Future Directions
A significant hurdle in EM fairness research is the lack of real-world social datasets due to privacy concerns regarding Personally Identifiable Information (PII). Moving forward, the authors suggest several avenues for improvement:
- Ensemble Methods: Designing systems that balance fairness across diverse groups.
- Data Augmentation: Mitigating representation bias during the pre-training phase.
- Causal Fairness: Investigating whether a matching decision would change if a sensitive attribute (like race) were different, requiring more complex causal modeling.
By providing a "rules of thumb" guide and a comprehensive auditing framework, this work lays the foundation for building more equitable and transparent entity matching systems.
Summary updated