A Kernel PCA Method for Superior Word Sense Disambiguation

Dekai Wu, Weifeng Su, Marine Carpuat

Introduction

Word Sense Disambiguation (WSD) is a fundamental challenge in Natural Language Processing (NLP), centered on determining the correct meaning of a word based on its context—for instance, distinguishing whether "bank" refers to a financial institution or a river's edge. While supervised models like Naive Bayes and Maximum Entropy have been standard, they often struggle to capture the complex, non-linear interactions between linguistic features such as syntax and collocations. This paper introduces a novel approach using nonlinear Kernel Principal Component Analysis (KPCA) to more effectively generalize over these feature combinations.

The KPCA Approach

The authors propose using Kernel Principal Component Analysis (KPCA) to extract structural generalizations from linguistic data. Unlike standard PCA, which identifies linear correlations, KPCA employs the "kernel trick" to map input vectors into a high-dimensional feature space where linear PCA is then performed.

Training and testing examples for the word 'art' showing feature vector construction.

Methodology Highlights:

  • Feature Extraction: The model extracts "nonlinear principal components" that represent complex feature interactions often missed by linear models.
  • The Kernel Trick: By using a polynomial kernel, the model avoids expensive high-dimensional computations, calculating dot products of mapped vectors directly.
  • Classification: After transformation into the KPCA-space, a simple nearest-neighbor classifier is used to predict the word sense.

Notably, the KPCA transformation is computed in an unsupervised manner from the training data, allowing the model to learn the underlying structure of the language before classification begins.

Experimental Setup

The model was evaluated on the Senseval-2 English lexical sample task, which includes 73 target words across various parts of speech. The task utilized "fine-grained" sense classes from WordNet 1.7, averaging 7.8 senses per word. This granularity makes the task significantly more challenging than standard coarse-grained classification.

The "Quasi-Axis" Advantage

A core insight of this research is how KPCA handles feature space. In a standard linear space, one sense might be "surrounded" by another, making them inseparable by a straight line. KPCA effectively "unfolds" this space, allowing senses to be separated along a nonlinear "quasi-axis."

Comparison of feature space representations: (a) raw features, (b) linear PCA, and (c) KPCA's nonlinear quasi-axis.

This approach provides implicit feature engineering. Rather than treating features as independent, KPCA recognizes that specific combinations (e.g., the presence of both "river" and "flow") are stronger indicators of a sense than individual words alone. Furthermore, because the transformation is unsupervised, it can potentially leverage vast amounts of unlabeled text to improve supervised performance.

Performance Evaluation

The KPCA-based model achieved state-of-the-art performance for an individual model on the Senseval-2 dataset:

  • Accuracy: The model reached 65.8%, outperforming Naive Bayes (63.3%), Maximum Entropy (63.8%), and even Support Vector Machines (65.2%).
  • Efficiency: While testing times were slightly higher, the KPCA model's training time (216 seconds) was significantly faster than the SVM (5024 seconds), facilitating much faster iteration cycles.

Conclusion and Future Work

While KPCA shows great promise, the authors note that computational scaling for $M \times M$ matrix computations could become a bottleneck as training data grows. Future research will focus on augmenting the model with large-scale unannotated data and exploring alternative kernels, such as Gaussian functions, to further refine feature representation in diverse NLP tasks.

Summary updated

BibTeX
@inproceedings{wu2004kernel,
  author = {Dekai Wu and Weifeng Su and Marine Carpuat},
  title = {{A Kernel PCA Method for Superior Word Sense Disambiguation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2004},
  doi = {10.3115/1218955.1219036},
}
Figure