LEARNING SEMANTICS-ENHANCED LANGUAGE MODELS APPLIED TO UNSUEPRVISED WSD

Karin Verspoor, Shou-De LinOSTI 2007 · OpenAlex

Abstract

Traditional N-gram language models excel at capturing statistical syntactic word order but often ignore the underlying semantic layers of language. This limitation hinders their effectiveness in tasks like Word Sense Disambiguation (WSD). This paper introduces a framework that integrates semantic information directly into the language model schema. By leveraging an unsupervised Expectation-Maximization (EM) approach, the proposed model learns from unannotated text, effectively bridging the gap between syntax and semantics. Case studies demonstrate that this semantics-enhanced model achieves promising results in unsupervised WSD, even surpassing traditional baselines.

Introduction: The "Meaning-Blind" Nature of Language Models

Standard language models (LMs) are the backbone of many NLP applications, from speech recognition to predictive text. They calculate the probability of a word sequence based on historical frequency and syntactic patterns. However, these models are fundamentally "meaning-blind." For instance, a standard LM treats the word "bank" as a single token, regardless of whether it refers to a financial institution or the side of a river.

Word Sense Disambiguation (WSD) is the task of identifying which specific sense of a polysemous word is intended in a given context. While supervised methods—training on large, manually sense-tagged corpora—perform well, such data is prohibitively expensive to produce. This research explores whether we can imbue LMs with semantic awareness using only raw text and a structured dictionary like WordNet.

A Dual-Layer Framework: SLM and WSLM

The authors propose two primary models to integrate semantic information:

  1. Semantics-based Language Model (SLM): Instead of modeling the transition between words, the SLM models the probability of one semantic sense following another. This captures the "flow of meaning" in a sentence.
  2. Word-Sense Language Model (WSLM): This is a hybrid approach that considers the joint probability of both the word and its specific sense. It tracks how specific words and their meanings interact within a sequence.

By modeling these transitions, the system can exploit the inherent structure of language where certain meanings naturally cluster together, even if the specific words used are different.

Unsupervised Learning via Expectation-Maximization

The core challenge of this approach is the lack of labeled training data. To overcome this, the authors employ the Expectation-Maximization (EM) algorithm.

The Graph Representation

A sentence is represented as a graph where each word is a node. Each node is connected to multiple "sense nodes" representing all possible meanings of that word according to WordNet. The goal of the learning process is to find the most probable path of senses through this graph.

Computational Efficiency

The number of possible sense paths grows exponentially with sentence length. To make the EM process feasible, the authors utilize a polynomial forward-backward algorithm. With a complexity of $O(nb^2)$ (where $n$ is sentence length and $b$ is the average number of senses per word), the system can efficiently calculate probabilities across the entire corpus without exhaustive path searching.

The "Aha" Logic of Semantic Clustering

The model relies on the "Minimum Description Length" principle. If the training data contains phrases like "Existing results demonstrate..." and "Existent outcomes show...", the model recognizes that "existing" and "existent" share a common sense, as do "results/outcomes" and "demonstrate/show." By observing these patterns in raw text, the model learns that these specific senses are highly compatible, boosting their transition probabilities.

Experimental Results

The models were evaluated on the SemCor corpus (with annotations hidden during training) and the British National Corpus (BNC) Sampler.

Method Accuracy (%)
Baseline (Random) 17.1%
Uniform Initialization 32.3%
Graph Frequency 36.0%
Full Model (with Prior Knowledge) 71.0%
Noun-Specific Task 77.4%

The results are striking. Even with a "Uniform" start—where the model assumes all senses are equally likely—learning from raw text nearly doubles the accuracy over random guessing. When initialized with WordNet's sense frequency (prior knowledge), the model reaches 71% accuracy, outperforming many contemporary unsupervised systems and even surpassing the "predominant sense" baseline, which is notoriously difficult to beat in WSD.

Conclusion and Future Directions

This research demonstrates that semantics are deeply embedded within the syntax of natural language. By explicitly modeling the transitions between word senses, LMs can become powerful tools for semantic tasks without the need for manual annotation.

While the current study focused on bigram models, future work could extend this to trigrams or higher-order models to capture more complex dependencies, albeit at a higher computational cost. Furthermore, this "dual-layer" framework holds potential for other NLP challenges, such as semantic role labeling and machine translation, where the interplay between word order and underlying meaning is paramount.

Summary updated

BibTeX
@inproceedings{verspoor2007learning,
  author = {Karin Verspoor and Shou-De Lin},
  title = {{LEARNING SEMANTICS-ENHANCED LANGUAGE MODELS APPLIED TO UNSUEPRVISED WSD}},
  booktitle = {OSTI},
  year = {2007},
}

Loading related content...

Figure