Within-Between Lexical Relation Classification

Oren Barkan, Avi Caciularu, Ido DaganEMNLP 2020

Abstract: Oren Barkan, Avi Caciularu, Ido Dagan. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP).

2020.

Introduction

Lexical relation classification (LRC) is the task of identifying the semantic relationship between a pair of words, such as synonymy, antonymy, or hypernymy. While modern NLP often relies on contextualized embeddings, LRC typically involves word pairs in isolation, making static embeddings like GloVe or FastText the standard input.

A significant challenge in this field is lexical memorization. This occurs when a model learns to associate specific words with certain relations based on frequency in the training set (e.g., memorizing that "fruit" is usually a hypernym) rather than learning the actual relationship between the two words in a pair. This paper introduces the Within-Between Relation (WBR) model to mitigate this bias and improve classification accuracy.

Methodology

The WBR model is built on a dual-objective loss function that forces the model to learn both the general classification of relations and the specific semantic structure within each relation.

The Dual-Objective Framework

  1. The "Between" Objective: This is a standard classification task where the model predicts the relation category for a given word pair. To combat memorization, the authors employ a negative sampling strategy: for every positive pair (e.g., apple, fruit), they sample a negative pair (e.g., apple, random_word). This forces the classifier to recognize that a word is only a hypernym in the context of its specific counterpart.
  2. The "Within" Objective: This novel component ensures that word pairs sharing the same relation are pulled closer together in a specialized sub-space.

Relation-Specific Projections

As shown in the model architecture, WBR learns two projection matrices, $\Psi_k$ and $\Phi_k$, for every relation $k$. These matrices project the base word embeddings into a low-dimensional sub-space where the specific relation is most prominent. By using cosine similarity with a learnable temperature parameter, the model effectively neutralizes frequency biases that often plague dot-product-based models.

Graphical representation of the WBR model architecture, illustrating the relationship between word embeddings and relation-specific projections.

Experimental Setup and Datasets

The model was evaluated on four standard benchmarks: K&H+N, BLESS, ROOT09, and EVALution. To provide a robust baseline for unrelated words, the authors sampled co-occurrence pairs from English Wikipedia and manually augmented the EVALution dataset with a "random" relation category.

Results and Analysis

WBR achieved state-of-the-art (SOTA) or highly competitive results across all evaluated benchmarks. Notably, it outperformed SphereRE, the previous leading model, particularly on the EVALution dataset where it achieved an F1 score of 0.628 compared to SphereRE's 0.620.

Performance comparison of WBR against various baseline models across four standard lexical relation benchmarks.

An ablation study highlighted the importance of the dual-objective approach. The "BR" model (which uses only the Between objective) consistently underperformed compared to the full WBR model, proving that the relation-specific sub-spaces created by the "Within" objective are critical for capturing nuanced semantic relationships.

Conclusion

The Within-Between Relation model successfully addresses the pitfall of lexical memorization by combining relation-specific projections with a dual-objective loss function. By forcing the model to attend to the specific interaction between word pairs rather than individual word frequencies, WBR sets a new standard for static embedding-based lexical relation classification. Future work may involve applying these sub-space projection techniques to contextualized embeddings or exploring their utility in larger language model prompts.

Summary updated

BibTeX
@inproceedings{barkan2020within,
  author = {Oren Barkan and Avi Caciularu and Ido Dagan},
  title = {{Within-Between Lexical Relation Classification}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  url = {https://openreview.net/forum?id=UP5KTrzmX8e},
}
Figure