Efficient Non-parametric Estimation of Multiple Embeddings per Word in Vector Space

Arvind Neelakantan, Jeevan Shankar, Alexandre Passos, Andrew McCallum

Abstract

There is rising interest in vector-space word embeddings and their use in NLP, especially given recent methods for their fast estimation at very large scale. Nearly all this work, however, assumes a single vector per word type—ignoring polysemy and thus jeopardizing their usefulness for downstream tasks. We present an extension to the Skip-gram model that efficiently learns multiple embeddings per word type. It differs from recent related work by jointly performing word sense discrimination and embedding learning, by non-parametrically estimating the number of senses per word type, and by its efficiency and scalability. We present new state-of-the-art results in the word similarity in context task and demonstrate its scalability by training with one machine on a corpus of nearly 1 billion tokens in less than 6 hours.

Introduction

Standard word embedding models, such as Skip-gram, represent each word as a single dense vector. While effective, this approach creates a "semantic blur" for polysemous words like "bank" or "apple," where multiple distinct meanings are collapsed into a single average representation. This leads to a "triangle inequality" problem: unrelated words (e.g., pollen and refinery) are pulled closer together in vector space simply because they both share a relationship with different senses of a common word like plant.

Previous attempts to solve this were often computationally prohibitive, requiring multi-step processes of clustering contexts before training embeddings. This paper introduces MSSG (Multiple-Sense Skip-gram) and NP-MSSG (Non-Parametric MSSG), which learn multiple embeddings per word type efficiently and jointly.

Methodology

The proposed models extend the Skip-gram architecture to handle multiple senses:

  1. MSSG: Assigns a fixed number of senses ($K$) to every word. It maintains a global vector for general meaning and $K$ specific sense vectors. During training, the model identifies the closest sense cluster based on context and updates only that specific vector.
  2. NP-MSSG: A more flexible version that uses a non-parametric approach based on facility location. It starts with a single sense and dynamically creates new ones only when a context is sufficiently distinct from existing senses, as determined by a threshold $\lambda$.
The NP-MSSG architecture jointly performs word sense discrimination and embedding learning by using global context vectors to predict the specific sense of a target word.

A critical innovation is that these models perform sense discrimination and embedding learning jointly in a single online pass. By using the global vectors of context words to predict the sense of the target word, the models avoid the recursive complexity that slowed down previous multi-sense approaches.

Experimental Results

The models were trained on a 1-billion-token snapshot of English Wikipedia. Evaluation focused on the Stanford Contextual Word Similarities (SCWS) dataset, which is specifically designed for multi-sense evaluation by providing words within sentential contexts.

Performance and Scalability

The NP-MSSG model achieved a Spearman correlation of 69.1 on the SCWS dataset, outperforming previous multi-sense models (65.7) and standard single-vector Skip-gram (65.2). Beyond accuracy, the primary advantage is efficiency. While earlier multi-sense methods could take over a week to train on limited vocabularies, NP-MSSG processed the entire billion-token corpus in under 6 hours on a single machine.

Training time comparison showing that MSSG and NP-MSSG models are orders of magnitude faster than previous state-of-the-art multi-sense models.

Qualitative Insights

Qualitative analysis confirms the models successfully separate senses. For the word "Apple," NP-MSSG discovers distinct clusters for fruit (neighbors: pear, honey, pumpkin) and technology (neighbors: microsoft, activision, sony). Furthermore, the non-parametric model reveals that the vast majority of English words only require one or two senses, while a small subset of high-frequency words account for most of the polysemy.

Conclusion

MSSG and NP-MSSG provide a scalable solution to the problem of polysemy in vector-space models. By jointly learning senses and embeddings, these models achieve state-of-the-art performance on contextual similarity tasks while maintaining the training efficiency required for massive datasets. Future work will involve integrating these multi-sense embeddings into downstream tasks like Named Entity Recognition (NER) to evaluate their impact on real-world applications.

Summary updated

BibTeX
@inproceedings{neelakantan2014efficient,
  author = {Arvind Neelakantan and Jeevan Shankar and Alexandre Passos and Andrew McCallum},
  title = {{Efficient Non-parametric Estimation of Multiple Embeddings per Word in Vector Space}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2014},
  url = {https://openreview.net/forum?id=SyGvUff_bH},
}
Figure