Table of Contents
Fetching ...

Linear Algebraic Structure of Word Senses, with Applications to Polysemy

Sanjeev Arora, Yuanzhi Li, Yingyu Liang, Tengyu Ma, Andrej Risteski

TL;DR

This paper shows that word senses in standard embeddings such as word2vec and GloVe reside in linear superpositions, formalized as the Linearity Assertion where a word vector is a nonnegative linear combination of its sense vectors. It grounds this in a Gaussian walk (random-discourse) model and derives a linear transform $A$ that links context averages to the target word embedding, then employs sparse coding with ~2000 discourse atoms to extract sense vectors and interrelate senses across words. The authors validate the theory with induced-embedding experiments, pseudoword and sense-subspace tests, and three WSI-oriented tasks, achieving competitive performance and introducing the novel discourse-atom interpretation. A new police-lineup evaluation further demonstrates practical, interpretable sense extraction from off-the-shelf embeddings, suggesting a scalable, theory-driven pathway for polysemy in NLP applications.

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.

Linear Algebraic Structure of Word Senses, with Applications to Polysemy

TL;DR

This paper shows that word senses in standard embeddings such as word2vec and GloVe reside in linear superpositions, formalized as the Linearity Assertion where a word vector is a nonnegative linear combination of its sense vectors. It grounds this in a Gaussian walk (random-discourse) model and derives a linear transform that links context averages to the target word embedding, then employs sparse coding with ~2000 discourse atoms to extract sense vectors and interrelate senses across words. The authors validate the theory with induced-embedding experiments, pseudoword and sense-subspace tests, and three WSI-oriented tasks, achieving competitive performance and introducing the novel discourse-atom interpretation. A new police-lineup evaluation further demonstrates practical, interpretable sense extraction from off-the-shelf embeddings, suggesting a scalable, theory-driven pathway for polysemy in NLP applications.

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.

Paper Structure

This paper contains 14 sections, 2 theorems, 17 equations, 1 figure, 9 tables, 1 algorithm.

Key Result

Theorem 1

Assume the above generative model, and let $s$ denote the random variable of a window of $n$ words. Then, there is a linear transformation $A$ such that $v_w \approx A~\mathbb{E}\left[\frac{1}{n}\sum_{w_i \in s} v_{w_i}\mid w\in s\right]$.

Figures (1)

  • Figure 1: Precision and recall in the police lineup test. (A) For each polysemous word, a set of $n = 20$ senses containing the ground truth senses of the word are presented. Human subjects are told that on average each word has 3.5 senses and were asked to choose the senses they thought were true. The algorithms select $t$ senses for $t=1,2,\dots, 6$. For each $t$, each algorithm was run 5 times (standard deviations over the runs are too small to plot). (B) The performance of our method for $t=4$ and $n=20,30,\dots,70$.

Theorems & Definitions (4)

  • Theorem 1
  • proof
  • Theorem 2: Main
  • proof