Auto-Configuring Entity Resolution Pipelines

Konstantinos Nikoletos, Vasilis Efthymiou, George Papadakis, Kostas StefanidisarXiv 2025

TL;DR

Tuning Entity Resolution (ER) pipelines is a notorious headache due to massive configuration spaces and high sensitivity to dataset characteristics. This paper introduces automated frameworks to configure state-of-the-art, language-model-based ER pipelines under two scenarios: when a partial ground truth is available (using advanced hyperparameter sampling) and when no ground truth exists at all (using meta-learning regression). The approaches achieve near-optimal matching accuracy while cutting configuration times by orders of magnitude.

What Problem Does This Paper Address?

Entity Resolution (ER)—the task of identifying different descriptions of the same real-world object across datasets—is critical for data cleaning and integration. Modern ER relies on multi-step pipelines involving text vectorization, indexing, querying, and clustering.

However, finding the right combination of parameters (e.g., which language model to use, how many nearest neighbors to retrieve, or which clustering algorithm to apply) is a massive challenge. As shown in the paper's grid search experiments, a pipeline can have nearly 40,000 possible configurations, and its performance is highly volatile. A poor configuration choice can drop the matching quality (F1-score) close to zero, while the optimal choice varies wildly from one dataset to another. Traditionally, finding the sweet spot required tedious, expert-driven trial and error or expensive ground-truth labeling.

Figure 1: The distribution of F1-scores for the end-to-end ER pipeline of Figure 2, when applying the 39,900 different configura- tions of Table 1 to the 10 real-world datasets of Table 2.

Methods

The authors evaluate an end-to-end ER pipeline that leverages pre-trained language models for vectorization, FAISS for efficient similarity indexing, and bipartite graph matching for clustering.

The end-to-end Entity Resolution pipeline considered in this work.

To automate its configuration, they tackle two distinct problems:

  1. Problem 1 (Ground Truth Available): When a subset of matching labels is available, they apply four black-box hyperparameter optimization (HPO) sampling strategies to navigate the parameter space efficiently: RandomSampler, TPESampler (Tree-structured Parzen Estimator), QMCSampler (Quasi Monte Carlo), and GPSampler (Gaussian Process-based Bayesian optimization).
  2. Problem 2 (No Ground Truth Available): When a target dataset has zero labels, they turn to meta-learning. They extract 12 generic dataset profiling features (such as total entities, schema complexity, missing information, and textuality) and combine them with 4 pipeline configuration features to create a 16-dimensional feature vector. They train a regression model (using Random Forest or AutoML) on historical data from other labeled datasets to predict the F1-score of configurations on the unseen target dataset.

Datasets

The authors evaluated their approaches using 11 established, real-world ER benchmark datasets spanning various domains (e.g., restaurants, products, movies, and bibliographic citations):

  • $D_1$ to $D_{10}$: Restaurants1-Restaurants2, Abt-Buy, Amazon-Google Products, DBLP-ACM, IMDB-TMDB, IMDB-TVDB, TMDB-TVDB, Walmart-Amazon, DBLP-Google Scholar, and IMDB-DBpedia.
  • $D_{11}$ (DBpedia): A massive, highly heterogeneous dataset containing over 1 million entities and 50,000 distinct attributes, used specifically to test the meta-learning model's ability to generalize to large-scale, unseen data.

Key Insights and Ideas

  • The Power of Guided Sampling: Instead of evaluating all 39,900 configurations, intelligent sampling algorithms can find near-optimal parameters in just a handful of trials.
  • Cross-Dataset Meta-Learning Works: Dataset characteristics (like text length and sparsity) correlate strongly enough with pipeline performance that a model can successfully guess the best configuration for a completely novel dataset without seeing a single local label.
  • Simplicity Wins in Meta-Learning: When training the regression model for the zero-ground-truth setting, a tuned Random Forest consistently outperformed complex AutoML ensembles in both execution speed and overall accuracy, proving that massive search spaces in meta-learning aren't always necessary.

Key Results

  • Speeding up HPO (Problem 1): Advanced samplers like GPSampler and TPESampler converged to near-optimal performance in roughly 30 trials instead of 39,900. This effectively reduced configuration times from hours or days down to mere seconds or minutes—a 2 to 3 order-of-magnitude speedup.
  • Zero-Ground-Truth Success (Problem 2): The Random Forest meta-learner successfully identified high-performing configurations on unseen datasets. On several benchmarks ($D_3, D_4, D_9$), it virtually matched the absolute best possible configuration found via exhaustive grid search.
  • Scalability: On the massive $D_{11}$ dataset, where a standard grid search is computationally impossible, the automated configuration method delivered a 1.6% improvement over the default baseline pipeline while completing its prediction phase in just one second.

Limitations and Future Work

While highly effective for text-heavy datasets, the language-model-based pipeline struggled on datasets containing very short text fields or specific entity types like person names (e.g., $D_5, D_7, D_{10}$), where traditional string-similarity measures still hold an advantage. Additionally, the meta-learning approach saw performance drops on datasets with extremely low duplicate ratios due to low precision.

For future work, the authors plan to expand the framework beyond hyperparameter tuning for a fixed pipeline. They aim to dynamically recommend the entire pipeline architecture itself (e.g., choosing between language models or traditional blocking methods) based on the target dataset's profile.

Summary updated

BibTeX
@misc{nikoletos2025auto,
  author = {Konstantinos Nikoletos and Vasilis Efthymiou and George Papadakis and Kostas Stefanidis},
  title = {{Auto-Configuring Entity Resolution Pipelines}},
  year = {2025},
  eprint = {2503.13226},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.13226},
}
Figure