Machamp: A Generalized Entity Matching Benchmark

Jin Wang, Yuliang Li, Wataru Hirota

Abstract

Entity Matching (EM) has traditionally focused on structured, schema-aligned tables. However, real-world data is often heterogeneous, spanning relational tables, semi-structured JSON, and unstructured text. We introduce Machamp, a benchmark for Generalized Entity Matching (GEM) designed to evaluate models in these complex scenarios. Our evaluation of seven diverse approaches reveals that while pre-trained language models excel at context understanding, structural mismatches remain a significant hurdle, with performance dropping sharply on tasks involving unstructured text or complex hierarchies.

Introduction

Entity Matching (EM) is a fundamental task in data integration, identifying whether two distinct records refer to the same real-world entity. Historically, research has treated EM as a "table-to-table" problem where schemas are pre-aligned. In practice, data is rarely so uniform. Integration often requires matching structured records against semi-structured API outputs or raw text descriptions. Existing benchmarks fail to capture this "structural heterogeneity," ignoring the challenge of understanding information across disparate formats. Machamp addresses this gap by formalizing Generalized Entity Matching (GEM) and providing a rigorous testing ground for models to perform implicit schema matching.

Methods

The Machamp framework defines GEM as matching between three primary data types: Relational (tables), Semi-structured (JSON), and Textual (unstructured prose). To enable modern machine learning models to process these formats, the authors employed a Serialization strategy:

  • Tagging: Structured data is converted into token sequences using special tags such as [COL] for attribute names and [VAL] for values.
  • Recursive Flattening: For nested JSON structures, tags are applied recursively to preserve hierarchical relationships within a linear string.

The benchmark evaluates seven models, including traditional machine learning (SVM, Random Forest) and deep learning architectures like DeepER, Deep Matcher, and Ditto (a BERT-based model).

Datasets

Machamp comprises seven datasets derived from established EM sources (e.g., Magellan, WDC), modified to represent various mismatch scenarios. These range from relational tables with differing schemas to matching JSON objects against unstructured text.

Summary of the seven datasets in the Machamp benchmark, detailing row counts, attribute counts, and labeled ground truth splits.

The datasets include:

  1. Rel-HETER: Relational tables with heterogeneous schemas.
  2. Semi-HOMO: Homogeneous JSON structures.
  3. Semi-HETER: Heterogeneous JSON structures (e.g., nested vs. flat).
  4. Semi-Rel: JSON vs. Relational tables.
  5. Semi-Text (w/c): JSON vs. Unstructured text (Watches and Computers).
  6. Rel-Text: Relational tables vs. Unstructured text.

Results and Discussion

Experimental results indicate a clear hierarchy in model performance. Pre-trained Language Models (PLMs) like BERT, utilized in the Ditto and Transformer baselines, significantly outperform traditional methods. Their ability to capture semantic context allows them to navigate structural messiness more effectively than "bag-of-words" approaches like SVM or Random Forest.

Performance comparison (Precision, Recall, F1-score) of various machine learning and deep learning models across the Machamp datasets.

Key findings include:

  • The Content Gap: The Rel-Text task proved the most challenging. The narrow similarity margin between matches and non-matches in unstructured text makes it difficult for models to distinguish true entities.
  • Performance Degradation: While simple relational tasks (Rel-HETER) are nearly solved (F1 scores near 1.0), performance plummets on complex tasks. On three of the seven datasets, even the best-performing models failed to reach a 70% F1 score.
  • Implicit Alignment: Machamp forces models to learn implicit schema mappings—for instance, identifying that a "Job-Type" attribute in JSON corresponds to a specific phrase within a text paragraph.

Conclusion

Machamp highlights the limitations of current EM approaches when faced with structural heterogeneity. While serialization and PLMs provide a strong baseline, the significant performance drop on complex datasets suggests a need for more sophisticated, structure-aware models. Future research should move beyond simple flattening of data toward architectures that can explicitly reason about hierarchies and heterogeneous schemas to achieve robust entity matching in real-world environments.

Summary updated

BibTeX
@inproceedings{wang2021machamp,
  author = {Jin Wang and Yuliang Li and Wataru Hirota},
  title = {{Machamp: A Generalized Entity Matching Benchmark}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2021},
  url = {https://openreview.net/forum?id=RthwRJBUha},
}
Figure