TL;DR
Word embeddings are notoriously unstable, meaning the "nearest neighbors" of a word can change drastically between different training runs. This paper systematically quantifies this instability across PPMI, word2vec, and GloVe, revealing that factors like training data order (curriculum) and part-of-speech matter far more than raw word frequency, with direct consequences for downstream NLP tasks.
What Problem Does This Paper Address?
Word embeddings are foundational to modern Natural Language Processing (NLP), but they suffer from a hidden flaw: instability. If you train the same model on the same dataset twice with different random seeds, a word's nearest neighbors in the vector space might look completely different.
While it is intuitive that rare words are unstable due to a lack of data, the authors show that even medium-to-high frequency words exhibit massive variance in stability. This paper systematically investigates why this happens by modeling the factors driving instability and exploring how it hurts downstream task performance.
Methods
The authors define stability as the percentage overlap between the top 10 nearest neighbors (measured via cosine similarity) of a word across different embedding spaces. 100% stability means perfect agreement between training runs, while 0% means complete disagreement.
To isolate what drives instability, they build a Ridge Regression model to predict a word's stability score based on three categories of features:
- Word Properties: Part-of-speech (POS) tags, number of WordNet senses (polysemy), and syllable count.
- Data Properties: Raw and normalized frequency, vocabulary size, domain overlap, and the word's initial appearance position in the training corpus.
- Algorithm Properties: The underlying algorithm (PPMI, word2vec, or GloVe) and embedding dimensions (ranging from 50 to 800).
Finally, they evaluate the impact of this instability on two downstream tasks: word similarity benchmarks and Part-of-Speech tagging using a bidirectional LSTM.
Datasets
- Penn Treebank (PTB): Used for initial stability analysis and POS tagging evaluation.
- New York Times (NYT) Corpus: Divided into five specific domains (U.S., NY & Region, Business, Arts, Sports) and a combined "All NYT" dataset to study cross-domain generalization.
- Europarl: A large corpus focused on European Parliamentary politics, used as an out-of-domain baseline.
- Word Similarity Benchmarks: WS353, MTurk287, and MTurk771.
Key Insights and Ideas
- Curriculum Learning is King for word2vec: Surprisingly, the strongest predictors of instability in word2vec were the features capturing where a word first appears in the training text. Because word2vec processes data sequentially, early exposures anchor the vector differently than late exposures. GloVe, being matrix-factorization based and order-invariant, does not suffer from this.
- Frequency is an Illusion: While a simple plot shows that low-frequency words are unstable, ablation studies revealed that raw frequency is not a major driving factor once you control for other features. Medium-frequency words show massive stability variance that frequency alone cannot explain.
- GloVe is Inherently More Stable: GloVe produces significantly more stable embedding spaces than word2vec. Its geometric structure is far more robust to random initializations.
- LSTMs Compensate for Instability: In downstream POS tagging, allowing word vectors to update ("shift") during training dramatically mitigates the negative impacts of instability. The network actively moves unstable vectors more than stable ones to correct their positions during backpropagation.
Key Results
- The ridge regression model achieved an $R^2$ score of 0.301, with the word's starting position in the training data being the highest-magnitude feature.
- When trained on in-domain data, GloVe achieved an average stability of 65%, compared to PPMI at 52% and word2vec at just 29%.
- For word similarity tasks, pairs of words with higher combined stability yielded lower absolute errors against human judgments.
- In POS tagging, freezing unstable word vectors caused accuracy to drop to 85.0%, whereas allowing them to fine-tune restored performance to 95.5%.
Limitations and Future Work
The primary limitation is that the regression model's $R^2$ score of 0.301 indicates that nearly 70% of the variance in embedding stability remains unexplained by the selected features. There are still hidden variables at play.
Additionally, the study focuses on static embeddings (word2vec, GloVe). A natural extension for future work would be evaluating the stability of contextualized language models (like BERT or ELMo) and exploring how downstream architectures dynamically alter these spaces in low-resource settings.
Summary updated