A Context-Enriched Neural Network Method for Recognizing Lexical Entailment

Kun Zhang, Enhong Chen, Qi Liu, Chuanren Liu, Guangyi Lv

Abstract

Recognizing lexical entailment (RLE) is fundamental to natural language understanding. Traditional models often rely on single prototype vectors, which fail to capture the polysemous nature of words. This paper presents the Context-Enriched Neural Network (CENN), a supervised architecture that leverages multiple contextual embeddings and an attention-based gate unit to dynamically weigh linguistic information. Experimental results across five benchmark datasets demonstrate that CENN consistently outperforms state-of-the-art baselines by effectively managing word ambiguity and asymmetric relations.

Introduction

Lexical entailment, the directional relationship where the meaning of one word is included in another (e.g., fox $\rightarrow$ animal), is a critical component of semantic inference. A significant challenge in RLE is polysemy; a word like club may relate to bat in a sporting context but to association in a social one. Conventional models representing words as single "prototype" vectors average these distinct meanings, leading to a loss of semantic nuance. To address this, the authors introduce CENN, which integrates diverse contextual information to improve entailment detection.

Methodology

The CENN architecture processes word pairs through four distinct stages to capture multifaceted semantic relationships:

  1. Multiple Contextual Embeddings: Words are represented using four embedding types: Bag-of-Words (topical), Dependency-based (functional), Domain-space (topical/domain), and Function-space (syntactic role).
  2. Concatenation and Difference: For a pair $(x, y)$, the model computes both the concatenation ($x \oplus y$) to preserve full information and the vector difference ($y - x$) to detect distributional inclusion, a hallmark of hypernymy.
  3. Gate Unit (Attention): A learned attention mechanism assigns scalar weights to each context, allowing the model to prioritize the most relevant linguistic features for a given pair.
  4. Classification: The final weighted representation is passed through a sigmoid layer to output the entailment probability $P(label|X, Y)$.
The architecture of the Context-Enriched Neural Network (CENN) model.

Experimental Setup

The model was evaluated on five standard RLE datasets: Kotlerman2010, Bless2011, Baroni2012, Turney2014, and Levy2014. To prevent "lexical memorization"—where models learn specific words rather than relationships—the authors implemented a strict split ensuring no overlap of words between training and test sets.

Results and Discussion

CENN demonstrated superior performance over traditional supervised methods like SVMs and Logistic Regression. Key findings include:

  • Performance Gains: The model achieved F1-value improvements of +0.9 to +1.6 points over top baselines on most datasets.
  • Robustness to Imbalance: CENN proved particularly effective on datasets like Bless2011 and Levy2014, where negative examples significantly outnumber positive ones.
  • Context Sensitivity: Analysis showed that different datasets favor specific contexts; for example, Bless2011 relies heavily on dependency and function-space embeddings.
Performance metrics (Precision, Recall, and F-value) across five benchmark datasets as a function of threshold theta.

The model's ability to handle polysemy was highlighted in cases like (chicken, solid), where the gate unit correctly prioritized the "food" context. However, performance was slightly lower on the Turney2014 dataset, likely due to its high diversity and small sample size leading to minor overfitting.

Conclusion

CENN provides a robust framework for lexical entailment by dynamically integrating multiple contextual perspectives. While highly effective on large datasets, future work will focus on refining the attention mechanism for smaller, more diverse data and exploring additional embedding types to capture even more granular semantic relations.

Summary updated

BibTeX
@inproceedings{zhang2017context,
  author = {Kun Zhang and Enhong Chen and Qi Liu and Chuanren Liu and Guangyi Lv},
  title = {{A Context-Enriched Neural Network Method for Recognizing Lexical Entailment}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10960},
}
Figure