Negative Sampling Improves Hypernymy Extraction Based on Projection Learning

Dmitry Ustalov, Nikolay Arefyev, Chris Biemann, Alexander Panchenko

TL;DR

This paper introduces a novel approach to automatically extract hypernymy relationships (e.g., "dog" is a type of "animal") from text. By incorporating explicitly defined "negative" examples (relationships that are not hypernymies) into a projection learning model, the authors significantly improve extraction accuracy across multiple languages, outperforming previous state-of-the-art methods.

What Problem Does This Paper Address?

Hypernymy is a fundamental semantic relationship crucial for many Natural Language Processing (NLP) tasks, such as building knowledge graphs, improving search results, and enhancing question answering systems. While manually curated resources like WordNet exist, they are not comprehensive enough for all domains and languages. Automatic hypernym extraction from text is therefore highly desirable.

Traditional methods for hypernym extraction fall into two main categories:

  1. Pattern-based methods: These rely on identifying specific linguistic patterns (e.g., "such X as Y") that signal a hypernymy. Their main drawback is sparsity – they require the hyponym and hypernym to appear together in the same sentence, which is not always the case.
  2. Classification-based methods: These treat hypernymy extraction as a classification problem, often using word embeddings. However, they typically require a pre-defined list of candidate hyponym-hypernym pairs, which can be computationally expensive to generate for large vocabularies and may lead to models that simply memorize specific examples rather than generalizing.

The authors identify a gap in the literature: while positive and negative examples are common in supervised learning, the impact of explicitly defined negative examples on hypernym prediction using projection learning has not been thoroughly investigated. They aim to address this by proposing an improved projection learning model that leverages negative sampling.

Methods

The paper builds upon the projection learning framework, specifically an affine transformation model proposed by Fu et al. (2014). In this approach, a hyponym word vector is transformed into a hypernym word vector using a learned projection matrix. The core innovation lies in how they train this model.

The authors introduce two novel regularization techniques that incorporate negative samples:

  1. Asymmetric Regularization: Hypernymy is an asymmetric relation (e.g., "dog" is a "mammal," but "mammal" is not a "dog"). This regularizer enforces this asymmetry by penalizing the model if the transformed hypernym vector is too similar to the original hyponym vector. This method primarily uses positive examples to enforce the asymmetry.
  2. Neighbor Regularization: This approach explicitly uses negative samples – words that are semantically related to the hyponym but are not its hypernym (e.g., synonyms, co-hyponyms). The model is trained to ensure that the transformed hypernym vector is not similar to these negative samples. This directly addresses the problem of distinguishing true hypernyms from other related terms.

They also explore variations of these regularizers that do not involve "re-projection" (i.e., applying the transformation twice), denoted by Φ vs. ΦΦ. The models are trained using the Adam optimizer.

Datasets

The experiments were conducted on several datasets:

  • Russian Language Dataset: This dataset was built using word embeddings from the Russian Distributional Thesaurus. Synonyms and hypernyms were extracted from Wiktionary and enriched using Hearst patterns.
  • English Language Datasets:
    • EVALution Dataset: A dataset designed for evaluating distributional semantic models, containing hypernyms and synonyms.
  • BLESS, K&H+N, ROOT09: These are existing benchmarks for hypernymy extraction.
  • Combined Dataset: A larger dataset combining data from EVALution, BLESS, ROOT09, and K&H+N, using Google News word embeddings. This was used to test the robustness of their approach across different configurations.

The authors split their data into training, validation, and test sets, ensuring distinct vocabularies between training and testing to prevent lexical overfitting.

Key Insights and Ideas

  • The Power of Explicit Negatives: The most significant insight is that explicitly defining and using non-hypernym relationships (like synonyms) as negative training examples dramatically improves hypernym extraction performance. This is a departure from previous projection learning approaches that either didn't use negative samples or used randomly sampled ones, which proved less effective.
  • Asymmetry Matters: Enforcing the asymmetric nature of the hypernymy relation is crucial for accurate extraction. The asymmetric regularizer helps the model learn this directional property.
  • Neighbor Regularization's Robustness: The neighbor regularization, which uses synonyms as negative samples, consistently yields strong results. The authors suggest this is because synonyms can be semantically close but distinct from hypernyms, providing a good signal for the model to learn what not to predict.
  • Re-projection Benefits: The re-projection variant (ΦΦ) of the regularized models generally shows slightly better performance than the non-re-projected versions (Φ), suggesting that a second pass of transformation can further refine the hypernym representation.
  • Cross-Lingual Applicability: The approach demonstrates effectiveness on both Russian (a morphologically rich language) and English, highlighting its generalizability.

Key Results

  • The proposed models with both asymmetric and neighbor regularization consistently outperform the baseline (Fu et al., 2014) on all tested datasets and metrics (hit@l, hit@5, hit@10, AUC).
  • For the Russian dataset, the best performing model achieved an AUC of 2.768 with neighbor regularization and re-projection, compared to the baseline's 2.665.
  • On the English EVALution dataset, the best model achieved an AUC of 1.494 with neighbor regularization and re-projection, compared to the baseline's 1.052.
  • On combined English datasets, the best model achieved an AUC of 5.547 with neighbor regularization and re-projection, compared to the baseline's 5.481.
  • The authors note that their approach is significant with respect to t-tests, indicating the improvements are not due to chance.

Limitations and Future Work

  • Negative Sample Selection: While their manually curated negative samples (synonyms) worked well, the paper acknowledges that selecting the best type of negative samples for different languages or domains might require further investigation. They also note that some words might not have readily available synonyms.
  • Computational Cost: While projection learning is generally more efficient than classification-based methods requiring candidate pairs, the regularization techniques add computational overhead.
  • Future Work: The authors suggest that their regularizers could be integrated into other projection learning models, such as the one proposed by Yamane et al. (2016). Further exploration into different types of negative samples and their impact on performance across various languages and domains would be valuable.

Summary updated

BibTeX
@inproceedings{ustalov2017negative,
  author = {Dmitry Ustalov and Nikolay Arefyev and Chris Biemann and Alexander Panchenko},
  title = {{Negative Sampling Improves Hypernymy Extraction Based on Projection Learning}},
  booktitle = {EACL},
  year = {2017},
}
Figure