Lune

NeurIPS2025Top-tier venue

On the Emergence of Linear Analogies in Word Embeddings

Daniel J. Korchinski, Dhruva Karkada, Yasaman Bahri, Matthieu Wyart

Abstract

Models such as Word2Vec and GloVe construct word embeddings based on the co-occurrence probability P(i,j)P(i,j) of words ii and jj in text corpora. The resulting vectors WiW_i not only group semantically similar words but also exhibit a striking linear analogy structure -- for example, Wking−Wman+Wwoman≈WqueenW_{\text{king}} - W_{\text{man}} + W_{\text{woman}} \approx W_{\text{queen}} -- whose theoretical origin remains unclear. Previous observations indicate that this analogy structure: (i) already emerges in the top eigenvectors of the matrix M(i,j)=P(i,j)/P(i)P(j)M(i,j) = P(i,j)/P(i)P(j), (ii) strengthens and then saturates as more eigenvectors of M(i,j)M (i, j), which controls the dimension of the embeddings, are included, (iii) is enhanced when using log⁡M(i,j)\log M(i,j) rather than M(i,j)M(i,j), and (iv) persists even when all word pairs involved in a specific analogy relation (e.g., king-queen, man-woman) are removed from the corpus. To explain these phenomena, we introduce a theoretical generative model in which words are defined by binary semantic attributes, and co-occurrence probabilities are derived from attribute-based interactions. This model analytically reproduces the emergence of linear analogy structure and naturally accounts for properties (i)-(iv). It can be viewed as giving fine-grained resolution into the role of each additional embedding dimension. It is robust to various forms of noise and agrees well with co-occurrence statistics measured on Wikipedia and the analogy benchmark introduced by Mikolov et al.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Function Vectors in Large Language Models cites Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
  • The Linear Representation Hypothesis and the Geometry of Large Language Models cites Function Vectors in Large Language Models
  • The Linear Representation Hypothesis and the Geometry of Large Language Models cites Language Models Represent Space and Time
  • From Kepler to Newton: Inductive Biases Guide Learned World Models in Transformers cites Language Models Represent Space and Time
  • A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity cites Function Vectors in Large Language Models
  • A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicity cites The Linear Representation Hypothesis and the Geometry of Large Language Models
  • Symmetries in language statistics shape the geometry of model representations cites Language Models Represent Space and Time
  • Symmetries in language statistics shape the geometry of model representations cites The Linear Representation Hypothesis and the Geometry of Large Language Models
  • Differential syntactic and semantic encoding in LLMs cites The Linear Representation Hypothesis and the Geometry of Large Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Symmetries in language statistics shape the geometry of model representationsDhruva Karkada, Daniel Korchinski, Andres Nava, Matthieu Wyart et al.ICML 2026 · 15 citations
  2. Differential syntactic and semantic encoding in LLMsSantiago Acevedo, Alessandro Laio, Marco BaroniICML 2026 · 7 citations
  3. From Kepler to Newton: Inductive Biases Guide Learned World Models in TransformersZiming Liu, Surya Ganguli, Andreas ToliasICML 2026

Builds on15

  1. Inference-Time Intervention: Eliciting Truthful Answers from a Language ModelKenneth Li, Oam Patel, Fernanda B. Viégas, Hanspeter Pfister et al.NeurIPS 2023 · 1,549 citations
  2. The Linear Representation Hypothesis and the Geometry of Large Language ModelsKiho Park, Yo Joong Choe, Victor VeitchICML 2024 · 461 citations
  3. Language Models Represent Space and TimeWes Gurnee, Max TegmarkICLR 2024 · 303 citations
  4. Function Vectors in Large Language ModelsEric Todd, Millicent L. Li, Arnab Sen Sharma, Aaron Mueller et al.ICLR 2024 · 229 citations
  5. A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and ToxicityAndrew Lee, Xiaoyan Bai, Itamar Pres, Martin Wattenberg et al.ICML 2024 · 177 citations

Related papers

  1. Closed-Form Training Dynamics Reveal Learned Features and Linear Structure in Word2Vec-like ModelsDhruva Karkada, James B. Simon, Yasaman Bahri, Michael R. DeWeeseNeurIPS 2025 · 9 citations
  2. ViCo: Word Embeddings From Visual Co-OccurrencesTanmay Gupta, Alexander G. Schwing, Derek HoiemICCV 2019 · 26 citations
  3. Embedding Words in Non-Vector Space with Unsupervised Graph LearningMax Ryabinin, Sergei Popov, Liudmila Prokhorenkova, Elena VoitaEMNLP 2020 · 1 citation
  4. Statistical Uncertainty in Word Embeddings: GloVe-VAndrea Vallebueno, Cassandra Handan-Nader, Christopher D. Manning, Daniel E. HoEMNLP 2024 · 3 citations
  5. ANALOGICAL - A Novel Benchmark for Long Text Analogy Evaluation in Large Language ModelsThilini Wijesiriwardene, Ruwan Wickramarachchi, Bimal G. Gajera, Shreeyash Mukul Gowaikar et al.ACL Findings 2023 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines