Mining Entity Synonyms with Efficient Neural Set Generation

Jiaming Shen, Ruiliang Lyu, Xiang Ren, Michelle Vanni, Brian M. Sadler, Jiawei Han

Abstract

Identifying entity synonyms is crucial for various NLP tasks, including web search and knowledge graph construction. Traditional methods often rely on pairwise comparisons or multi-stage clustering, which suffer from error propagation and high computational costs. We present SynSetMine, a novel framework that extracts entity synonym sets from raw text by leveraging distant supervision. By employing a permutation-invariant neural classifier, SynSetMine models the holistic semantics of sets, achieving superior accuracy and significant speedups over existing baselines.

Introduction

Entity synonym discovery—grouping terms like {"USA", "United States", "U.S."}—is fundamental for modern information retrieval. Existing approaches typically fall into two categories: ranking-based methods that treat candidates independently, and two-phase clustering that separates pair detection from set formation. These methods often fail to capture the collective coherence of a set and are prone to error propagation.

SynSetMine addresses these challenges by treating synonym discovery as a set generation problem. It leverages the "holistic" meaning of a set, ensuring that the inclusion of a new term is based on its compatibility with the entire group rather than just individual members.

The SynSetMine Framework

The SynSetMine pipeline consists of three primary stages: distant supervision acquisition, classifier training, and greedy set generation.

The SynSetMine framework: from distant supervision to set generation.

1. Distant Supervision Acquisition

To avoid the need for expensive manual labeling, SynSetMine uses an entity linker to map mentions in a text corpus to a Knowledge Base (KB) such as Freebase or UMLS. Mentions that map to the same KB entity ID are grouped into training synonym sets. This provides a large-scale, albeit potentially noisy, source of supervision.

2. Learning a Set-Instance Classifier

The core of the framework is a neural classifier $f(S, t)$ that predicts the probability of a term $t$ belonging to a set $S$.

Detailed architecture of the set-instance classifier $f$, showing the aggregation of term representations to achieve permutation invariance.

To ensure the model is permutation-invariant (i.e., the order of elements in $S$ does not matter), the architecture uses a summation-based aggregation inspired by DeepSets. The model computes a quality score for the set $S$ and compares it to the score of $S \cup \{t\}$. This holistic scoring allows the model to capture the internal consistency of the synonym group.

3. Efficient Set Generation

SynSetMine employs a greedy, one-pass algorithm for discovery. It iterates through the vocabulary, using the trained classifier to either assign a term to the most compatible existing set or start a new set if no match exceeds a probability threshold $\theta$. This approach avoids the $O(N^2)$ complexity of pairwise methods, making it highly scalable.

Experimental Evaluation

The authors evaluated SynSetMine on three real-world datasets: Wiki (100k articles), NYT (119k news articles), and PubMed (1.5M abstracts).

Key Results

  • Accuracy: SynSetMine consistently outperformed both unsupervised (e.g., K-means) and supervised (e.g., SetExpan) baselines. On the Wiki dataset, it achieved an Adjusted Rand Index (ARI) of 56.43%, a significant improvement over the best baseline's 44.78%.
  • Efficiency: The framework demonstrated dramatic speed improvements. On the PubMed dataset, SynSetMine's prediction phase took only 1.84 seconds on a GPU, compared to over 4,143 seconds for the SetExpan baseline.
  • Robustness: The model's performance remained stable across a range of probability thresholds (0.4 to 0.6), indicating low sensitivity to hyperparameter tuning.

Discussion and Future Work

SynSetMine's success highlights the importance of modeling sets holistically. By capturing the "coherence" of a group, the model can make more informed decisions about synonymy. Furthermore, the use of summation for permutation invariance and a greedy generation algorithm provides a powerful combination of accuracy and efficiency.

While effective, the framework currently depends on the quality of the initial entity linker. Future work will explore end-to-end training where the classifier and generation algorithm are optimized simultaneously to further reduce the impact of noise in distant supervision.

Summary updated

BibTeX
@inproceedings{shen2019mining,
  author = {Jiaming Shen and Ruiliang Lyu and Xiang Ren and Michelle Vanni and Brian M. Sadler and Jiawei Han},
  title = {{Mining Entity Synonyms with Efficient Neural Set Generation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.3301249},
}
Figure