A Decision Tree of Bigrams is an Accurate Predictor of Word Sense

Ted PedersenNAACL 2001

Abstract

Word Sense Disambiguation (WSD) is the task of determining the correct meaning of a polysemous word based on its context. While traditional approaches often rely on complex linguistic features like part-of-speech tags or syntactic trees, this paper explores a simpler alternative: bigrams. By training decision trees on two-word sequences found near an ambiguous word, the author demonstrates that surface-level lexical features can achieve state-of-the-art performance. Evaluation on the 1998 SENSEVAL dataset shows that this approach outperformed the majority of competing systems, highlighting the unexpected power of simple statistical associations in language processing.

Introduction

In natural language processing, polysemy presents a significant hurdle. A word like "bill" can refer to currency, legislation, or anatomy. While humans resolve these ambiguities effortlessly using context, computational models often struggle. Historically, researchers attempted to solve WSD by providing machines with deep linguistic knowledge. However, these methods are often computationally expensive and fragile. This paper asks whether state-of-the-art disambiguation can be achieved using only raw, surface-level text features—specifically, pairs of words (bigrams) appearing in the immediate vicinity of the target word.

Methods

The proposed system utilizes a combination of statistical filtering and machine learning. First, "interesting" bigrams are identified within a 50-word window of the target word using statistical tests such as the Power Divergence Family ($G^2$ and $X^2$) and the Dice Coefficient. These tests isolate word pairs that occur together more frequently than chance would suggest.

Selected bigrams (stump nodes) for various ambiguous words.

Once features are selected, they are fed into learning algorithms:

  • Decision Trees (J48/C4.5): The primary model, which constructs a hierarchy of bigram-based queries.
  • Decision Stumps: A simplified model consisting of a single-node tree that asks about only one highly informative bigram.
  • Naive Bayes: Employed as a baseline for comparison.

Datasets

The study utilizes the 1998 SENSEVAL evaluation data, a landmark benchmark in WSD. The dataset includes 36 tasks involving 29 different words across nouns, adjectives, and verbs. Each instance is "sense-tagged" by humans, providing a ground truth for training and evaluation.

Key Insights

The most striking finding is that surface-level lexical features often possess more disambiguating power than complex syntactic structures. For instance, the presence of the bigram "knee injury" is a near-perfect indicator of the anatomical sense of "knee." Furthermore, the "Decision Stump" insight reveals that a single, well-chosen bigram can often achieve high accuracy. For the word "onion," the bigram "in the" was sufficient for high-performance classification.

Key Results

The bigram-based decision tree approach proved highly competitive. As shown in the performance table below, the method surpassed the SENSEVAL average for 30 out of 36 words and achieved the best results in the competition for 19 out of 36 words.

Performance of bigram-based models across SENSEVAL tasks.

For example, for the word "shake," the decision tree reached 52.2% accuracy, more than doubling the 23.6% majority classifier baseline. The results also indicated that the Power Divergence statistic ($G^2$) was generally more robust than the Dice Coefficient for feature selection in sparse linguistic data.

Conclusion

While powerful, the model is currently limited to consecutive bigrams and may miss distant contextual clues (e.g., "bill... passed"). Future work aims to explore unsupervised learning to reduce reliance on human-labeled data and expanding the feature set to include non-consecutive word pairs. Nonetheless, the success of this simple approach underscores the value of interpretability and statistical robustness in NLP.

Summary updated

BibTeX
@inproceedings{pedersen2001decision,
  author = {Ted Pedersen},
  title = {{A Decision Tree of Bigrams is an Accurate Predictor of Word Sense}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2001},
}
Figure