The Linear Representation Hypothesis and the Geometry of Large Language Models

Kiho Park, Yo Joong Choe, Victor Veitch
2/12/2026

No official code found. Best implementation: KihoPark/linear_rep_geometry (125 stars, last commit 2025-02-11).

Abstract

Informally, the 'linear representation hypothesis' is the idea that high-level concepts are represented linearly as directions in some representation space. In this paper, we address two closely related questions: What does"linear representation"actually mean? And, how do we make sense of geometric notions (e.g., cosine similarity or projection) in the representation space? To answer these, we use the language of counterfactuals to give two formalizations of"linear representation", one in the output (word) representation space, and one in the input (sentence) space. We then prove these connect to linear probing and model steering, respectively. To make sense of geometric notions, we use the formalization to identify a particular (non-Euclidean) inner product that respects language structure in a sense we make precise. Using this causal inner product, we show how to unify all notions of linear representation. In particular, this allows the construction of probes and steering vectors using counterfactual pairs. Experiments with LLaMA-2 demonstrate the existence of linear representations of concepts, the connection to interpretation and control, and the fundamental role of the choice of inner product.

View on arXivView PDF

Code Implementations(1)

12512Python, Jupyter NotebookOct 28, 20231 years ago

Similar Papers

Cite this paper

@article{park2026linear,
  title  = {The Linear Representation Hypothesis and the Geometry of Large Language Models},
  author = {Kiho Park and Yo Joong Choe and Victor Veitch},
  year   = {2026},
  eprint = {2311.03658},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2311.03658},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.03658.svg)](https://codeofpaper.com/paper/2311.03658)

Discussion