A comparison of models of word meaning in context

Georgiana Dinu, Stefan Thater, Sören LaueNAACL 2012

Abstract This paper compares a number of recently proposed models for computing context sensitive word similarity. We clarify the connections between these models, simplify their formulation and evaluate them in a unified setting. We show that the models are essentially equivalent if syntactic information is ignored, and that the substantial performance differences previously reported disappear to a large extent when these simplified variants are evaluated under identical conditions. Furthermore, our reformulation allows for the design of a straightforward and fast implementation.

Introduction

In Natural Language Processing (NLP), distributional models represent word meanings as vectors based on the contexts in which they appear. However, these models often struggle with polysemy, where a single word has multiple meanings depending on its usage. Standard models typically create a single "type" vector that averages all possible meanings, resulting in a muddy representation.

To address this, researchers developed context-sensitive models (such as EP08, TFP10, and TFP11) that attempt to warp or re-weight a word's vector based on its immediate neighbors. Despite their shared goals, these models were originally described using different formalisms and reported widely varying results. This paper seeks to unify these models and understand the underlying reasons for their performance differences.

Methods

The authors performed a mathematical analysis of three specific models:

  1. EP08 (Erk and Padó, 2008): Uses selectional preferences to shift the vector.
  2. TFP10 (Thater et al., 2010): Uses "second-order" vectors describing similarity to the entire vocabulary.
  3. TFP11 (Thater et al., 2011): Re-weights target word components based on similarity to the context word.

The study demonstrates that if complex syntactic labels are removed, all three models boil down to the same core operation: pointwise multiplication of a target word's vector with a similarity-based vector derived from the context. The models were reimplemented using efficient sparse matrix operations and trained on the GigaWord corpus. Evaluation was conducted using the SemEval 2007 Lexical Substitution Task (LST), where models rank potential synonyms based on their fit in a specific context using Generalized Average Precision (GAP).

Key Results and Insights

The most striking insight is that the perceived differences between these models were largely superficial. Mathematically, they perform nearly identical operations, using the context word to "filter" the target word's meaning. By reducing these models to matrix multiplications, the authors showed that complex context-sensitivity can be as computationally efficient as simple, non-contextual models.

Comparison of model performance (GAP) against previously reported literature results.

As shown in the table above, the simplified version of the EP08 model saw a massive jump in performance, moving from a GAP of 32.2 to 46.6 (+14.4 points). The combined model (TFP10+11) achieved a state-of-the-art GAP score of 52.1. These gains highlight that a significant portion of performance differences in previous literature stemmed from implementation details and tuning rather than fundamental theoretical differences.

Conclusion

This research clarifies the relationship between prominent context-sensitive distributional models, proving their mathematical equivalence in the absence of syntax. The resulting unified framework not only improves accuracy but also significantly enhances processing speed, making these models viable for real-world applications. Future work remains to explore the optimal integration of syntax and the extension of this framework to multi-word context windows.

Summary updated

BibTeX
@inproceedings{dinu2012comparison,
  author = {Georgiana Dinu and Stefan Thater and Sören Laue},
  title = {{A comparison of models of word meaning in context}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2012},
  url = {https://openreview.net/forum?id=SkZJH7ZubS},
}
Figure