Deep Indexed Active Learning for Matching Heterogeneous Entity Representations

Arjit Jain, Sunita Sarawagi, Prithviraj SenPVLDB 2021 · DOI

TL;DR

This paper introduces DIAL, a novel active learning framework for entity resolution (ER) that jointly learns both a matcher and a blocker. By integrating these components and leveraging powerful pre-trained language models (TPLMs) within an "Index-by-Committee" approach, DIAL significantly improves recall and overall F1 scores, especially in low-resource settings, without requiring domain-specific knowledge.

What Problem Does This Paper Address?

Entity Resolution (ER) is the task of identifying pairs of records that refer to the same real-world entity across different datasets. Traditional ER methods often require large amounts of labeled data upfront. Active Learning (AL) offers a solution by iteratively selecting the most informative unlabeled data points for human labeling, thus reducing the labeling effort. However, for ER, the search space of potential pairs grows quadratically, making AL computationally expensive. Existing AL approaches for ER often rely on a separate, pre-defined "blocking" step to prune the search space, which can lead to missed matches (low recall) and is not integrated with the learning process. This paper addresses the challenge of building a scalable and effective AL system for ER that can achieve high recall in blocking and high accuracy in matching, even with heterogeneous data and limited labels, by jointly learning and integrating these two crucial components.

Methods

DIAL integrates a Matcher and a Blocker within an active learning loop, both leveraging Transformer-based Pre-trained Language Models (TPLMs).

  • Matcher: Uses TPLMs in "paired mode," where concatenated record representations are fed into the model to predict the probability of a match. This is trained using a standard cross-entropy loss.
  • Blocker: Employs TPLMs in "single mode" to generate embeddings for individual records. To improve recall, DIAL introduces an Index-by-Committee (IBC) approach. This involves training a committee of N different encoders (each a transformed version of the base TPLM embedding) for each record. These multiple embeddings are then indexed (using FAISS) to efficiently retrieve candidate pairs.
  • Training the Blocker: A novel contrastive training objective is used for the blocker. Crucially, it's trained using "random non-duplicates" (pairs formed by randomly sampling records from the two lists) rather than the "difficult" labeled negatives from the AL loop. This is because difficult negatives, while good for the matcher, can hinder the blocker's goal of high recall by pushing similar entities too far apart in the embedding space.
  • Active Learning Loop: In each iteration, the matcher is trained, then the blocker's committee of embeddings is trained. Candidate pairs are generated by querying the IBC indices. An example selector (e.g., uncertainty sampling) then chooses a subset of these candidates for user labeling, which augments the training data for the next iteration.

Datasets

The paper evaluates DIAL on five widely used real-world datasets:

  • Product Datasets: Walmart-Amazon, Amazon-Google, Abt-Buy
  • Citation Datasets: DBLP-ACM, DBLP-Scholar
  • Multilingual Dataset: An English-Deutsch subset from a dataset originally proposed for machine translation of structured data.

Key Insights and Ideas

  • Joint Learning of Matcher and Blocker: The core idea is that the blocker and matcher should not be independent. Improvements in one should benefit the other, which is achieved by integrating them within the AL loop and sharing TPLM representations.
  • The Blocker's Need for "Easy" Negatives: Training the blocker with "difficult" labeled negatives (chosen by AL for their ambiguity) hurts recall. Using randomly generated "easy" non-duplicates for blocker training significantly improves recall.
  • Index-by-Committee for High Recall Blocking: Using multiple, diverse embeddings for each record (a committee) and indexing them is a novel way to cast a wider net, increasing the chances of retrieving all true duplicates.
  • Distinct Objectives for Matcher and Blocker: The paper highlights that the requirements for a matcher (high precision) and a blocker (high recall) are different, necessitating distinct training objectives and data choices for each.

Key Results

  • DIAL consistently outperforms baseline methods in terms of F1 scores across various datasets, showing significant gains (e.g., 6-20% on product datasets, 40-55% on textual datasets).
  • The IBC blocker achieves significantly higher recall for candidate set generation compared to other methods, often matching or exceeding hand-crafted rule-based blocking without requiring domain knowledge.
  • On the multilingual dataset, DIAL achieved a 7.3-point higher F1 score compared to existing practices.
  • The contrastive training objective for the blocker with random negatives significantly boosts recall (12-25% absolute gains on product datasets) and overall F1 scores.
  • The Index-by-Committee approach scales well, with testing time increasing only slightly with a larger committee size.

Limitations and Future Work

  • Computational Cost: While DIAL significantly improves efficiency by reducing the need for exhaustive pair comparisons, TPLM-based methods are still orders of magnitude slower than older, non-deep learning methods. However, the paper argues the accuracy gains justify this cost.
  • Parameter Tuning: The paper mentions that they did not tune hyper-parameters for the TPLM, suggesting potential for further improvement.
  • Future Work: The paper suggests that DIAL is compatible with various selection strategies and could be extended to explore more sophisticated committee designs and training objectives. The authors also note that while DIAL performs well on heterogeneous lists, further research could explore its effectiveness on even more complex data structures.

Summary updated

BibTeX
@article{jain2021deep,
  author = {Arjit Jain and Sunita Sarawagi and Prithviraj Sen},
  title = {{Deep Indexed Active Learning for Matching Heterogeneous Entity Representations}},
  journal = {Proc. VLDB Endow.},
  year = {2021},
  doi = {10.14778/3485450.3485455},
}
Figure