In an ideal vector space, the distance between two word embeddings should reflect their semantic relationship. We expect "apple" to be near "pear" because they are fruits, not because they appear equally often in a newspaper. However, research across both static and contextualized embeddings has revealed a persistent "frequency bug": the statistical popularity of a word fundamentally distorts its geometric position, volume, and relationship to other words.
Frequency as a Geometric Coordinate
In models ranging from Word2Vec to BERT, a word's frequency in the training corpus acts as a hidden dimension. Kaitlyn Zhou, Kawin Ethayarajh, and Dan Jurafsky demonstrated in Frequency-based Distortions in Contextualized Word Embeddings that high-frequency and low-frequency terms occupy vastly different regions of the vector space.
This segregation occurs because of how models learn. Chengyue Gong and colleagues explain in FRAGE: Frequency-Agnostic Word Representation that frequent words receive more gradient updates, pushing them further from their random initialization point. Rare words, conversely, remain "trapped" near the origin. This creates a structural imbalance where the nearest neighbor of a rare word is often just another rare word, regardless of whether their meanings overlap.
The Magnitude and Volume Problem
The most visible artifact of frequency is the L2 norm (the length of the vector). Toan Nguyen and David Chiang found that embedding magnitudes correlate strongly with training frequency, allowing common words to dominate probability distributions simply by being "longer" Improving Lexical Choice in Neural Machine Translation.
Beyond length, frequency dictates the volume a word occupies. In contextualized models like BERT, a single word has many embeddings depending on its context. Zhou et al. (2021) showed that high-frequency words inhabit larger "bounding hyperspheres." Because these words are used in more diverse ways, their representations spread out across the space. This expansion has a counter-intuitive side effect: it makes common words appear less similar to themselves.
Why Cosine Similarity Fails
We typically use cosine similarity to measure semantic closeness, but this metric is mathematically biased by the frequency-induced spread. In Problems with Cosine as a Measure of Embedding Similarity for High Frequency Words, researchers found that cosine similarity systematically underestimates the closeness of frequent words.
Because frequent words occupy a larger geometric volume, their normalized projections on a unit sphere diverge even when used in identical senses. This isn't a linguistic phenomenon; it's a geometric artifact. As Yi Zhou and Danushka Bollegala argue, the standard practice of dividing by the vector norm mechanically suppresses the similarity scores of common terms Solving Cosine Similarity Underestimation between High Frequency Words by l2 Norm Discounting.
Structural Consequences: Anisotropy and Hubness
This frequency bias leads to two major structural failures in language models:
- Anisotropy (The Cone Effect): Instead of using the full high-dimensional space, embeddings often cluster into a narrow cone. Di He and Xu Tan identified this as the "representation degeneration problem," where the model's focus on maximizing likelihood for frequent words causes the entire space to collapse toward a few dominant directions Representation Degeneration Problem in Training Natural Language Generation Models.
- Stolen Probability: Because rare words have smaller norms and live in the interior of the vector space, they can be "trapped" within the convex hull of more frequent words. David Demeter and Doug Downey showed that this geometric positioning imposes a "probability ceiling" on rare words, making it mathematically impossible for the model to predict them with high confidence, even in the perfect context Stolen Probability: A Structural Weakness of Neural Language Models.
Restoring Semantic Integrity
To fix these distortions, researchers have proposed several "de-biasing" techniques that decouple frequency from meaning:
- Centering and Whitening: Jiaqi Mu and Pramod Viswanath proposed "All-but-the-Top" post-processing, which removes the common mean vector and dominant frequency-aligned components to restore isotropy All-but-the-Top: Simple and Effective Postprocessing for Word Representations. More recently, Sho Yokoi introduced Zipfian Whitening, which weights these transformations by actual word frequencies to better align with the power-law nature of language Zipfian Whitening.
- Norm Discounting: By explicitly adjusting vector lengths based on log-frequency, models can correct the underestimation of similarity between common words Zhou et al. (2023).
- Adversarial Training: Frameworks like FRAGE and SLT-FAI use adversarial objectives to force the model to produce embeddings where a discriminator cannot guess the word's frequency from its position Unsupervised Sentence Representation Learning with Frequency-induced Adversarial Tuning.
By understanding that frequency is a geometric force, researchers are moving toward models where the "distance" between words finally reflects what they mean, rather than just how often we say them.