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 by A preserves 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}, where gamma ranges 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 => part fails.
  • 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 the causal inner product unifies three linear notions
1. Output space (Gamma)
Counterfactual word pairs such as king and queen define an unembedding cone.
Measurement probe (Theorem 2.2)
Log-odds between counterfactual completions are strictly linear in context embedding dot product with the concept direction, without absorbing correlated confounders.
2. Causal bridge
Riesz isomorphism under Cov(gamma)^-1 enforces orthogonality.
Whitened unification (Theorems 3.2 and 3.4)
Multiplying the unembedding direction by inverse unembedding covariance maps it directly to the matching embedding steering vector.
3. Input space (Lambda)
Context differences shift target concepts while holding separable concepts fixed.
Intervention vector (Theorem 2.5)
Adding scaled embedding directions raises target-concept log-odds while keeping orthogonal concepts like capitalization constant.

Source: Park et al. (2024), Sections 2 through 3 and Appendix A.

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 as bus and seats) 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 => upper correlates with English and German pairs while staying orthogonal to French => Spanish, matching shared Romance capitalization rules against German noun capitalization.
  • Zero-shot probing and surgical steering: Using gamma differences for French => Spanish separates French and Spanish Wikipedia fragments (218 and 214 prompts) while male => female shows zero separation. Conversely, adding alpha times the whitened male => female steering vector to the prompt "Long live the " shifts top-1 next-token predictions cleanly without altering capitalization (log P("King") / P("king") stays flat).
Steering “Long live the ” along the whitened male-to-female direction in LLaMA-2-7B (where _ is the SentencePiece leading-space token)
RankAlpha 0Alpha 0.1Alpha 0.2Alpha 0.3Alpha 0.4
1kingQueenqueenqueenqueen
2KingqueenQueenQueenQueen
3Queenking_ladylady
4queenKingladywomanwoman
5__kingwomenwomen

Top-5 vocabulary tokens as intervention scale alpha increases. Source: Park et al. (2024), Section 4, Table 1.

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.