---
title: Linear Truth Probes Overview
url: https://www.emergentmind.com/topics/linear-truth-probes
type: topic
---

# Linear Truth Probes Overview

Searching arXiv for recent papers on linear truth probes and related truth-direction work.
Linear truth probes are linear classifiers defined on hidden activations of large language models (LLMs) that seek a direction in activation space separating representations associated with true statements from those associated with false statements. In the formulation emphasized by Marks and Tegmark, a probe is a single direction in the model’s activation space that approximately separates true from false statements, with the basic score given by a projection of a hidden-state vector onto that direction [2310.06824]. Subsequent work has generalized the same paradigm to affine scoring functions of the form $s(x)=w^\top h(x)+b$, trained by logistic regression, linear SVM, mean-difference, or mass-mean procedures, and has studied their consistency across model scales, logical transformations, question answering, conversational formats, and task domains [2506.00823]. The resulting literature presents both positive and negative conclusions: in some sufficiently capable models and narrowly controlled settings, truthfulness behaves like a salient geometric feature; in other settings, the “geometry of truth” is layer-dependent, prompt-sensitive, context-sensitive, or task-specific rather than universal [2506.08572].

## 1. Definition and formalism

A linear truth probe operates on a hidden representation $h(x)\in\mathbb{R}^d$ extracted from a chosen layer and token position. The core hypothesis is that, in a sufficiently capable LLM, truthfulness is encoded as a roughly one-dimensional feature in the model’s high-dimensional activation space, so that there exists a truth direction $w\in\mathbb{R}^d$ and bias $b\in\mathbb{R}$ with score
$$
s(x)=w^\top h(x)+b.
$$
Passing $s(x)$ through a sigmoid yields a probabilistic prediction, and thresholding yields a binary prediction [2506.00823].

Several probe constructions recur across the literature. In Marks and Tegmark’s formulation, for a labeled dataset $\mathcal{D}$ of statements with labels $y\in\{+1,-1\}$ and hidden vectors $h(x)$, the difference-in-mean direction is
$$
\mu_+ = \mathrm{mean}\{h(x)\mid y(x)=+1\},\qquad
\mu_- = \mathrm{mean}\{h(x)\mid y(x)=-1\},
$$
$$
v_{\mathrm{naive}}=\mu_+ - \mu_-,
$$
with score $s(x)=v_{\mathrm{naive}}^\top h(x)$ and prediction $\hat y(x)=\mathrm{sign}(s(x))$ [2310.06824]. The same work also introduces mass-mean probing,
$$
w_{\mathrm{mm}}=\Sigma^{-1}(\mu_+ - \mu_-),
$$
where $\Sigma$ is the covariance of the pooled, centered activations, followed by $p_{\mathrm{mm}}(x)=\sigma(w_{\mathrm{mm}}^\top h(x))$ [2310.06824].

Other studies use standard logistic regression or linear SVM. The logistic-regression form is
$$
\hat y_i=\sigma(w^\top h_i+b),
$$
optimized by binary cross-entropy,
$$
\mathcal{L}(w,b)= - \sum_i \left[y_i\log \hat y_i + (1-y_i)\log(1-\hat y_i)\right],
$$
or, equivalently, as an expectation over examples [2506.00823]. Linear SVM probes instead solve the primal margin objective
$$
\min_{w,b,\xi}\ \frac12\|w\|^2 + C\sum_i \xi_i
\quad\text{s.t.}\quad
y_i(w^\top h_i+b)\ge 1-\xi_i,\ \xi_i\ge 0
$$
[2506.00823].

The same formal pattern appears in work on conversational lie detection, where the probe is written as $f(h)=\sigma(w^\top h+b)$ with $\ell_2$-regularized binary cross-entropy, and in work on strategic deception, where a logistic-regression probe is fit to residual-stream activations at a fixed layer [2505.09807] [2502.03407]. Across these settings, the operational content of a linear truth probe is stable: a hyperplane in activation space is used to classify hidden states as corresponding to true versus false, correct versus incorrect, or honest versus deceptive responses.

## 2. Early evidence for a linear truth direction

The canonical evidence for linear truth probes was organized by Marks and Tegmark into three lines: visualization, transfer, and causal intervention [2310.06824].

First, visualization via PCA showed that hidden representations for curated true/false datasets such as world-city membership, Spanish–English translation, and numerical comparisons formed two clusters that were nearly linearly separable in the top two principal components [2310.06824]. The same study reported that once the first $d$ principal components were removed via projection, almost no further linear probe could distinguish truth, suggesting that nearly all linearly accessible truth information lay in the top principal components [2310.06824].

Second, transfer experiments were designed by training a probe on $80\%$ of one dataset, evaluating on the held-out $20\%$ IID test split, and then evaluating on whole other datasets. In the reported LLaMA-13B layer-13 residual-stream setting, a probe trained on numerical comparisons achieved $92\%+$ accuracy when tested on Spanish–English translation, and mass-mean probing generalized slightly better than vanilla logistic regression and unsupervised CCS [2310.06824]. Probes trained on true/false datasets also vastly outperformed probes trained on “likely” text, which was taken as evidence that the model was not merely separating plausible from implausible language [2310.06824].

Third, causal intervention experiments attempted to show that the truth direction was causally implicated in the model’s decision to output TRUE versus FALSE. Patching-based localization identified a small group of layers and tokens above which truth was computed, using the quantity
$$
PD = P_{\mathrm{model}}(\text{“TRUE”}) - P_{\mathrm{model}}(\text{“FALSE”}).
$$
Vector-addition interventions then modified hidden states by
$$
h'(x;\ell,k)=h(x;\ell,k)+\alpha v,
$$
where $v$ was a normalized probe direction applied at localized layer-token positions [2310.06824]. The intervention was summarized with the Normalized Indirect Effect,
$$
NIE=\frac{PD^-_* - PD^-}{PD^+ - PD^-},
$$
where $NIE\approx 1$ indicates that the intervention makes a false statement look as true as a genuine true statement [2310.06824]. In LLaMA-13B, a mass-mean probe trained on cities+neg\_cities yielded $NIE\approx 0.95$ for false$\to$true and $NIE\approx 1.41$ for true$\to$false, whereas a logistic-regression probe on the same data achieved $NIE\approx 0.66/0.58$, and probes trained on “likely” text had almost no causal effect with $NIE\approx 0.01$ [2310.06824].

These results were interpreted as evidence that, at sufficient scale, LLMs linearly represent the truth or falsehood of factual statements, and that simple difference-in-mean probes can recover directions that are at least as causally implicated as more complex alternatives [2310.06824].

## 3. Probe families, geometry, and causal interpretation

The literature distinguishes several families of truth probes, with different tradeoffs between simplicity, interpretability, and robustness. Difference-in-mean and mass-mean probes are described as zero-cost and as identifying a concrete direction $v$, unlike a full logistic-regression fit which “hides” the direction in a margin-maximizing ellipsoid [2310.06824]. Under Gaussian assumptions, mass-mean matches logistic regression’s average direction while retaining the interpretability of an explicit vector [2310.06824].

Alternative probe recovery procedures include CCS, CCR, logistic regression, linear SVM, and, in later work, orthogonal multi-direction constructions. CCS uses pairs of opposing sentences and an unsupervised consistency objective; CCR reflects paired representations across a learned hyperplane; mass-mean probing uses $w=\mu_+-\mu_-$; and supervised logistic regression learns $w$ by minimizing cross-entropy [2404.18865]. The presence of these methods reflects a methodological dispute over whether a truth direction is best viewed as a single separating direction, an affine hyperplane, or one element within a richer family of linearly decodable directions.

Causal interpretation has remained central. In Marks and Tegmark, the vector-addition intervention was presented as evidence that the identified direction participates causally in generation decisions [2310.06824]. A related causal design appears in work on context-sensitive belief directions, where a premise embedding $h_Q$ is shifted along a belief direction,
$$
h'_Q = h_Q + \alpha w,
$$
and the resulting change in a later hypothesis representation is measured through the same direction [2404.18865]. That work reported maximal mean $\Delta p$ around $0.10$–$0.14$ in the best layers, and argued that belief directions are among the causal mediators in the inference process that incorporates in-context information [2404.18865]. The same paper also defined premise-effect and several normalized error scores, showing that probe outputs could respond correctly to entailment or contradiction while also being affected by irrelevant context [2404.18865].

A more intervention-oriented extension is “Truth Forest,” which replaces a single truth axis with multiple orthogonal probes per attention head. In that framework, the probe matrix $P=[\theta_1,\dots,\theta_k]$ is trained with cross-entropy plus an orthogonality penalty
$$
L_{\mathrm{orth}}=\sum_{i<j}|\langle \theta_i,\theta_j\rangle|,
$$
and the resulting head-level directions are aggregated with exponential decay weights into a multi-scale ensemble [2312.17484]. Truth Forest also introduces “Random Peek,” which truncates each answer at a random cutoff and extracts head features at the final retained position, motivated by a generating–discerning gap between where truth is represented for classification and where it is useful for generation [2312.17484]. This work suggests that the single-direction picture may be incomplete in intervention settings even when linear separability remains important.

A plausible implication is that “linear truth probes” now denote not one single algorithm but a family of low-complexity readouts, ranging from one-dimensional difference-in-mean directions to multi-direction orthogonal ensembles, all grounded in the claim that truth-related information is linearly accessible in hidden space.

## 4. Generalization across logical forms, question answering, and context

Later work expanded the original true/false-statement setting to logical transformations, question answering, contextual tasks, and conversational formats. A central result is that probes trained on declarative atomic statements can generalize beyond those training distributions, but only under some conditions [2506.00823].

In a study of consistency across logical transformations and QA, probes were trained on affirmative atomic statements in six topics and tested on their syntactic negations. Negation generalization, measured by AUROC $>0.5$, improved strongly with model capability: Llama-2-7B showed AUROC $\approx 50\%$ on no topics, Llama-2-13B $\approx 60$–$65\%$ on $4/6$ topics, Llama-3.1-8B $\approx 75$–$85\%$ on $4/6$, and Llama-3.1-70B-Instruct $\approx 90$–$95\%$ on $6/6$ [2506.00823]. The same study found that on Llama-3.1-8B, conjunction AUROC was approximately $93$–$97\%$ across topics and disjunction AUROC approximately $88$–$93\%$ [2506.00823]. On QA tasks, probes trained on atomic statements generalized to MMLU and TriviaQA with AUROC, ECE, and Brier Score reported across zero-shot and few-shot settings; on contextual tasks, SciQ zero-shot reached AUROC $\approx 99\%$, BoolQ with options AUROC $\approx 91\%$, and XSum zero-shot AUROC $\approx 88\%$, improving to $94\%$ under TTT prompting [2506.00823].

The same paper described a practical selective question-answering procedure: for multiple sampled answers $A_1,\dots,A_n$ to question $Q$, the probe scores each concatenated $(Q,A_i)$ pair as $s_i=w^\top h(Q\|A_i)+b$, converts to $P_i=\sigma(s_i)$, and retains only those answers with $P_i>0.5$ [2506.00823]. On TriviaQA with 20 sampled answers for Llama-3.1-8B and an SVM probe, overall sample accuracy was $55.29\%$, the probe labeled approximately $80.26\%$ as true, and accuracy among retained answers rose to $64.06\%$, a gain of about 9 points [2506.00823].

Generalization in conversational settings is more fragile. In work on conversational formats, probes trained on short assistant–user dialogues ending in a true or false statement generalized well to other short formats, but poorly to longer formats in which the lie appeared earlier in the input prompt [2505.09807]. For Llama-3-8b-Instruct at layer 18, $F_1\to F_1$ accuracy was $91.8\pm 1.2$, whereas $F_1\to F_1+L$ dropped to $58.7\pm 2.5$ [2505.09807]. Appending the fixed key phrase “Please determine whether any statement above is false. Answer Yes/No.” substantially improved this cross-format transfer, with average $F_1$ accuracy at layer 18 rising from $58.7\%$ to $83.4\%$ for Llama and from $62.1\%$ to $88.1\%$ for Mistral [2505.09807]. PCA visualizations were used to show that the key phrase preserved the geometry of true/false separability as conversation length increased [2505.09807].

Context sensitivity adds a further complication. Probes can show non-trivial responsiveness to supporting or contradicting premises, but also large sensitivity to irrelevant or corrupted context, and the error pattern depends on layer, model type, and data [2404.18865]. This suggests that truth directions may capture conditional beliefs in context while also being vulnerable to spurious prompt effects.

## 5. Limits of universality: task dependence, layers, prompts, and orthogonality

A major controversy in the area concerns whether there exists a universal truth direction. Several studies argue that claims of universality are substantially limited [2506.08572] [2604.03754].

One line of criticism examines cross-task transfer for probes trained to distinguish correct versus incorrect answers on generated outputs. In work on “The Geometries of Truth Are Orthogonal Across Tasks,” probes were trained separately on TriviaQA, NaturalQuestions, SimpleQA, SQuAD, BioASQ, GSM8K, and SVAMP, using hidden activations at a fixed layer and token position [2506.08572]. The average cosine similarity between task-specific probe weights was often below $0.3$, with only closely related task pairs such as TriviaQA and NQ reaching cosine similarity around $0.7$ [2506.08572]. The Pearson correlation between cross-task AUROC boost and cosine similarity was $r=0.59$ with $p<10^{-4}$ [2506.08572]. When $\ell_1$-regularized probes were used, support overlap was below $15\%$ for most task pairs, and even the best pair, TriviaQA versus NQ, overlapped only about $35\%$ [2506.08572]. Training on unions of tasks or with a mixture-of-experts did not recover a universal direction: for Qwen-2.5 on TriviaQA, in-domain AUROC was $0.90\pm 0.01$, NQ$\to$TriviaQA was $0.75\pm 0.02$, training on all other six tasks yielded $0.78\pm 0.02$, and mixture-of-experts yielded $0.79\pm 0.03$ [2506.08572].

Another line of criticism focuses on layer, task-type, and prompt dependence. “Testing the Limits of Truth Directions in LLMs” showed that truth directions are highly layer-dependent and differ between factual retrieval and reasoning tasks [2604.03754]. On Llama-3.1-8B-Instruct, factual tasks F0–F3 reached AUROC $\approx 1.0$ by layers 8–12, whereas counting tasks F4 and F5 peaked much later, around layers 18–22, and often below perfect; arithmetic A1 neared 1.0 around layer 22, A2 around layer 25, and A3 only reached about $0.9$ by layer 30+ [2604.03754]. Early-layer probes trained on F0 could invert true and false on F1 negation with AUROC $\approx 0.0$, only recovering by mid-layers, which the authors interpreted as evidence that early layers capture polarity cues rather than truth [2604.03754]. Prompting also changed the geometry: cosine similarity between no-prompt and ask-correct truth directions was low, approximately $0.1$–$0.2$, and a no-prompt probe tested on ask-correct activations suffered AUROC drops of about $0.2$–$0.3$ on arithmetic tasks at their emergence layers [2604.03754].

A related critique concerns model capability. The 2025 generalization study concluded that not all LLMs exhibit consistent truth directions, with stronger representations observed in more capable models, particularly in logical negation [2506.00823]. This point aligns with Marks and Tegmark’s conclusion that the evidence is strongest “at sufficient scale” [2310.06824].

Taken together, these findings oppose a strong universality thesis. Linear truth probes can be highly effective within controlled domains or in sufficiently capable models, but the geometry they exploit can be task-dependent, layer-dependent, and prompt-sensitive rather than invariant across settings.

## 6. Beyond binary truth: deception, “neither,” and robustness under shift

The truth-probe paradigm has also been extended from binary factual correctness to deception monitoring and ternary veracity classification. These extensions preserve the use of linear readouts but alter the target phenomenon.

In work on strategic deception, a logistic-regression probe was trained on token-level activations from layer 22 of Llama-3.3-70B-Instruct using two synthetic training sets: a contrasting-instructions dataset of 10,000 honest/deceptive pairs and a roleplaying scenarios dataset graded on a 1–7 honesty scale [2502.03407]. On evaluation datasets, the instructed-pairs-trained probe achieved AUROC $0.964$ on Roleplaying, $0.999$ on Insider Trading Report, $0.974$ on Insider Trading Confirmation, and $0.983$ on Sandbagging, with recall at $1\%$ false positive rate ranging from $0.96$ to $1.00$ [2502.03407]. The study emphasized that output monitoring alone is insufficient because deceptive models may produce seemingly benign text while internal reasoning remains misaligned [2502.03407].

Pressure-testing work complicates this optimistic picture. A 2026 study across Gemma 3 models examined four hypotheses about deception encoding: a single linear direction, a low-dimensional symmetric subspace, a convex conic hull, and an entropy proxy [2605.27958]. The single-direction hypothesis was rejected, with one-dimensional probes achieving only AUROC $0.61$–$0.80$ while full probes exceeded $0.99$ on clean data [2605.27958]. Deception did not form a statistically significant low-dimensional linear subspace under the paper’s permutation-null test, yet multi-dimensional probes with $k\ge 5$ recovered AUROC at or above $0.90$, which the authors interpreted as a distributed, sub-threshold encoding [2605.27958]. Vanilla probes collapsed under stylistic shifts, with mean AUROC on held-out styles falling to $0.49$ for Gemma 3 27B, while style-augmented training restored held-out mean AUROC to $0.983$ at 27B and $0.979$ at 4B [2605.27958]. This was presented as evidence that apparent fragility can be a distributional-narrowness artifact rather than a fundamental architectural limitation [2605.27958].

A different extension is ternary veracity. “The Trilemma of Truth in Large Language Models” argues that LLMs capture a third type of signal distinct from true and false and neither true nor false [2506.23921]. The paper introduces sAwMIL, a sparse-aware multiple-instance learning method with conformal prediction, evaluating five validity criteria—correlation, generalization, selectivity, manipulation, and locality—across 16 open-source LLMs and three datasets [2506.23921]. Its multiclass version trains one-vs-all probes for true, false, and neither, combines them via softmax, and calibrates outputs with split-conformal prediction [2506.23921]. Across 16 models, multiclass sAwMIL achieved average W-MCC approximately $0.89$ on City Locations, $0.78$ on Medical Indications, and $0.87$ on Word Definitions, with chat models outperforming default models by about $0.05$–$0.1$ W-MCC [2506.23921]. The same study reported that the veracity signal is often concentrated in the third quarter of an LLM’s depth and that truth and falsehood signals are not always symmetric [2506.23921].

These developments broaden the scope of linear truth probes from simple true/false factuality to internal belief monitoring, deception detection, abstention, and uncertainty-aware classification. They also indicate that binary linear separation is not always the right abstraction.

## 7. Interpretive significance, mechanisms, and open problems

Several papers connect linear truth probes to broader questions about internal world models and the emergence of linear representations. Marks and Tegmark interpret the existence of a stable truth direction as suggesting that LLMs build a world-model that encodes factual correctness as a mostly linear feature [2310.06824]. A later mechanistic study introduces a one-layer transformer toy model in which truth encoding emerges because factual statements co-occur with other factual statements, so representing a latent truth bit lowers language-modeling loss on future tokens [2510.15804]. In that toy setting, learning exhibited two phases: rapid memorization of factual associations followed by a slower phase in which true versus false contexts became linearly separable after layer normalization, reducing LM loss [2510.15804]. The same work reported AUC rising from about $0.5$ to about $0.95$ around batch 7,500 in the toy model, and AUC above $95\%$ from middle layers onward when probing pretrained Llama-3-8B and Pythia 6.9B under CounterFact-based settings [2510.15804].

Other work suggests that a bag of linear directions may itself be a projection of more structured latent organization. “Tensor Product Representation Probes Reveal Shared Structure Across Linear Directions,” though developed in the Othello setting rather than factual truth evaluation, argues that directional representations may be projections of more structured underlying representations [2605.09967]. This suggests that linear truth directions could reflect a compressed readout of richer relational representations, although the paper does not study factual truth directly.

The main limitations are consistently framed. Results are often restricted to simple, unambiguous factual statements rather than nuance, controversial claims, or multi-hop inference [2310.06824]. Bias terms and thresholds can remain under-determined and require calibration [2310.06824]. Prompt context, conversational format, and irrelevant supporting text can alter probe outputs substantially [2404.18865] [2505.09807]. Harder reasoning tasks such as counting or multi-operator arithmetic are less linearly separable than simple retrieval tasks [2604.03754]. Task-specific geometries can be nearly orthogonal, limiting transfer across domains [2506.08572]. For some RLHF- or distillation-tuned models, nonlinear probes may be required to capture veracity signals [2506.23921].

The overall research picture is therefore mixed but coherent. Linear truth probes are a well-defined and empirically productive methodology for reading out truth-related information from LLM activations. In sufficiently capable models and controlled domains, a simple direction or hyperplane can support strong generalization and can even be causally implicated in model outputs [2310.06824] [2506.00823]. At the same time, universality claims are constrained by layer dependence, prompt sensitivity, context effects, task orthogonality, and distribution shift [2506.08572] [2604.03754]. A plausible synthesis is that linearly accessible veracity features often exist, but their stability depends on model capability, dataset design, layer selection, and the semantic structure of the task rather than on a single universal “truth direction” that transfers unchanged across all settings.

Source: https://www.emergentmind.com/topics/linear-truth-probes