Abstract
Word embeddings are ubiquitous in NLP and information retrieval, but it is unclear what they represent when the word is polysemous. Here it is shown that multiple word senses reside in linear superposition within the word embedding and simple sparse coding can recover vectors that approximately capture the senses. The success of our approach, which applies to several embedding methods, is mathematically explained using a variant of the random walk on discourses model (Arora et al., 2016). A novel aspect of our technique is that each extracted word sense is accompanied by one of about 2000 "discourse atoms" that gives a succinct description of which other words co-occur with that word sense. Discourse atoms can be of independent interest, and make the method potentially more useful. Empirical tests are used to verify and support the theory.
Introduction
In Natural Language Processing (NLP), word embeddings map words to high-dimensional vectors. However, polysemous words—words with multiple meanings, like "tie" (clothing, a draw in sports, or a physical knot)—pose a significant challenge. Traditionally, it was assumed that a single vector could not capture these distinct senses, leading to the development of complex "multi-prototype" models that generate separate embeddings for every possible sense.
This paper reveals that standard word embeddings (like word2vec and GloVe) are not monolithic; instead, they store the multiple meanings of polysemous words as a simple linear superposition (a weighted sum) of individual sense vectors. By applying sparse coding to these off-the-shelf embeddings, the authors recover "atoms of discourse"—interpretable vectors representing distinct concepts—allowing for effective Word Sense Induction (WSI) without the need for expensive neural retraining.
Methodology
The researchers propose a Linearity Assertion: the vector for a polysemous word is approximately the weighted sum of vectors representing its individual senses ($v_{word} \approx \sum \alpha_i v_{sense_i}$). To validate this, they extend the "random walk on discourses" model, where a "discourse vector" represents the current topic and words are emitted based on their similarity to this vector.
The core technique involves Sparse Coding. Word vectors are treated as a sparse combination of a hidden dictionary of approximately 2,000 "atoms of discourse." Using the $k$-SVD algorithm, the authors decompose embeddings into these atoms, each representing a fine-grained topic. A crucial step is the application of a linear transformation matrix ($A$) to "de-bias" context word averages, accounting for the smoothing effect of common words and the distribution of discourses.
The model was trained on a Wikipedia corpus of 3 billion tokens to create 300-dimensional base embeddings. Evaluation was conducted using SemEval 2010 (Task 14) for WSI, WordNet for ground-truth definitions, and a novel "Police Lineup Test" involving 200 polysemous words.
Results and Discussion
The study demonstrates that linearity is an emergent property of word embeddings. Despite the non-linear optimization used during training, vectors settle into a remarkably linear structure. Sparse coding effectively "unmixes" these senses in an unsupervised manner.
As illustrated in the recovery of senses for words like "tie" and "spring," the algorithm successfully identifies distinct semantic clusters. For "tie," the atoms correspond to clothing (trousers, blouse), sports (scoreline, league), and physical binding (wires, cables).
The recovered atoms are highly interpretable, representing fundamental building blocks of language. For instance, specific atoms capture concepts such as "drowning/suicide," "social media," or "orchestral music."
Empirically, the method outperformed several complex multi-embedding competitors on the SemEval 2010 task, achieving a V-Measure of 11.5. In the Police Lineup Test, the algorithm achieved 65% precision and 75% recall, performing on par with non-native human English speakers. Furthermore, "induced" embeddings created using the linear method matched actual GloVe vectors with a cosine similarity of 0.94 to 0.96, providing strong theoretical validation.
Conclusion
This work shows that polysemy is handled by standard word embeddings through linear superposition. While the 2,000 atoms are powerful, they are coarser than the tens of thousands of synsets in WordNet, potentially missing very rare senses. Future work may explore the deep links between these algebraic atoms and traditional topic models like LDA.
Summary updated