Abstract
Standard word embeddings assign a single vector to each word, which fails to capture the nuances of polysemous words. This paper introduces a probabilistic extension to the continuous Skip-Gram model (Word2Vec) that learns multiple embedding vectors per word using an Expectation-Maximization (EM) algorithm. The resulting multi-prototype embedding model is highly scalable, matching state-of-the-art accuracy while training three times faster and utilizing significantly fewer parameters than previous clustering-based approaches.
Introduction
Distributed word representations, such as Word2Vec, are foundational to modern Natural Language Processing (NLP), mapping words to dense, low-dimensional vectors. However, most standard models operate under a strict "one word, one vector" assumption. This creates a bottleneck for polysemous words—words with multiple distinct meanings. For example, forcing the word "bank" (financial institution vs. river side) or "apple" (fruit vs. tech company) into a single vector muddles its semantic representation and limits the model's expressive power.
Previous attempts to solve this usually relied on a two-step pipeline: first, training single-prototype embeddings, and second, clustering the context windows of polysemous words to identify different "senses." These methods, such as the EHModel, are computationally expensive, highly sensitive to hyperparameters, and require massive neural networks with extra hidden layers, making them difficult to scale to massive text corpora.
Methodology
The proposed Multi-Prototype Skip-Gram model integrates a probabilistic mixture model directly into the efficient Word2Vec architecture. Instead of post-hoc clustering, the model treats the specific "sense" or "prototype" of a word as a hidden variable. When predicting context words from a central word, the model calculates the probability as a weighted average across all possible prototypes of that central word.
Training is conducted via an Expectation-Maximization (EM) algorithm:
- E-Step: Calculates the conditional probability that a specific occurrence of a word belongs to a particular prototype, given its surrounding context words.
- M-Step: Updates the embedding vectors and the prior probabilities of each prototype using gradient ascent.
To maintain efficiency, the authors leverage the Hierarchical Softmax tree structure and introduce a computational optimization: by performing a single-step gradient ascent in the M-Step, they reuse the expensive sigmoid calculations from the E-Step, drastically accelerating training.
Experimental Setup
Datasets
- Training: A snapshot of Wikipedia from April 2010 containing approximately 990 million tokens, with a vocabulary restricted to the top 1 million most frequent words.
- Evaluation: The Stanford Contextual Word Similarity (SCWS) dataset. Unlike traditional benchmarks like WordSim353, SCWS provides 2,003 word pairs embedded within sentences, allowing the model to use surrounding context to infer the correct prototype vector for similarity calculations.
Key Insights and Results
Qualitative Analysis
The EM algorithm naturally learns a prior probability for each prototype. For instance, the model learns that the word "cell" is used as a biological term (81% probability) much more often than as a phone (9% probability) in the Wikipedia corpus. When given enough prototypes, the model captures highly nuanced meanings, separating "bank" into a concrete institution and a general financial concept.
Quantitative Performance
On the SCWS dataset, the proposed model achieved a Spearman's rank correlation of 65.4% (using a weighted similarity score, Model_W). This significantly outperforms the base Word2Vec model (61.7%) and is highly competitive with the more complex EHModel (65.7%). Crucially, the proposed model trains approximately three times faster than the EHModel due to its reduced parameter count and optimized EM algorithm.
Conclusion and Future Work
By treating word senses as latent variables in a generative model, the authors bypass the heuristic-heavy clustering steps of previous work. This provides a mathematically principled and unified way to learn multiple senses simultaneously while maintaining the scalability of shallow neural architectures.
Future work includes applying this probabilistic latent-variable framework to other neural language models and testing these multi-prototype embeddings on downstream tasks such as information retrieval and knowledge mining to evaluate their impact on end-to-end system performance.
Summary updated