Interpretability researchers invoke the “linear representation hypothesis” in three incompatible ways: as a 1-D vector-difference subspace, as a linear probe classifier, or as an additive steering vector. Kiho Park, Yo Joong Choe, and Victor Veitch unify all three definitions mathematically and show that ordinary Euclidean cosine similarity cannot measure concept geometry because softmax probabilities are invariant to invertible linear transforms. Defining a causal inner product from the inverse covariance of the unembedding matrix maps output word-difference vectors directly onto clean steering directions, passing counterfactual alignment tests on 26 of 27 tested concepts in LLaMA-2-7B.
- Unidentifiable Euclidean geometry: Transforming context embeddings by any invertible matrix
A^{-T}and unembeddings byApreserves next-token softmax outputs identically, rendering Euclidean dot products meaningless on their own. - One closed-form metric: Under the assumption that causally separable concepts vary independently across the vocabulary, the causal inner product simplifies to
Cov(gamma)^{-1}, wheregammaranges over the 32,000 unembedding vectors in LLaMA-2-7B. - 26 of 27 concepts align: Counterfactual token pairs from BATS 3.0 and bilingual lexicons align tightly along leave-one-out concept directions against 100,000 random pairs; only
thing => partfails. - Gemma-2B exposes Euclidean failure: While LLaMA-2-7B unembeddings happen to stay roughly isotropic under Euclidean cosine similarity, Gemma-2B (which ties input and output embeddings) loses causal orthogonality under Euclidean geometry while staying orthogonal under
Cov(gamma)^{-1}.
How It Works
Park et al. separate two vector spaces that are routinely conflated: the context embedding space Lambda (final hidden state before logits) and the word unembedding space Gamma (rows of the vocabulary head). A binary concept W, such as male => female, is defined by counterfactual output pairs like (king, queen) and (actor, actress) that vary only in W. Two concepts W and Z are causally separable if they can vary independently, such as male => female and English => French (king, queen, roi, reine), unlike mutually exclusive language pairs such as English => French and English => Russian.
Because the sign of a contrast matters, unembedding differences lie in a directed cone rather than an unsigned line. Theorem 2.2 proves that if such an unembedding cone direction exists, log-odds between counterfactual completions are linear in the inner product with Lambda. Unlike a logistic probe trained on natural text (which absorbs spurious correlations, such as French articles skewing toward one gender), the unembedding direction isolates the target concept cleanly, connecting directly to work on the geometry of truth.
Steering works in the dual space. Directly finding context pairs that shift W without touching any off-target concept Z is hard in natural prompts. Instead, Park et al. require a causal inner product under which every pair of causally separable concept directions is orthogonal. Assuming separable concepts are statistically independent when tokens are sampled uniformly from the vocabulary, Theorem 3.4 proves that Cov(gamma)^{-1} satisfies this orthogonality up to a diagonal scaling matrix D (chosen as the identity). Transforming gamma by Cov(gamma)^{-1/2} makes the unembedding probe vector and the embedding activation addition vector identical.
Key Findings
Testing 27 concepts on LLaMA-2-7B (4,096 hidden dimensions, 32,000 SentencePiece tokens, 22 relations from BATS 3.0 plus four bilingual pairs and word frequency), the authors estimate each concept direction as the normalized mean difference across single-token counterfactual pairs (ranging from 4 pronoun pairs to 63 plural noun pairs).
- Subspace alignment: In leave-one-out projections, 26 of 27 concepts show clear positive alignment far above 100,000 random word pairs; only
thing => part(13 pairs such asbusandseats) lacks a linear direction. - Block-diagonal semantic structure: Under
Cov(gamma)^{-1}, causally separable concepts cluster near zero inner product, while non-separable families (verb inflections, language pairs) form clean correlation blocks. Notably,lower => uppercorrelates with English and German pairs while staying orthogonal toFrench => Spanish, matching shared Romance capitalization rules against German noun capitalization. - Zero-shot probing and surgical steering: Using
gammadifferences forFrench => Spanishseparates French and Spanish Wikipedia fragments (218and214prompts) whilemale => femaleshows zero separation. Conversely, addingalphatimes the whitenedmale => femalesteering vector to the prompt"Long live the "shifts top-1 next-token predictions cleanly without altering capitalization (log P("King") / P("king")stays flat).
Caveats and Builder Takeaway
Three practical constraints limit how directly engineers can apply this geometry. First, the formal theorems hold only at the final softmax boundary (Lambda and Gamma), not at intermediate layers where residual streams still undergo nonlinear attention and MLP updates or where contrastive activation addition typically intervenes. Second, subword tokenization introduces noise: multi-token words like "princess" ("prin" + "cess") had to be excluded, and polysemous subwords (French "bas" and "est" appearing inside English "basalt" and "estrogen") corrupt direction estimates. Third, the causal inner product retains d unidentifiable diagonal scale parameters (D).
For practitioners computing cosine similarities, projecting out directions, or building steering vectors at the unembedding layer, Euclidean dot products are only accidentally helpful in models like LLaMA-2 and break outright in tied-embedding models like Gemma-2B. Whitening vectors with Cov(gamma)^{-1} is a cheap, principled drop-in fix before measuring concept angles or constructing final-layer steering edits.


