Probing the Geometry of Truth: Consistency and Generalization of Truth Directions in LLMs Across Logical Transformations and Question Answering Tasks
Paper · 2025 · Yuntai Bao, Xuhong Zhang, Tianyu Du et al.
Summary
A system can give a wrong answer with apparent confidence. Its internal state may nonetheless contain information that helps distinguish that answer from a correct one. Bao and colleagues investigate whether a simple classifier can recover such information from the internal states of large language models. They focus on a proposed truth direction, an axis in the space of internal representations along which true and false claims tend to separate. The central test is whether a classifier fitted on one way of expressing a claim still works when the form of the claim changes.
The authors train probes on labeled factual statements and examine what happens when a claim is negated. The underlying fact stays the same, but the correct label reverses. Transfer is weak for the smallest Llama 2 systems in the study and more consistent for systems ranked higher on general benchmarks. For Llama-3.1-70B-Instruct, all the probes tested can distinguish true from false negated statements across the six topics after training on affirmative statements. The successful probes include simple linear classifiers. A separate control on Llama-3.1-8B finds a much stronger signal with pretrained weights than with randomly initialized weights.
The authors then train probes on individual factual claims and test them on combinations of claims, multiple-choice answers, and short answers generated in response to trivia questions. They also change where the evidence comes from. In passage-based questions and document summarization, a probe trained on factual statements can help distinguish responses that agree with the supplied source from those that depart from it. Worked examples in a prompt generally improve the ranking of answers by correctness, while the reliability of the probabilities varies with the task and probe. On the multiple-choice benchmark, the two tested sets of worked examples have similar effects even when one contains wrong answers.
In one selective question-answering experiment, 55.29% of the sampled TriviaQA answers are correct before filtering. A support vector machine probe retains 80.26% of those answers, and 64.06% of the retained answers are correct. The result illustrates a way to screen candidate answers using an internal signal learned from a different kind of text. The evidence concerns what the probes can read under the tested conditions. Whether the systems use the same signal to decide what to say, and what the signal would represent where human judgments are unreliable, remain open questions.
Deep dive: Probing the Geometry of Truth: Consistency and Generalization of Truth Directions in LLMs Across Logical Transformations and Question Answering Tasks
Bao and colleagues test whether a simple probe can read truthfulness from internal states across negation, question answering and source-grounded tasks. · about 34 minutes to read
The problem and its context
What a truth direction would explain
A generated answer and the internal state associated with it offer different evidence about the same event. The answer is the text a reader sees. The state is a collection of numerical values produced while the system processes text. A probe is a classifier trained to make a specified judgment from such values. In this paper, the judgment concerns the truth of a statement or the correctness of an answer paired with its question. The larger aim is to learn what distinctions are accessible inside the system, an experiment in interpretability.
The geometric hypothesis gives that aim a concrete form. Imagine representing every statement by a point, with one coordinate for each component of its internal state. To read a direction, project the point onto an axis. If the resulting scores tend to lie higher for true claims and lower for false ones, the axis carries information about truth labels. A boundary at a chosen score can turn the ordering into a decision. The idealized picture is a plane separating the classes, with the direction perpendicular to it. Experiments can look for this structure even when points overlap and individual decisions are imperfect.
A probe fitted and tested on sentences of the same kind can exploit regularities shared by those sentences. That still leaves the central issue unresolved. Take an affirmative claim that assigns a particular animal to a class. If the assignment is correct, denying it gives a false statement. If the affirmative assignment is false, its denial is true. The factual association is available in both forms, but a probe that follows truth should give the true member of either form the higher score. A reader that detects the familiar animal–class pairing regardless of what the sentence says would fail that test. A reader that merely detects the presence of a negator would also have trouble because the negative set contains both labels.
This distinction extends beyond negation. In a multiple-choice prompt, the selected answer may be expressed by a letter whose meaning depends on the listed options. In a short-answer prompt, the question and the proposed answer jointly express the claim. With a reference passage, the relevant evidence can be local to the prompt. These settings vary the form in which the judgment has to be made available internally. They also vary the knowledge required to make it. A probe trained on individual claims is therefore a useful common measuring instrument. Keeping its training source fixed makes it possible to ask how far its readout travels.
What earlier probes had established
The authors place the study within work on eliciting latent knowledge. In the account they give, scalable oversight faces an information gap when a system may have access to knowledge that a human evaluator cannot independently check. Its training objective may also give it reasons to produce text that diverges from that knowledge. A probe offers a way to ask whether the state contains a more useful signal than the output alone. For oversight, the difficult step is to establish that the signal continues to work in precisely those situations where an evaluator would have trouble supplying a label.
Earlier probing work took several approaches to extracting such signals. Contrast-Consistent Search, or CCS, is described as an unsupervised method applied to yes-or-no questions. Other work used supervision on factual statements. Logistic regression served as a familiar baseline, and mass-mean used the displacement between class centers as a geometric readout. The proposal most directly connected with the term truth direction is discussed in The Geometry of Truth.
Other classifiers allowed a wider range of relationships between the state and the label. SAPLMA used a multilayer perceptron, a small network with nonlinear transformations between its layers. The paper also discusses the LLM Factoscope, based on a convolutional classifier. These designs can be evaluated as predictors even when no simple axis is assumed in advance. That distinction matters for Bao and colleagues because useful prediction and evidence for a linear representation are different outcomes. A classifier with nonlinear capacity may detect truth-related information whose geometry is difficult to infer from performance alone. One of the earlier probing studies is The Internal State of an LLM Knows When It's Lying.
The earlier literature also motivates two choices about the kind of evidence to collect. One is to measure what can be recovered from internal activity during a particular input, a different source of information from verbal self-assessment. When a system is asked whether its own answer is correct, its reply is itself another generated output. The work on that kind of self-evaluation gives Bao and colleagues a practical comparison for their eventual answer-selection experiment. Language Models (Mostly) Know What They Know
The other choice concerns the source against which an answer is judged. Much of the earlier probing described by the authors looks for correctness relative to knowledge acquired in training. They also describe work on detecting hallucination in in-context generation, where the supplied material serves as the reference. In the latter setting, the question is whether the response is supported by that material. A response to a hypothetical premise can satisfy this criterion even when the premise differs from real-world conditions. This distinction is especially important for summarization.
Why negation helps distinguish the explanations
The paper revisits a claim by Levinstein and Herrmann that probes such as multilayer perceptrons fail to transfer across negation. A failure has several possible readings. The training procedure may identify a shortcut specific to affirmative sentences. The classifier could be too limited to recover a relevant feature in the states. The system could encode truth-related information differently for affirmative and negative expressions. A study of one probe on one set of states gives little leverage for distinguishing these explanations.
Bao and colleagues vary both sides of the measurement. Different classifier families read representations from systems with different levels of general capability. The negation test keeps affirmative training sentences and their negative counterparts within the same topic. This makes the change in syntax unusually well controlled for a transfer experiment. The broader tests then relax that control, moving from statements to question answering and to supplied-source tasks. These settings address a different part of the problem. They ask whether the same kind of supervision can recover something useful when both the presentation and the evidence change.
The paper also gives truthfulness a wider meaning than factuality alone. The term can refer to agreement with world knowledge or with the source that governs a particular prompt. An untrue statement can be intelligible and definite enough to evaluate. Hallucination also covers failures such as nonsensical generation or departure from source content, depending on the setting. The authors reserve lie for the stronger case in which the speaker knows the correct answer. Their experiments assign labels to texts and score their representations. Claims about lying would require additional evidence about what the speaker knew. The distinction draws on earlier work including How to Catch an AI Liar.
The method, step by step
From text to a labeled internal state
The starting data are short factual statements with true or false labels. During training, each statement passes through a pretrained system and produces an internal vector. The label accompanies that vector when the authors fit the probe. During evaluation, they put a new input through the same system, extract its vector in the same way, and give that vector to the fitted classifier. The new input can be a negative statement, a compound sentence, a question followed by an answer, or a prompt with a source and a proposed response. The reference label is used to judge the resulting score.
Training a truthfulness probe and testing transfer
The steps in order.
The target system is a transformer. It divides text into tokens, assigns each token an initial vector, and refines those vectors through successive layers. In an autoregressive transformer with causal attention, a position can draw on the preceding positions. This is why the authors read the state at the final token. By that position, information from the text earlier in the sequence can be available, including a question, the choice list, the supplied passage, or the earlier part of a claim. Availability through attention leaves open how much of that material actually influences the particular state. The architecture is introduced through Transformer and attention.
The paper writes the input as an ordered token sequence.
t = (t₁, t₂, …, tₙ)
Here t is the complete sequence, tᵢ is the token at position i, and n is the sequence length. The subscript gives the position. The ellipsis stands for the intervening tokens.
The initial embedding operation produces a corresponding sequence of vectors.
h⁽⁰⁾ = (h₁⁽⁰⁾, h₂⁽⁰⁾, …, hₙ⁽⁰⁾)
Here h⁽⁰⁾ is the representation of the whole sequence at the embedding stage, and hᵢ⁽⁰⁾ is the initial vector for token i. The superscript ⁽⁰⁾ identifies the embedding stage. The index n still denotes the final position, and the ellipsis covers the vectors in between. This is where the sequence changes from discrete tokens to numerical representations, the starting point for the layered computation. Tokenization
For the later layers, the paper specifies the position and layer ranges as follows.
hᵢ⁽ʲ⁾ ∈ ℝᵈ, 0 ≤ j ≤ L, 1 ≤ i ≤ n
Here hᵢ⁽ʲ⁾ is the vector at position i after stage j. The notation ∈ ℝᵈ says it belongs to a space with d real-valued coordinates. L is the number of layers following the embedding stage. The bounds include the embedding stage and the final layer for j, and all token positions for i. The system uses h⁽ᴸ⁾, the collection of vectors at the final layer, to produce predictions. The probe can read from an earlier layer.
Choosing a layer
A probe is fitted to one particular location in the computation. Even when every layer has a vector for the last token, those vectors can organize the data differently. A layer with tight clusters for true and false statements and a large separation between their centers offers a promising place to look. Large distances between centers are less informative if the representations within each class are themselves dispersed.
The authors therefore compare between-class variance with within-class variance. Between-class variance describes how far the classes lie apart. Within-class variance describes how much the points assigned to each class spread out. The ratio favors a layer where label groups are distinct relative to their internal spread. The authors plot it across decoder layers and look for peaks. Each topic curve draws on affirmative statements, negative statements, conjunctions, and disjunctions from that topic. In the layer plots, the central curves are means and the surrounding bands show standard error.
The selection uses labeled examples and a statistic of separation. A peak nominates a location at which a probe may make a useful readout. The subsequent transfer tests determine whether a classifier fitted there can generalize under the specified change of inputs. The use of several logical forms in the layer analysis also matters for understanding what is fixed before probe training. In the negation experiment, the classifier is fitted on affirmative states at a location chosen through a broader analysis of state geometry.
Turning the states into a training set
The labeled text data have the following form.
D = {(xᵢ, yᵢ)}ᵢ₌₁ᴹ
D is the dataset, M is its size, and i indexes examples. xᵢ is the input token sequence for example i. yᵢ is its label for the binary property being studied. The paper allows the probe to return class labels −1/1 or a probability for the positive class. In the truthfulness experiments, the positive class represents truth or correctness under the task’s labeling rule.
The representation dataset takes the following form.
Dᵣₑₚ = {((h₋₁⁽ˡ⁾)ᵢ, yᵢ)}ᵢ₌₁ᴹ
Dᵣₑₚ is the collection of states paired with their labels. In h₋₁⁽ˡ⁾, the subscript −1 denotes the last token position and l denotes the selected layer. The outer subscript i identifies the input from which that vector came. yᵢ remains the label of the corresponding input, and M is the number of pairs. A phrase elsewhere in the input can affect the readout through its contribution to this state. The classifier itself sees the resulting vector.
The paper describes the generic fitting objective as minimizing average classification cost over examples.
arg min over Φ { (1/M) Σᵢ₌₁ᴹ J(Φ, hᵢ, yᵢ) }
Φ denotes the probe, and arg min over Φ asks for the probe that makes the expression inside braces smallest. J is the cost assigned to the probe’s treatment of one labeled example. In this formula, hᵢ is shorthand for the state extracted for instance i, and yᵢ is that example’s label. The summation Σ adds the costs across the M examples, and the factor 1/M produces the mean. This is the general formulation of the classification task. The individual probe designs have their own fitting rules.
Four ways to read truth scores
Mass-mean, abbreviated MM, gives the geometric hypothesis its most direct implementation. Take the average state for the true training statements and the average state for the false statements. The displacement between the two centers defines a direction. A new state can be read by projecting it onto the oriented axis. This classifier depends on the location of the class means. The paper uses the implementation from Marks and Tegmark.
The linear support vector machine, or SVM, also looks for a geometric separation. Its boundary is chosen by a margin-based fitting rule. The margin measures separation around the boundary, so the fit takes account of examples close to the region where decisions change. The direction perpendicular to the fitted boundary provides the axis on which to score an example. Bao and colleagues use the NuSVC implementation with ν = 0.5, where ν is a parameter of that SVM formulation. Support-Vector Networks
The SVM gives decision scores, and the authors add a separate Platt scaling step to obtain probabilities. The idea is to fit a mapping from the decision score to an estimated probability of the positive label. The fit uses five-fold cross-validation on the training data. Cross-validation rotates which part of the training data is held aside when forming scores for the scaling procedure. This distinction between the direction and the probability mapping matters in the results. The ranking of answers depends on the decision score, while the numerical interpretation of a particular score depends on the scale fitted to it.
The authors classify logistic regression, or LR, as a statistics-based probe because it is fitted by modeling probabilities of the labels. Its score still has a linear component in the state, followed by a transformation into a probability. A linear boundary is therefore compatible with both the geometric description of an SVM and the statistical description of logistic regression. What differs is how the weights are chosen and how the raw score becomes a probability. For LR the optimizer is L-BFGS.
The multilayer perceptron, or MLP, is the nonlinear alternative in the main experiments. It uses hidden layers with widths (512,128,64) and a hyperbolic tangent, or tanh, activation. The widths are the numbers of units in the successive hidden layers. The activation transforms their outputs nonlinearly, allowing a decision to depend on the input in ways a single projection cannot express. The authors use Adam to fit the network until convergence. The LR, SVM and MLP implementations use scikit-learn. The paper also releases the experiment code. Adam
Constructing the statements and their transformations
The factual statement collection comes from the curation by Bürger and colleagues, which draws on datasets from Azaria and Mitchell and from Marks and Tegmark. Its six sets cover animal classification, city locations, element symbols, scientific facts, inventors’ home countries, and Spanish-to-English word translations. These domains let the authors use the same broad task while varying what a system must know. An element-symbol sentence, for instance, asks about a conventional pairing. A city sentence makes a geographical assertion. The procedure assigns a true or false label to the whole statement in either case.
The paper calls a sentence atomic when it expresses an individual claim, whether in affirmative or negative form. The negative counterpart is constructed by introducing negation and reversing the label. A conjunction combines two claims and is true when both claims are true. A disjunction is true when at least one of its constituent claims is true. The compound test inputs use affirmative clauses drawn from a common topic. Thus the probe encounters a new composition and a label determined by that composition, with constituent knowledge covered by the statement data.
The authors make two adjustments to the curated wording. In the inventors set, they add an occupational identifier where a name might refer to more than one person. In the disjunctions, they restore full subjects in places where the original construction used pronouns. The conjunctions already used full subjects. This second adjustment makes a difference between conjunction and disjunction easier to interpret, since the reader need not also resolve a different pattern of reference in one condition.
When establishing probes on atomic statements, the implementation uses a random 70% training split and holds the remainder for development. The paper also distinguishes experiments by the kinds of statements eligible as training data. For negation transfer, fitting uses affirmative claims within a topic and evaluation uses the corresponding negative set. For compound statements and the later transfer tasks, both affirmative and negative atomic statements are eligible. The randomized-weight control has its own held-out test split, and the in-domain question-answering comparison trains and tests on splits of the question-answer pairs themselves.
Scoring discrimination and probability quality
The basic score is AUROC, the area under the receiver operating characteristic curve. To form that curve, vary the decision threshold and compare the fraction of actual positives accepted with the fraction of actual negatives incorrectly accepted. A higher area indicates better discrimination. It can also be read as how reliably the score ranks a true item ahead of a false one, with ties accounted for. The paper treats test AUROC above 0.5 as evidence of generalization on the relevant topic. It reports some figures in percentage units. The threshold is a measure of ordering and is separate from the threshold later used to accept individual answers.
For question answering and supplied-source tasks, the authors also ask whether the numerical confidence is credible. A probe can put most correct answers ahead of most wrong ones while assigning too much confidence to both. Expected Calibration Error, or ECE, looks for agreement between predicted probabilities and observed frequencies. Scores are sorted and divided into equally sized bins. In each bin the authors compare mean predicted probability with the observed fraction of true labels.
ECE = (1/N) Σᵢ₌₁ᴺ |yᵢ − xᵢ|
ECE is the aggregate calibration error, N is the number of bins, and i indexes a bin. The paper uses N = 10. Here xᵢ is the mean predicted probability in bin i, and yᵢ is the fraction of examples in that bin whose reference label is true. The vertical bars denote absolute value. The sum adds the absolute gaps across bins, and 1/N takes their mean. Each bin has the same weight in this setup because the samples are divided into equally sized groups.
The Brier score, or BS, measures squared probability error at the level of individual examples.
Brier score = (1/N) Σᵢ₌₁ᴺ (pᵢ − yᵢ)²
In this formula, N is the number of examples and i indexes an example. pᵢ is the probe’s predicted probability that example i is true. yᵢ is the reference label, with yᵢ ∈ {0, 1} meaning that false is encoded as 0 and true as 1. The superscript ² squares the error. The sum adds those squared errors and 1/N gives their mean. Lower scores are preferred for ECE and BS. Predicting 0.5 on every item yields a Brier score of 0.25, the paper’s reference value for an uninformative probability forecast.
Experiments and results
Where true and false states separate
The layer analysis in the main experiments compares Llama-2-7B with Llama-3.1-8B. For Llama-3.1-8B, the authors select the 12th layer, counting from zero, from the patterns of between-class and within-class variance. In Llama-2-7B, the Spanish-to-English translation topic shows a recognizable peak, while the other topics show little separation under this criterion. The paper interprets the contrast as evidence that the smaller Llama 2 system can have truth-related structure in a particular domain with weaker consistency across domains. The result concerns the relative spread of the labeled states and serves as a starting point for the classifier experiments.
For the negation tests, the selected layers are 12 for Llama-2-7B and 13 for its Chat version. Both Llama-2-13B versions use 13. Llama-3.1-8B uses 12 and its Instruct version uses 13. Llama-3.1-70B and its Instruct version both use 33. The supplement also reports 13 for Mistral-7B-v0.1 and its Instruct counterpart in the layer analysis. These indices refer to the locations used to inspect residual states. A layer’s suitability is assessed within a given system.
A control tests how well a probe can perform when the target system has the same architecture but random weights. The authors use the animal_class statements with Llama-3.1-8B, read the 12th layer, fit on a 70% split, and score the remaining 30%. With random weights, AUROC is 0.50 for LR, 0.52 for MLP, 0.58 for MM, and 0.50 for SVM. With pretrained weights the paper reports 1.0 for every probe in this comparison.
Pretrained and randomized Llama-3.1-8B on animal_class test AUROC
The linear support vector machine separates the held-out labels much more clearly with pretrained weights.
The numbers
| System or setting | AUROC |
|---|---|
| Linear SVM on randomized states | 0.50 |
| Linear SVM on pretrained states (this paper) | 1.0 |
The training and test portions in this control contain the same kind of statement. Its role is to measure what pretraining contributes to the availability of a readable distinction on that task. The transfer experiments make a separate demand by taking a probe trained on one input form and asking it to interpret another.
Negation across systems and topics
Each probe in the negation experiment is trained on affirmative statements from a topic and evaluated on their negative counterparts. Within a topic, subject matter and the underlying facts are held constant. Syntax and the assignment of truth labels change together. A high AUROC means that the affirmative-trained readout still places true negated claims above false negated claims. A low AUROC can include an ordering that runs in the opposite direction from the reference labels. This is a stricter indicator of failed transfer than simply finding that a threshold needs adjustment. The reported scores are averaged across three trials, with the training data held fixed and randomness coming from probe initialization and the cross-validation splits used for Platt scaling, as applicable.
The authors organize the systems by general capability according to benchmark evaluations. They describe both Llama-2-7B variants as failing to show successful negation transfer across the topic suite. For Llama-2-13B and Llama-3.1-8B, including the corresponding Chat and Instruct variants, the paper characterizes the pattern as transfer on four topics. Llama-3.1-70B extends it to five. The clearest result is Llama-3.1-70B-Instruct, for which all four probes exceed the generalization threshold on all six topics. The topic counts describe the broad pattern across systems, while individual cells show differences among probes and topics.
The cities set illustrates how much the result can depend on the system supplying the vector. For the same logistic regression readout, the figure reports 0 for Llama-2-7B and 29 for Llama-2-13B on negative city statements, in percentage units of AUROC. It reports 88 for Llama-3.1-8B and 96 for Llama-3.1-70B-Instruct in that setting. A score near the bottom of the ranking scale shows that the orientation learned on affirmative inputs can be badly mismatched to the negated inputs. Strong performance at the other end shows that the same probe family can also succeed on this test.
Logistic regression on negated cities statements across Llama systems
A probe trained on affirmative city claims ranks the negative claims much more successfully in the strongest plotted setting.
The numbers
| System or setting | AUROC % |
|---|---|
| Llama-2-7B | 0 |
| Llama-2-13B | 29 |
| Llama-3.1-8B | 88 |
| Llama-3.1-70B-Instruct (this paper) | 96 |
Other topics give their own patterns. On animal_class, the figure gives logistic regression 99 for Llama-3.1-70B-Instruct, while the scientific facts set gives 81 for the same probe and system. The two scores are percentages of AUROC on negative statements after training on affirmatives. Even at the strongest end of the system comparison, the study finds variability in how clearly the truth labels can be read. Element symbols and translations are particularly informative because transfer becomes successful later in the reported capability ordering.
The supplemental Mistral-7B-v0.1 experiment shows transfer across negation on four topics, with the result on facts described as marginal. The authors regard its performance as comparable to Llama-2-13B-Chat and Llama-3.1-8B. This gives the capability interpretation some support beyond comparisons within Llama. The supplemental result is still a comparison involving a specific additional system. Mistral 7B
From individual claims to compound statements
For the next logical test, the eligible training data include affirmative and negative atomic statements. The test input combines affirmative clauses from the same topic. A system representing the truth of the whole sentence must arrive at a state sensitive to the claims involved and to the connective. A conjunction with one false clause is false even when the other clause is correct. A disjunction with one true clause is true even when the other clause is wrong. Both forms therefore offer more information than the mere presence of a true or false constituent.
The main demonstration uses Llama-3.1-8B and again scores performance with AUROC, averaged over three trials. The paper reports successful transfer for all the probes to both conjunctions and disjunctions. Conjunction performance is stronger on animal classification, element symbols, and Spanish-to-English translation. Because the probe has been fitted to single claims, this shows that its readout can also be useful for labels defined over compositions. The authors suggest that interpreting the truth of disjunctions may present greater difficulty in those topics.
The appendix reports conjunction and disjunction results on additional systems and describes a positive association between probe performance and general capability, similar to the one observed for negation. Mistral-7B-v0.1 also supports transfer to both forms. The compound evaluations retain the constituent facts covered in training. They therefore extend the form of the claim and the logical operation required by the label, while keeping the relevant factual material familiar.
From statements to question–answer pairs
The next experiments keep the training source as atomic statements and move the evaluation to question answering with Llama-3.1-8B. The multiple-choice evaluation uses MMLU. The authors sample 50 questions from the test set of each of its 57 subtasks. Each question yields a correct and an incorrect candidate answer, given through the choice format of the prompt. The probe classifies the question paired with the candidate. In this design, it is evaluated on whether it can distinguish a supplied correct choice from a supplied wrong one. MMLU
The prompts either contain the target question without demonstrations or put five worked examples before it. In TTTTT, all five demonstrations have correct answers. In TTFFF, the first two have correct answers and the following three have incorrect answers. The demonstrations are randomly selected from the development split. The probe reads the final position after the target question and its answer. Thus its input reflects the earlier examples as context, while the reference label concerns the final pair.
The short-answer experiment uses TriviaQA. Here the candidates are generated by Llama-3.1-8B. The authors sample 20 answers per question at unit temperature, a setting for the randomness used in generation. They test 5-shot and 20-shot prompts, using normalized answers for the demonstrations. The prompts encourage short answers in the form required for the evaluation. The task therefore asks whether the probe can discriminate correct and incorrect generated responses without the multiple-choice list used in MMLU. TriviaQA
The authors compare the four probe families using AUROC, ECE, and Brier score, averaged across three trials. In the main question-answering results, adding demonstrations generally improves discrimination. The paper treats this as transfer both to different input formats and to questions outside the narrow factual-statement topics. MMLU introduces subject-specific knowledge, while TriviaQA tests short responses to trivia questions. Both settings give the final state enough information for the statement-trained classifiers to recover a useful correctness signal.
On MMLU, the results for the all-correct and mixed demonstrations are close. The authors interpret this as evidence that the readout concerns the answer at the end of the prompt and can remain useful in the presence of the particular incorrect examples they introduced. On TriviaQA and MMLU, the changes in calibration are less uniform than the changes in discrimination. The authors report an improvement in calibration from few-shot prompting for the SVM on TriviaQA. They identify the SVM as the strongest overall probe in this experiment on the joint evidence of discrimination and calibration.
The paper also fits probes on MMLU itself and evaluates them on held-out MMLU examples. The question and prompt conventions are the same as in the transfer comparison. These in-domain probes train on a random 70% split and are tested on the remaining 30%, with results averaged over three random trials. Their AUROC generally falls below that of probes fitted on atomic factual statements. The result gives a concrete baseline for the transfer claim. Under the reported setup, using a question-answering dataset for supervision offers no consistent advantage over the simpler statement data.
The Mistral-7B-v0.1 results in the appendix follow a similar general pattern on these question-answering tasks. Discrimination improves when demonstrations are introduced and when more are provided. The appendix again singles out the SVM on TriviaQA as the case in which calibration improves. This is a separate observation about probability quality, even when the ranking trend resembles the Llama-3.1-8B result.
When the prompt supplies the evidence
The supplied-source experiments change the standard of correctness. The question or requested output now has an accompanying passage or document. The label tells whether the answer or summary is faithful to that source. Correctness can depend on identifying what the passage establishes, and the same fact considered outside the passage could be insufficient for judging the response. The classifiers still come from factual-statement supervision, and the main results use Llama-3.1-8B.
For SciQ, the authors select 1000 questions at random. Each is paired with the letter of the correct choice and with the letter of a randomly chosen incorrect one, yielding both labels for the target. The prompt includes the supporting context. The zero-shot setting supplies the target input alone. Few-shot settings include an all-correct three-example prompt, TTT, and a mixed one in which the final example is incorrect, TTF. The main discussion also lists FFT, for which the label and the written description give different accounts of the last demonstration. SciQ
BoolQ uses passages and questions with yes-or-no answers. The authors create examples with both labels by pairing each question with its given answer and with the flipped answer. The prompts vary whether the available response options are explicitly listed. They also test prompts with one demonstration, either correct or incorrect, in the presence of the options. The answer word has the same surface form across many examples, so the judgment requires the connection between that word, the question, and the passage. BoolQ
For XSum, each article is paired with a reference summary and a summary labeled false in the hallucination annotations. The prompt asks for a summary and includes the candidate text, without an answer list. Demonstrations come from the training split and are treated as correct. The prompt ranges from zero-shot through the settings labeled T, TT, and TTT. The paper starts from 500 examples in the hallucination annotation dataset for the false summaries, pairs them with examples from the XSum test split, and filters inputs for the available context. With a context length of 8192 for Llama-3.1-8B, the final test set has 998 examples with balanced labels. XSum XSum Hallucination Annotations
The main results, averaged across three trials, show that probe discrimination generally improves when prompts supply options or demonstrations. The experiments extend the readout to answers grounded in context and to judgments on candidate summaries. LR and MLP show greater standard error across the reported metrics than MM and SVM in this comparison. The authors suggest that instability during optimization could contribute. The SVM performs best by Brier score in the main contextual experiments.
The calibration results depend on both the classifier and the dataset. The authors highlight cases where demonstrations improve the ranking while worsening calibration. These include LR on SciQ and BoolQ, MLP on BoolQ, and MM on XSum. Overconfidence is their proposed explanation. The appendix gives further contextual results on Mistral-7B-v0.1. There, the authors describe improved calibration with demonstrations for SciQ, and report that both discrimination and calibration worsen in the step from no listed options to listed options on BoolQ and from zero-shot to one-shot on XSum. Prompt additions affect the evidence the probe can read, and their effects depend on the system and task.
Filtering generated answers
For the application experiment, the authors return to TriviaQA and the Llama-3.1-8B candidate responses. They use a 20-shot prompt and sample 20 answers per question at unit temperature. Every question–answer pair is scored by the SVM fitted on atomic statements. The decision rule retains pairs with the following estimated probability.
P[Φ = 1] > 0.5
P denotes the probability estimated by the probe, Φ is the probe output, and 1 is the positive class corresponding to a correct answer. The inequality applies the authors’ strict acceptance threshold of 0.5 to each candidate pair. The rule gives a retained set on which answer accuracy can be measured.
Before filtering, the accuracy pooled across the sampled question–answer pairs is 55.29%. The probe retains 80.26% of the pairs. On the retained subset, 64.06% of pairs are correct. These figures concern individual sampled responses and the fraction retained. The experiment shows that the probability readout can support a decision about which responses to keep, in addition to ranking candidates for an evaluation metric.
TriviaQA sampled-answer accuracy before and after SVM filtering
The candidate pairs retained by the statement-trained probe contain a greater share of correct answers.
The numbers
| System or setting | accuracy % |
|---|---|
| All sampled question–answer pairs | 55.29 |
| Question–answer pairs retained by the SVM probe (this paper) | 64.06 |
The result demonstrates a particular tradeoff. The filter is evaluated on the subset it accepts, and the retention figure reports the coverage of the original response pool. Reading the two measurements together explains the practical effect of the threshold. Accuracy says how often a retained candidate is correct. Retention says how much of the pool remains available for whatever decision follows.
What the ablations show
Pretraining supplies a usable distinction
Randomizing the Llama-3.1-8B weights changes the source of the states while preserving the architecture and the probe families. In the animal classification control, even the nonlinear MLP is close to chance on the held-out split when the states come from the randomly initialized system. The mass-mean result is higher than the other randomized scores, and the gap to the corresponding pretrained score is still pronounced. The control makes it difficult to explain the strong pretrained result by classifier capacity alone. The classifiers have the labeled training data in both cases, but their success depends strongly on the representations they receive.
The comparison isolates the role of pretrained weights for this particular classification problem. Its informative feature is that a linear readout works on the pretrained states, so the measured separation is already accessible by a weak classifier. It leaves open which properties of the pretrained state make the classes separable. Possibilities include information about the animal and its class as well as features correlated with the particular phrasing of those examples. The later transfer comparisons make the evidence more specific by requiring the readout to survive a change in input.
The choice of system matters for transfer
The negation experiments compare classifier designs at a fixed source of states and compare sources while holding the classifier family fixed. Both views are necessary. If weak transfer were mostly a limitation of a particular probe, replacing that probe with a differently fitted or nonlinear alternative should commonly restore performance. The reported results show a strong dependence on the system across probe families. At the capable end, several fitting rules converge on successful discrimination. The authors report that performance differences among probes become small from Llama-2-13B-Chat onward in the capability ordering.
The failure cases are informative because the negative inputs reuse the affirmative facts. A low score can reflect a change in how the system organizes statements after negation, or a readout attached to affirmative patterns that fail to transfer. At the other end, success across all probe families for Llama-3.1-70B-Instruct shows that a general-purpose multilayer classifier is unnecessary for the reported discrimination. The linear results give direct support to a readable direction. They measure compatibility between the affirmative-trained readout and the negative test states. Estimating the exact relationship between all directions fitted independently on each form would be a further geometric question.
The paper considers the earlier TTPD method separately. Its design builds on a reported misalignment between an affirmative truth direction and a more general direction. Bao and colleagues reason that the value of accommodating such a mismatch may be smaller when the underlying system already supports consistent transfer. They also compare TTPD with their main probes on Llama-3.1-8B under BoolQ’s with-options condition. The score distributions and calibration curve for TTPD are similar to those for mass-mean, a resemblance the authors report seeing in other settings as well. This is a functional comparison of the readouts. It helps explain why the paper concentrates on the four other families.
Demonstrations affect ranking and confidence differently
The prompt comparisons make it possible to look separately at giving examples and at making those examples correct. On MMLU, TTTTT and TTFFF have the same number of demonstrations and the same basic format. The observed probe results are close. One plausible interpretation, which the authors favor, is that the context helps the system represent the final task and that the probe can still extract a judgment about the last answer despite the misleading demonstrations. The comparison is between these particular prompt conditions, with the negative examples placed after the positive examples in the mixed condition.
The split between ranking and calibration provides a further control on what counts as improvement. If demonstrations make true answers score higher than false ones more consistently, AUROC rises. If they also make the probe too confident, calibration can worsen. The contextual results give examples of this divergence across individual probes. The SVM’s comparatively good Brier scores are consistent with the authors’ suggestion that both the margin-based direction and the Platt probability mapping help. The experiments compare the combined SVM procedure with the other readouts, so they do not assign a separate measured contribution to the probability mapping.
Training data and logical form can each change the result
The in-domain MMLU comparison alters the source of supervision while retaining the evaluation domain and prompt designs. Its outcome shows that training on question–answer pairs from the target benchmark does not automatically improve AUROC. One reason the comparison is informative is that the target pair format, by itself, cannot explain the success of the statement-trained probe. The supervised distinction carried by the source examples remains important. Differences in the training datasets leave the reason for the observed advantage unresolved. The controlled finding is the comparative performance of the particular fitted probes.
The conjunction and disjunction comparison changes the connective while keeping the test inside the same pool of topics and using full subjects in both constructions. The stronger conjunction results in the identified topics show that compositional transfer has a structure of its own. Success at reading truth in a compound sentence does not imply equal discrimination under each operator. The authors’ explanation concerns possible difficulty interpreting disjunction. The measurements are of whole-statement labels, so they leave room for differences in clause assessment, processing of the operator, and the way each construction is represented at the final position.
Limitations
Limits identified by the authors
The authors treat truth as an ideal target for the probe. The labels in their data give an operational standard for judging particular texts. During pretraining, the systems learn from human-produced text. As the authors note, a classifier can plausibly recover a signal shared by widely held human beliefs and factual truths, because many familiar cases agree under both standards. The study does not identify which aspect would govern the probe when those standards diverge. This question is central to the connection with scalable oversight, where the intended use can involve judgments humans cannot confidently make themselves.
The paper also confines its main question-answering evidence to short responses. A choice letter or brief answer makes it possible to attach a clear label to the final pair. The source-grounded summary task extends the output format, but it still evaluates a candidate against a reference document and uses a label for the candidate as a whole. Long-form answers and broader instruction-following tasks can contain several claims whose grounding and correctness differ within the same response. The paper leaves such settings for future investigation.
Causality is another stated limit. A classifier can read a distinction from states even if the system’s next-token predictions depend on other signals. The authors discuss earlier causal experiments with mass-mean and point to existing work on modifying states during inference. Their own experiments extract states, fit readouts, and assess transfer. The selective question-answering result uses the probe to filter samples after generation. It establishes an effect of the filter on the selected set, while the causal role of the read direction inside generation remains open. Inference-Time Intervention
The authors also report a limit on the systems they could study. The largest scale tested is the Llama-3.1-70B family. They treat the association between general capability and consistent truth directions as preliminary, and they identify more advanced systems as a case still to be investigated. The resource demands are part of that boundary. Their experiments use three A6000 GPUs with 48GB each, and storing activations for the full range of data and systems would take ∼1TB. They use float8 quantization when gathering states for the largest variants. The direction hypothesis is correspondingly grounded in the systems and extraction configurations actually evaluated. One of the untested systems they mention is covered by the GPT-4 Technical Report.
Limits apparent from the design
General capability is an ordering used to interpret the comparisons. The systems differ in family, scale, and training or instruction-tuning history. The experiment changes several of these properties across the comparison set. Improved negation transfer is associated with the capability ordering, while the contribution of each property is unidentified. The contrast between base and instruction-tuned variants gives some local comparisons, but the observed trend alone cannot explain how the internal structure develops.
The word direction also has a restricted scope in the measurements. A fitted classifier reads one layer and one token position in a given system. A direction that serves several tasks within that system is evidence of within-system transfer. The paper trains separate readouts on states from different systems. Accordingly, cross-system results concern the availability of comparably useful linear readouts, without establishing a shared coordinate system or a direction that can be moved unchanged across systems.
The logical tasks test defined transformations of familiar material. Negative statements preserve the underlying facts, and compound statements use constituent claims represented in training. This makes the experiments suitable for isolating changes of form. It limits what can be inferred about novel facts, further kinds of logical operators, or sentences with different scopes of negation. Moreover, the layer-selection criterion inspected several forms of labeled statements. The classifier transfer remains a meaningful test of a fixed readout, while the location of that readout was chosen with broader knowledge of the labeled geometry.
The question-answering and summarization benchmarks supply useful supervision for a study of classification. Correct and incorrect multiple-choice answers are paired within questions. BoolQ uses flipped answers, and XSum uses candidates selected from a reference and an annotation dataset. These constructions define the comparison the probe has to solve. Results on these mixtures do not determine calibration on an unrestricted pool of responses, where error frequency, answer length, and kinds of mistakes can differ. The mixed-example results similarly concern the specific changes in correctness and ordering that the authors tested.
Finally, the selective question-answering experiment reports one operating threshold. The acceptance percentage concerns sampled pairs overall, and the accuracy percentage describes those pairs after selection. The question-level consequences may differ. Some questions may retain several candidates and others may retain few or none. The reported statistics do not settle how frequently a system could return a correct final answer to a distinct question or what accuracy would be obtained at other levels of retention. The demonstrated application is a filter for a specific sampled TriviaQA response pool.
What came after
Streaming Hallucination Detection in Long Chain-of-Thought Reasoning cites Bao and colleagues and takes up detection during long reasoning sequences. Its stated subject changes both the length of the material and the point at which a judgment is sought. Bao and colleagues evaluate a readout at the final token of a statement, question–answer pair, or source-and-response input. A streaming setting raises the question of what can be detected while the reasoning is still unfolding. The citation establishes a connection between the two studies. Whether the later work reuses Bao and colleagues’ probe training, extraction layer, or answer-selection rule is unspecified.
Cite
Cite as Yuntai Bao, Xuhong Zhang, Tianyu Du, Xinkui Zhao, Zhengwen Feng, Hao Peng and Jianwei Yin. 2025. Probing the Geometry of Truth: Consistency and Generalization of Truth Directions in LLMs Across Logical Transformations and Question Answering Tasks. Findings of the Association for Computational Linguistics: ACL 2025.
@inproceedings{bao2025probing,
title = {{Probing the Geometry of Truth: Consistency and Generalization of Truth Directions in LLMs Across Logical Transformations and Question Answering Tasks}},
author = {Yuntai Bao, Xuhong Zhang, Tianyu Du, Xinkui Zhao, Zhengwen Feng, Hao Peng and Jianwei Yin},
booktitle = {Findings of the Association for Computational Linguistics: ACL 2025},
year = {2025},
doi = {10.18653/v1/2025.findings-acl.38},
url = {https://doi.org/10.18653/v1/2025.findings-acl.38}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bao-2025-probing-geometry-truth-consistency-generalization/