On Dimensional Linguistic Properties of the Word Embedding Space

Vivek Gupta, Vikas Raunak, Vaibhav Kumar, Vivek Gupta 0001, Florian Metze

Introduction

A common assumption in Natural Language Processing is that the most important information in a word embedding is contained within the components that explain the most variance. Consequently, many researchers use Principal Component Analysis (PCA) to compress embeddings or apply post-processing techniques to remove high-variance components, aiming to make the embedding space more "isotropic" (uniform). This paper challenges that assumption, demonstrating that variance is a poor proxy for linguistic utility and that removing high-variance components can actively degrade performance on complex downstream tasks.

The Variance-Importance Fallacy

Word embeddings like GloVe and word2vec represent words as dense vectors. Because these spaces are often non-isotropic—meaning they are "pointy" and biased toward certain directions—popular post-processing algorithms have emerged to "clean" the space. These algorithms typically subtract the mean embedding and remove the top few principal components. While this often improves scores on simple word similarity benchmarks, the authors investigate whether this geometric smoothing comes at the cost of vital linguistic information, particularly syntactic signals.

Methods

The researchers employed four primary analytical strategies to probe the embedding space:

  1. Dimensional Saturation Analysis: Measuring performance on word similarity and sentence classification as principal components are added incrementally.
  2. Component Split Testing: Dividing the 300-dimensional space into Top-100 (high variance), Middle-100, and Bottom-100 (low variance) buckets to compare their individual utility.
  3. Linguistic Probing: Using specialized tasks like TreeDepth and TopConst to identify where syntactic information is stored.
  4. Stress-Testing Post-Processing: Evaluating the impact of the Post-Processing Algorithm (PPA) on complex tasks like Machine Translation (MT).
The Post-Processing Algorithm (PPA) used to remove high-variance components.

Key Insights and Results

The 200-Dimension Ceiling

Across both word similarity and sentence classification tasks, performance generally saturates at approximately 200 dimensions. The final 100 principal components, which explain the least variance, contribute negligible gains to these specific metrics.

Performance saturation across various sentence classification tasks as embedding dimensions increase.

Low-Variance Utility

Contrary to the idea that low-variance components are "noise," the "Bottom-100" components frequently outperformed the "Middle-100" components in sentence classification tasks (occurring in 7 out of 27 comparisons). This suggests that critical linguistic features are often tucked away in dimensions that PCA would otherwise deem insignificant.

The Cost of Isotropy

While making an embedding space more isotropic improves word similarity, it consistently hurts performance on tasks requiring syntactic nuance. Applying PPA led to a 4% average drop in accuracy for fastText embeddings on sentence classification. In low-resource Machine Translation, removing even the single most dominant principal component (D=1) caused a consistent decline in BLEU scores across all tested language pairs.

Conclusion

The study reveals that syntactic information is distributed throughout the embedding space, independent of variance. High-variance components often contain the "common parts" of language necessary for structural signals in translation and complex classification. As the field moves toward contextualized embeddings, these findings serve as a warning: optimizing for geometric uniformity or compression based on variance may inadvertently discard the very linguistic depth required for sophisticated NLP applications.

Summary updated

BibTeX
@inproceedings{gupta2020dimensional,
  author = {Vivek Gupta and Vikas Raunak and Vaibhav Kumar and Vivek Gupta and Florian Metze},
  title = {{On Dimensional Linguistic Properties of the Word Embedding Space}},
  booktitle = {RepL4NLP @ ACL},
  year = {2020},
  doi = {10.18653/v1/2020.repl4nlp-1.19},
}
Figure