Multi-Context Term Embeddings: the Use Case of Corpus-based Term Set Expansion

Jonathan Mamou, Oren Pereg, Moshe Wasserblat, Ido Dagan

TL;DR

This paper tackles the challenge of expanding a small set of terms (e.g., "Siri," "Cortana") into a larger, semantically related set (e.g., "Amazon Echo," "Google Now") by proposing a novel method that combines term embeddings from multiple linguistic contexts. They also introduce a new, publicly available dataset for evaluating these "term set expansion" algorithms, demonstrating their approach outperforms existing methods.

What Problem Does This Paper Address?

The core problem is term set expansion: given a few example terms that belong to a specific semantic category, how can we automatically discover other terms that also belong to that category? Think of it like giving a search engine a few examples of "smart home devices" and having it suggest "smart bulbs," "thermostats," and "security cameras."

Existing approaches primarily rely on distributional similarity, meaning words that appear in similar contexts are considered semantically related. While modern techniques use word embeddings (dense vector representations of words) derived from these contexts, they typically use only one type of context. This paper questions whether using multiple types of linguistic contexts could capture different facets of semantic similarity and lead to better term set expansion. A significant hurdle in this field is the lack of standardized, publicly available datasets for evaluation, hindering reproducible research and direct comparisons.

Methods

The paper proposes a novel approach that leverages multi-context term embeddings. Instead of relying on a single embedding model, they train separate models for each of five different context types:

  • Linear Context (Lin): The standard approach, using a fixed-size window of surrounding words (like in word2vec, GloVe, fastText).
  • Explicit Lists (List): Terms appearing together in explicit lists (e.g., comma-separated lists).
  • Syntactic Dependency Context (Dep): Terms related through syntactic dependency relations (e.g., subject-verb, adjective-noun). This is a novel context type for set expansion.
  • Symmetric Patterns (SP): Terms appearing in symmetric linguistic patterns (e.g., "X rather than Y"). This also generalizes coordinational patterns.
  • Unary Patterns (UP): Terms appearing in specific unary patterns.

For each context type, they generate term embeddings. To combine these, they don't simply concatenate the embeddings. Instead, they use two scoring methods (centroid and CombSUM) for each context type to generate similarity scores between seed terms and candidate terms. These multiple similarity scores are then fed into a Multilayer Perceptron (MLP) binary classifier to predict whether a candidate term should be included in the expanded set. This MLP approach is designed to polynomially combine the different semantic similarity estimations, aiming for better performance than simple linear combinations.

Datasets

The authors introduce a new, publicly available dataset for evaluating corpus-based term set expansion algorithms. This dataset is derived from an English Wikipedia dump. It consists of:

  • Term Lists: Human-curated "List of" pages from Wikipedia, where each list defines a semantic category. These lists are split into training, development, and testing sets for the MLP classifier.
  • Textual Corpus: The main body of Wikipedia articles (excluding "List of" pages), used for unsupervised training of the multi-context term embedding models.

This dataset aims to address the replicability issue in the field by providing a standardized benchmark.

Key Insights and Ideas

  • Context is King (and Multiple Contexts are Better): Different linguistic contexts capture distinct aspects of semantic similarity. For instance, linear context might capture general topical relatedness, while dependency context might capture functional roles.
  • Complementarity of Contexts: The paper strongly suggests that various context types are complementary. While linear context often performs well, other types excel on specific term lists, indicating that a single context type is insufficient for comprehensive term set expansion.
  • Beyond Simple Concatenation: Simply concatenating multi-context embeddings doesn't yield optimal results. A learned classifier (like their MLP) is crucial for effectively combining the diverse signals from different contexts.
  • The Need for Standardized Benchmarks: The introduction of a new, public dataset is a significant contribution, enabling more rigorous and reproducible research in the term set expansion community.

Key Results

  • The proposed multi-context MLP approach significantly outperforms the best single-context baseline (linear context with centroid scoring).
  • On their newly created dataset, their algorithm achieved up to 5 mean average precision (MAP) points better than the best baseline.
  • Table 2 shows that while linear context with centroid scoring is generally strong and stable, other context types (List, Dep, SP, UP) achieve the best performance on 55% of the test term lists, highlighting their complementary nature.
  • The MLP combination consistently improves performance over the linear context baseline, even with varying numbers of seed terms (2, 5, or 10).
  • An "oracle" analysis (where the best context type is chosen for each term list) shows that the context types are indeed complementary, and the MLP, while good, doesn't perfectly capture all the potential information.

Limitations and Future Work

  • Dependency Parser Performance: The performance of the dependency context type is noted to be affected by the accuracy of the dependency parser used.
  • MLP Integration: While the MLP improves performance, the authors acknowledge that it doesn't "optimally integrate all the information captured by the term embeddings," suggesting room for further improvement in the combination strategy.
  • Future Work: The authors plan to explore recently introduced contextual embeddings like ELMo and BERT, which are expected to implicitly capture more syntax than the context-free embeddings used in this paper. They also intend to investigate the contribution of multi-context term embeddings to other computational semantics tasks.

Summary updated

BibTeX
@inproceedings{mamou2019multi,
  author = {Jonathan Mamou and Oren Pereg and Moshe Wasserblat and Ido Dagan},
  title = {{Multi-Context Term Embeddings: the Use Case of Corpus-based Term Set Expansion}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2019},
}
Figure