SetExpander: End-to-end Term Set Expansion Based on Multi-Context Term Embeddings

Jonathan Mamou, Oren Pereg, Moshe Wasserblat, Ido Dagan, Yoav Goldberg, Alon Eirew, Yael Green, Shira Guskin, Peter Izsak, Daniel Korat

Abstract: Jonathan Mamou et al. present SetExpander, an end-to-end system for term set expansion (TSE) that leverages multi-context term embeddings and a human-in-the-loop interface. The system is designed to grow a small seed list into a comprehensive semantic category by capturing functional similarity across diverse linguistic contexts.

Introduction

Term Set Expansion (TSE) involves identifying all members of a semantic category within a large corpus given only a few seed examples (e.g., expanding {"Python", "Java"} to a full list of programming languages). This task is notoriously difficult due to the distinction between topical similarity (words related to the same subject) and functional similarity (words belonging to the same category). Furthermore, the desired granularity of the expansion depends on the specific seed set provided. SetExpander addresses these challenges through a robust, iterative workflow and specialized embedding models.

System Architecture and Methodology

SetExpander utilizes a multi-stage, iterative process to refine term sets. The workflow begins with corpus selection and model training, followed by an interactive loop where users select seeds, expand them, and validate the results.

The iterative SetExpander workflow, from corpus selection to human-in-the-loop validation and re-expansion.

A core innovation of SetExpander is the use of multi-context embeddings. Rather than relying on a single "bag-of-words" model, the system trains multiple embedding models using the word2vecf toolkit to capture different linguistic nuances.

Linguistic context types used by SetExpander to capture diverse semantic relationships.

These contexts include:

  • Linear bag-of-words: Standard neighborhood context.
  • Explicit lists: Identifying terms that appear together in lists (e.g., "Experience in A, B, and C").
  • Syntactic dependencies: Looking at specific grammatical relationships (e.g., subject-verb pairs).
  • Symmetric/Unary patterns: Using specific phrases like "the U.S. state of [Alaska]."

To combine these views, a Multilayer Perceptron (MLP) binary classifier uses similarity scores from each model as features to predict category membership. At expansion time, the system calculates the "centroid" of the seed terms' embeddings to capture the specific granularity of the user-defined category. Additionally, a term grouping heuristic merges aliases and acronyms (e.g., "NYC" and "New York City") to improve embedding quality and concentrate contextual information.

Evaluation and Industrial Application

The system was evaluated on English Wikipedia and deployed in two industrial contexts:

  1. Automated Recruitment: Matching resumes to job descriptions by expanding skill sets. Precision scores reached 70.5% to 98.0% for the top 100 results in engineering categories.
  2. Software Defect Resolution: Identifying duplicate bug reports. SetExpander improved duplicate detection precision by over 10% and reduced the time to generate semantic lists from weeks to hours.

On the general Wikipedia benchmark, SetExpander achieved a Mean Average Precision (MAP@10) of 0.83, demonstrating high accuracy in its top-ranked suggestions.

Conclusion

SetExpander demonstrates that combining specialized linguistic contexts with an iterative, human-in-the-loop interface significantly improves the efficiency and accuracy of term set expansion. By prioritizing functional similarity over topical relatedness, the system allows users to build high-quality, domain-specific taxonomies with minimal effort. Future work may involve integrating more advanced deep learning architectures and expanding the variety of context types to further enhance performance in niche domains.

Summary updated

BibTeX
@inproceedings{mamou2018setexpander,
  author = {Jonathan Mamou and Oren Pereg and Moshe Wasserblat and Ido Dagan and Yoav Goldberg and Alon Eirew and Yael Green and Shira Guskin and Peter Izsak and Daniel Korat},
  title = {{SetExpander: End-to-end Term Set Expansion Based on Multi-Context Term Embeddings}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2018},
  url = {https://openreview.net/forum?id=D1kTk5YHgJQ},
}
Figure