The Geometries of Truth Are Orthogonal Across Tasks

Waïss Azizian, Michael Kirchhof, Eugene Ndiaye, Louis Béthune, Michal Klein, Pierre Ablin, marco cuturi

TL;DR

Recent work suggested that large language models encode a universal, linear "geometry of truth" in their internal activations, enabling simple classifiers to spot hallucinations. This paper demonstrates that these geometries are fundamentally task-dependent: probe directions across distinct tasks are nearly orthogonal, rely on disjoint sets of features, and fail to generalize out-of-domain. Even nonlinear mixture-of-probes and multi-task training cannot bridge this gap, meaning universal internal lie detectors remain out of reach.

What Problem Does This Paper Address?

Reliability remains one of the greatest roadblocks to deploying LLMs in high-stakes fields like healthcare, finance, and law. To address hallucinations, several recent studies claimed that an LLM’s internal activations contain a linear subspace separating true generations from false ones (the geometry of truth hypothesis).

However, existing evaluations paint conflicting pictures of whether a probe trained on one dataset can reliably detect errors on an unseen task. The authors investigate whether cross-task probing failures are mere artifacts of insufficient data and simple architectures, or reflect an intrinsic geometric limitation in how language models encode correctness.

Methods

The authors train linear logistic regression probes on hidden representations $h_{T, \ell^*}$ extracted at the final token (or the token immediately preceding it) at specific layers (the final layer and 75% depth) across three open-weight models: Qwen 2.5 7B Instruct, Phi-4 Mini, and Llama 3.1 8B Instruct. Correctness labels are assigned using an LLM-as-a-judge pipeline.

To dissect cross-task behavior, the authors use:

  • Geometric and Support Analysis: Computing pairwise cosine similarities between probe weight vectors and training $L_1$-regularized (sparse) logistic probes to analyze whether tasks recruit overlapping or disjoint activation coordinates.
  • Subspace Projections: Constraining a target probe to lie strictly within the linear subspace spanned by non-target task probes ($\theta = \sum \alpha_i \theta_i$) to test if target truth directions can be reconstructed from other tasks.
  • Mixture of Probes (MoP): Replacing linear probes with an ensemble of 16 two-layer feedforward expert networks managed by a learned gating layer (inspired by Mixture-of-Experts) to test if architectural capacity overcomes generalization limits.
  • Conformal Prediction: Applying standard split conformal prediction and multi-task conformal prediction (Meta-CP) to enforce strict false-positive rate guarantees ($\text{FPR} \le 0.3$) under cross-task distribution shift.

Datasets

The authors benchmarked across seven diverse datasets spanning different cognitive and reasoning demands:

  • Open-domain Factual QA: Natural Questions (NQ), SimpleQA.
  • Context-dependent Reading Comprehension: TriviaQA, SQuAD.
  • Biomedical QA: BioASQ.
  • Mathematical Word Problems: SVAMP (elementary arithmetic) and GSM8K (multi-step math).

No new datasets were introduced; instead, these benchmarks were selected to test semantic transfer between related tasks (e.g., TriviaQA $\leftrightarrow$ NQ) versus distinct domains (e.g., math $\leftrightarrow$ biology).

Key Insights and Ideas

  • Orthogonal Truth Vectors: Truthfulness directions across dissimilar tasks are nearly orthogonal (cosine similarity typically $< 0.5$, and often near $0.1$ between math and general QA). High geometric similarity occurred almost exclusively between closely related tasks (e.g., TriviaQA and NQ reached $\sim 0.73$).
  • Disjoint Sparse Supports: Sparse ($L_1$) probes achieve comparable AUROC to $L_2$ probes while exposing that probe weights rely on largely disjoint coordinate sets. Most task pairs exhibit $< 15\%$ feature support overlap, with only semantically close pairs exceeding $30\%$.
  • Task Boundaries Eclipse Truth Signals: t-SNE visualizations of the LLM’s hidden state activations show distinct, separated clusters defined primarily by task identity; the difference between "right" and "wrong" answers is merely secondary, localized intra-cluster variance.
  • Target Directions Lie Outside Non-Target Subspaces: Forcing a target task's probe to be a linear combination of probes from the other six tasks results in heavy performance degradation, proving that target truthfulness vectors cannot be synthesized from a mixture of existing task directions.
  • Model Expressivity Does Not Fix the Problem: A nonlinear Mixture-of-Probes architecture trained on multi-task mixtures performed no better than a simple linear probe on the same held-out data.
       [ Task Clustering in Latent Space ]
   ( BioASQ )         ( TriviaQA / NQ )       ( GSM8K )
   [✓] vs [✗]           [✓] vs [✗]           [✓] vs [✗]
        \                     |                     /
         \                    |                    /
     Truth directions are mutually orthogonal (~90°)

Key Results

  • Transfer Performance Drops: Zero-shot cross-task probe transfer leads to AUROC drops of up to $0.23$ to $0.35$ (e.g., probes trained on BioASQ or math transferring to other domains). Probe cosine similarity directly predicts cross-task AUROC difference ($r = 0.59$ to $0.85$, $p < 10^{-4}$).
  • Summation Equals Joint Training: Training a single linear probe on all tasks simultaneously yields roughly the same performance as simply summing the parameter vectors of independently trained probes. This strongly confirms that task weight vectors occupy non-interfering, orthogonal subspaces.
  • Failure of Calibration via Conformal Prediction:
  • Uncalibrated probes exceeded the target error threshold ($\text{FPR} = 0.34 > 0.30$).
  • Meta-conformal prediction successfully bounded the false positive rate ($\text{Mean FPR} = 0.09$, 80th-percentile $\text{FPR} = 0.23$).
  • However, this safety came at a catastrophic cost to utility: recall collapsed to 0.24 (compared to $0.52$ for plain probes and $0.56$ for standard CP). Because the probe's direction is misaligned with the target geometry, conformal prediction has to become excessively conservative to meet error guarantees.

Limitations and Future Work

  • Layer and Token Specificity: Experiments primarily analyze representations at the final output token (and the token preceding it) at selected late layers (e.g., layer 28 in Qwen-2.5 7B, layer 32 in Llama-3.1 8B). While multi-layer concatenations were referenced in prior literature, they were not exhaustively swept here.
  • LLM-as-a-Judge Noise: Correctness labels rely on LLM judges, which may occasionally introduce supervision noise on complex tasks.
  • Open Direction: Since internal truth geometries do not naturally align across domains, future work must explore whether pre-training objectives or representation alignment techniques can encourage shared truthfulness directions across heterogeneous tasks.

Summary updated

BibTeX
@inproceedings{azizian2025geometries,
  author = {Waïss Azizian and Michael Kirchhof and Eugene Ndiaye and Louis Béthune and Michal Klein and Pierre Ablin and marco cuturi},
  title = {{The Geometries of Truth Are Orthogonal Across Tasks}},
  booktitle = {R2-FM @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=FdfvGu5rM5},
}
Figure