Path-based vs. Distributional Information in Recognizing Lexical Semantic Relations

Vered Shwartz, Ido Dagan

Abstract This study revisits the fundamental debate in Natural Language Processing regarding the identification of Lexical Semantic Relations (LSR). We compare distributional information—derived from word contexts—with path-based information—derived from dependency paths connecting words in a sentence. We introduce LexNET, a neural framework that integrates both signals. Our evaluation across multiple benchmarks demonstrates that path-based information remains a vital component for robust relation recognition, helping models overcome lexical memorization and handle rare word pairs where distributional data is sparse.

Introduction

Recognizing how words relate (e.g., "dog" is a hypernym of "animal") is essential for downstream tasks like question answering. Historically, two primary signals have been used: path-based methods, which look at grammatical patterns (e.g., "X is a type of Y"), and distributional methods, which leverage word embeddings to find contextually similar terms. While distributional methods have recently dominated the field, they are prone to "lexical memorization," where a model learns to predict common categories (like "animal") regardless of the specific relationship between the word pair. This paper explores whether a hybrid approach can mitigate these weaknesses.

Methodology

We propose LexNET, an extension of the HypeNET architecture designed to recognize multiple semantic relations simultaneously.

Model Architecture

LexNET represents a word pair $(x, y)$ by concatenating three distinct vectors: $[v_x, v_{paths}, v_y]$.

  1. Distributional Embeddings ($v_x, v_y$): Standard word embeddings (e.g., GloVe) representing the individual words.
  2. Path Embeddings ($v_{paths}$): We extract all dependency paths connecting $x$ and $y$ from a large corpus. Each path is processed as a sequence of edges (lemma, POS tag, and direction) through a Long Short-Term Memory (LSTM) network. The final path vector is the average of these LSTM-encoded paths.
Architectural variants of LexNET compared to path-based (PB) and distributional (DS) baselines.

The combined vector is passed through a softmax classifier to predict the specific semantic relation or a "no relation" label.

Experimental Setup

LexNET was evaluated on four diverse datasets:

  • K&H+N: Focused on hypernymy, meronymy, and co-hyponymy.
  • BLESS: Includes broader relations like "event" and "attribute."
  • ROOT09: Specifically designed to test against lexical memorization by including reversed word pairs.
  • EVALution: A complex dataset featuring synonyms, antonyms, and holonyms.

Results and Discussion

LexNET consistently outperformed standalone distributional and path-based models across all benchmarks.

Performance metrics (Precision, Recall, F1) for LexNET and baseline models across four datasets.

Key Insights

  • Mitigating Popularity Bias: On the ROOT09 dataset, which is specifically designed to thwart "cheating" via memorization, LexNET achieved an F1-score of 0.813, significantly higher than the distributional-only $DS_h$ model (0.716). This suggests that path-based information forces the model to verify the actual interaction between words.
  • Robustness to Sparsity: For rare words with low-quality embeddings, a single clear dependency path (e.g., "X is a rare species of Y") can provide enough evidence for correct classification.
  • The Path as a Tie-Breaker: In cases of non-prototypical relations (e.g., villa-guest), where distributional similarity might be low, the literal paths in text provide the necessary relational evidence.

Conclusion and Future Work

While LexNET shows superior performance in multiclass relation recognition, challenges remain. The model still struggles with synonyms and antonyms, which often share similar distributional contexts and lack frequent co-occurrence in single sentences. Future work should focus on developing datasets that reflect natural language distributions rather than synthetic resources like WordNet, and exploring ways to better distinguish between highly similar relations like synonymy and antonymy.

Summary updated

BibTeX
@inproceedings{shwartz2016path,
  author = {Vered Shwartz and Ido Dagan},
  title = {{Path-based vs. Distributional Information in Recognizing Lexical Semantic Relations}},
  booktitle = {CogALex @ COLING},
  year = {2016},
}
Figure