TL;DR
This paper investigates the "stability" of word embeddings—how much a word's nearest neighbors change across different training runs—across dozens of diverse languages. The researchers demonstrate that linguistic features like complex affixing and gender systems significantly decrease embedding stability, suggesting that researchers using these tools for downstream tasks or linguistic analysis must account for this inherent volatility.
What Problem Does This Paper Address?
Word embeddings (like word2vec and GloVe) are the bedrock of modern NLP, but they aren't as "solid" as they seem. Previous research on English showed that if you train an embedding on two slightly different samples of the same data, the "nearest neighbors" for a given word can change drastically. This is called instability.
While English embeddings are known to be surprisingly unstable, we didn't know if this was a universal trait or how it varied across the world's 7,000+ languages. If embeddings are unstable, using them to track language trends or as features in sensitive downstream tasks becomes risky. This paper fills that gap by analyzing stability across a wide range of language families and identifying the specific linguistic properties that drive it.
Methods
The authors define stability as the percentage overlap between the top ten nearest neighbors of a word in two different embedding spaces (measured via cosine similarity).
To ensure their comparisons were fair, they first tackled a methodological hurdle: how to sample data. As shown in Figure 1, they found that sampling without replacement provides much more consistent results across different sample sizes than sampling with replacement.
After establishing this, they:
- Trained word2vec and GloVe embeddings across multiple languages.
- Calculated stability by comparing models trained on different data samples or with different random seeds.
- Used Ridge Regression to correlate average language stability with 192 linguistic features from the World Atlas of Language Structures (WALS).
Datasets
- Wikipedia Corpus: Dumps in 40 languages, downsampled to 100,000 sentences each for comparability.
- Bible Corpus: A parallel corpus covering 97 languages. While smaller than Wikipedia, it allows for direct comparison across a much wider variety of language families.
- WALS (World Atlas of Language Structures): A database of phonological, lexical, and grammatical properties for over 2,000 languages, used here to provide the "features" for the regression model.
Key Insights and Ideas
- The Affixation Tax: Languages with heavy affixing (think of the many forms of "walk": walks, walking, walked, walker) are significantly less stable. The embedding algorithm struggles to consistently map these variations, leading to "noisy" neighborhoods.
- Gender Complexity Matters: Languages with complex gender systems (requiring agreement across different parts of speech) also show lower stability. Similar to affixation, this creates more word forms that the algorithm may not handle consistently across different data samples.
- Vietnamese is an Outlier: Vietnamese stood out as exceptionally stable compared to other languages in the set. The authors suggest this might be due to its unique Austro-Asiatic structure, which lacks the complex inflectional morphology found in many Indo-European languages.
- Data > Algorithm: Changing the training data sample causes much larger shifts in stability than simply changing the embedding algorithm (e.g., switching from word2vec to GloVe).
Key Results
The researchers' ridge regression model was remarkably successful, achieving an $R^2$ score of 0.96 ± 0.00, meaning linguistic features almost perfectly explain the variance in average stability across languages.
Quantitatively, the average absolute error of the model was only 0.62, significantly outperforming a baseline that simply guessed the average stability. As seen in the WALS attribute weights (Table 3 in the paper), "Strongly Suffixing" had a strong negative weight (-0.14), while "No case affixes" had a strong positive weight (0.11), confirming that morphological simplicity leads to more reliable embeddings.
Limitations and Future Work
The study primarily focuses on static embeddings (word2vec, GloVe). While the authors justify this by noting that static embeddings are still the standard for low-resource languages and computational humanities, they acknowledge that contextualized embeddings (like BERT) are now dominant in high-resource settings.
Future work could investigate if the same linguistic drivers of instability exist for BERT-based representations. Additionally, the reliance on the Bible corpus—while excellent for breadth—means the models are trained on relatively small datasets, which might amplify instability compared to the massive corpora used for state-of-the-art English models.
Summary updated