NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Automatic Entity Labeling through Explanation Techniques (Discussion Paper)

Silvana Castano, Alfio Ferrara, Donatella Firmani, Jerin George Mathew, Stefano MontanelliSEBD 2021

Abstract

Entity Resolution (ER) identifies records referring to the same real-world entity. While automated, the resulting clusters often require manual verification, a task hindered by the lack of concise, human-readable labels. We present E2L (Entity to Labels), a framework that repurposes black-box explanation techniques to automatically generate discriminative labels for ER clusters. By identifying the most influential terms in a classification model's decision, E2L produces synthetic labels that facilitate rapid human inspection. Evaluation on the Alaska camera benchmark shows that E2L-Bert achieves a precision of 0.92, significantly outperforming statistical and summarization-based baselines.

1. Introduction

Entity Resolution (ER) is a fundamental data integration task, particularly when merging product listings from diverse web sources. Modern machine learning models have achieved high accuracy in ER, yet production systems still necessitate human-in-the-loop verification to prevent erroneous merges. For instance, a reviewer must ensure that a Canon EOS 7D cluster does not inadvertently include records for a Nikon D7000.

The primary bottleneck in this verification process is the scale of the data; clusters can contain hundreds of records, making manual inspection "gruesome" and time-consuming. There is a critical need for tools that can automatically generate concise, accurate labels for these clusters. Current solutions often rely on simple word frequencies, which are susceptible to data skew, or require significant human effort.

2. The E2L Framework

The proposed E2L (Entity to Labels) framework automates the labeling process by identifying the most "discriminative" terms that define an entity. Unlike frequency-based methods, E2L focuses on terms that distinguish one entity from others in the dataset.

The E2L (Entity to Labels) workflow, illustrating the pipeline from entity resolution to final label composition.

The E2L methodology consists of three main stages:

  1. Classification Model: A classifier (e.g., Bi-LSTM or DistilBERT) is trained on the initial ER results to learn the associations between record descriptions and their assigned Entity IDs.
  2. Candidate Labels via Explanation: This stage leverages LIME (Local Interpretable Model-agnostic Explanations), a tool typically used for model debugging. E2L utilizes LIME to identify the specific tokens in a record that most heavily influenced the classifier's decision. These high-influence tokens are treated as candidate labels.
  3. Label Composition: The system aggregates these influential tokens across all records in a cluster, ranks them by their relevance score, and concatenates the top $k$ terms to form a final human-readable label.
A detailed view of the candidate label generation process, showing relevance scores for specific entity tokens.

To ensure scalability for large-scale datasets, E2L incorporates record sampling (using k-means clustering) and token sampling (using term frequency) to reduce the computational load before explanation processing.

3. Evaluation

The researchers evaluated E2L using the Alaska Benchmark, which consists of 2,171 camera descriptions from various web sources. The study focused on the 20 largest entities, ranging from 53 to 184 records each. Manually curated camera names (brand + model) served as the ground truth for measuring label accuracy.

3.1 Key Results

The performance of E2L-Bert (DistilBERT) and E2L-Glove (Bi-LSTM) was compared against two baselines: TF-IDF (statistical) and BART (neural summarization).

  • Precision at Full Coverage ($P^*_m$): E2L-Bert achieved a score of 0.92, significantly outperforming TF-IDF (0.84) and BART (0.71).
  • Perfect Retrieval: E2L-Bert correctly retrieved the exact "gold" label for 85% of the entities (17 out of 20), compared to 60% for TF-IDF and 35% for BART.
  • Qualitative Analysis: While BART often produced overly wordy descriptions and TF-IDF included noisy, irrelevant tokens (e.g., "ebay" or serial numbers), E2L produced synthetic, highly specific labels that were more useful for rapid human verification.

4. Discussion and Conclusion

A significant contribution of this work is the novel application of model interpretability tools for feature extraction rather than just debugging. By focusing on discriminative words, E2L effectively highlights "merge errors." If two distinct products are incorrectly clustered, the explanation model identifies salient terms from both, creating a label that clearly indicates the mismatch to a human reviewer.

Despite its success, E2L's performance remains dependent on the underlying classifier's accuracy. Furthermore, the computational overhead of LIME presents challenges for very large datasets, though sampling techniques provide a partial mitigation. Future work will investigate alternative explanation methods like SHAP or Anchor and explore modeling ER as a binary matching problem to enhance scalability and label precision.

Summary updated

BibTeX
@inproceedings{castano2021automatic,
  author = {Silvana Castano and Alfio Ferrara and Donatella Firmani and Jerin George Mathew and Stefano Montanelli},
  title = {{Automatic Entity Labeling through Explanation Techniques (Discussion Paper)}},
  booktitle = {SEBD},
  year = {2021},
}
Figure