Skip to content

No Need to Answer: Predicting LLM Answer Accuracy from Question-Only Linear ProbesNo Answer Needed: Predicting LLM Answer Accuracy from Question-Only Linear Probes

arXiv· arXiv:2509.10625· Iván Vicente Moreno Cencerrado, Arnau Padrés Masdemont, Anton Gonzalvez Hawthorne, David Demitri Africa, Lorenzo PacchiardiUniversidad Internacional de Valencia; The Mentorship for Alignment Research Students program by the Cambridge AI Safety Hub; University of CambridgeIndexed by this site · 2026-10-14· Originally publishedAlignment

Quick read

Interpretability

Based on the paper PDF (AI-generated); refer to the original

Across six open-source models, the linear direction of the final question token can predict whether factual questions are correct or incorrect; the authors state it does not transfer to GSM8K.

Questions
The authors ask: after an LLM reads a question but before generating any token, does it already linearly encode whether it will answer correctly or incorrectly. The authors state that existing confidence estimates mostly come after generation and do not all apply to free-form answers.
Methods
On the residual stream at the last token of the question, define a direction using the mean difference between correct and incorrect activations, evaluate projection scores with AUROC, and do not set a threshold by default. The direction is trained on TriviaQA, then tested on other open-ended datasets; compare against verbal confidence, as well as logistic regression and XGBoost on question embeddings.
Experiments and results
In Table 2, the direction on TriviaQA outperforms both baselines on several factual and arithmetic datasets, with GSM8K at 0.499–0.601. Exceptions include Llama 3.3 70B verbalized confidence at 0.913 on Math ops., higher than the direction's 0.835.
Limitations and future work
The authors note correctness comes only from binary labels from a single sample, linear probes may underestimate predictive power, and only six open-source models were evaluated with layer selection only on TriviaQA. Experiments used temperature 0, three-shot prompting, and AUROC automatically checked against gold answers; the paper does not report significance tests or LLM evaluation.
Experimental setupLlama 3.1 8B、Llama 3.3 70B Instruct et al. · TriviaQA、Cities et al. · AUROC、Accuracy
Evaluated models
Llama 3.1 8BLlama 3.3 70B InstructQwen 2.5 7B InstructDeepSeek R1 Distill Qwen 32BMistral 7B Instruct v0.3Ministral 8B Instruct 2410
Benchmarks
TriviaQACitiesNotable PeopleMedalsMath operationsGSM8K
Metrics
AUROCAccuracy
AI summaryResearchers train linear probes on activations from when the model has finished reading the question but has not yet generated any tokens, to predict whether the model's upcoming answer will be correct. Across three open-source model families ranging from 7B to 70B parameters, this "anticipatory correctness direction" trained on general common-sense question answering predicts success both in-distribution and on multiple out-of-distribution knowledge datasets, outperforming black-box baselines and the model's verbalized confidence. Predictive ability saturates in middle layers, but generalization declines on problems requiring mathematical reasoning. For models that answer "I don't know," this response correlates highly with probe scores, indicating the same direction also captures confidence.

Researchers train linear probes on activations from when the model has finished reading the question but has not yet generated any tokens, to predict whether the model's upcoming answer will be correct. Across three open-source model families ranging from 7B to 70B parameters, this "anticipatory correctness direction" trained on general common-sense question answering predicts success both in-distribution and on multiple out-of-distribution knowledge datasets, outperforming black-box baselines and the model's verbalized confidence. Predictive ability saturates in middle layers, but generalization declines on problems requiring mathematical reasoning. For models that answer "I don't know," this response correlates highly with probe scores, indicating the same direction also captures confidence.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    In the residual stream before generation, is there a direction that can linearly predict whether the model will answer correctly or incorrectly?

    When the model has finished reading the question and has not yet generated any tokens, is there already a direction in the residual stream that linearly separates questions that will be answered correctly from those that will be answered incorrectly?

    • Scenario: The authors study the self-correctness representation of LLMs. Existing work uses hidden activations to look at statement truthfulness, deception, and hallucination; this paper asks whether, before generation begins and with only the question read, the model already encodes whether it will answer correctly.
    • Existing approaches: The authors state that token logits, semantic similarity across multiple samples, or verbalized uncertainty are not all applicable to free-form answers, performance lacks consensus, is susceptible to shortcuts, and methods are inconsistent with each other. Assessors that do not use internal representations only look at model-independent question features.
    • Hypothesis: The authors test the Linear Representation Hypothesis for correctness: in the residual stream at the last token of the question, there is a direction that linearly separates questions that will be answered correctly from those that will be answered incorrectly.
    • This paper's approach: Use class mean difference to define the in-advance correctness direction, and on six open-source models across three model families, from 7B to 70B, as the authors call them, see whether a direction trained on TriviaQA can predict correctness on in-distribution and other knowledge datasets, and compare against black-box assessors and verbal confidence.
    • Readout conditions: Appendix A.1 states that the method assumes white-box access to the residual stream. Activations are taken from the last prompt token before sampling; labels are whether the generated answer at temperature 0 is correct relative to the gold answer. The authors state the goal is to understand the internals, not to maximize predictive power.
  2. What related research exists?

    Related work includes post-generation confidence estimation, external assessors, and probing internal activations for truthfulness and similar behaviors.
    • Verbalized confidence and uncertainty: Shorinwa et al. (2024) survey LLM uncertainty quantification. Related approaches include token-level logits (Fadeeva et al., 2024; Kadavath et al., 2022), additional uncertainty modules (Kadavath et al., 2022), and semantic similarity across multiple generations (Kuhn et al., 2023). For verbal reports, Lin et al. (2022) and Kapoor et al. (2024) fine-tune models to give numerical beliefs, Chaudhry et al. (2024) output linguistic expressions, and Shrivastava et al. (2025) rank pairwise comparisons into scores. The authors state these methods lack consensus (Kapoor et al., 2024), are fragile to shortcuts (Heindrich et al., 2025), give inconsistent results across methods (Pawitan and Holmes, 2024), and do not all apply to free-form answers. Appendix A.1 states sampling-based estimates typically need 10–20 candidate answers per question.
    • Model-agnostic assessors: Hernández-Orallo et al. (2022), Zhou et al. (2022; 2024), Schellaert et al. (2024), and Pacchiardi et al. (2024; 2025) train score predictors on question features independent of the tested LLM, motivated by Predictable AI (Zhou et al., 2024). Kamath et al. (2020) combine question embeddings, handcrafted features, and prior confidence scores, using nonlinear models including XGBoost to predict correctness in advance. The authors contrast that this paper uses only linear probes on internal activations, to test linear separability rather than improve predictive power.
    • Other probing of internal representations: truthfulness of full statements appears in Burns et al. (2022), Azaria and Mitchell (2023), Marks and Tegmark (2023), Burger et al. (2024), and Bao et al. (2025); the class-mean difference here comes from Burger et al. Others cover answerability (Heindrich et al., 2025), deception (Yang et al., 2024; Goldowsky-Dill et al., 2025; Parrack et al., 2025), and when chain-of-thought begins predicting the final answer (Kudo et al., 2024). Concurrent work uses internal states to judge hallucination or non-factuality at question time (Snyder et al., 2024; Ji et al., 2024; Slobodkin et al., 2023; Gottesman and Geva, 2024; Wang et al., 2024). The authors frame this paper as a narrower setting: single layer, one-dimensional class-mean difference, before any token generation, per-question self-correctness across six open-source models.
    • Recent work the authors name: Kadavath et al. (2022) tested similar probes on older proprietary models but did not release reproducible code; the authors state this paper gives consistent evidence with newer open-source LLMs. Ferrando et al. (2025) use pretrained SAEs on Gemma2 2B/9B and LLaMA 3.1 8B to find knowledge-awareness directions, and on Gemma2 chat models find latents that differ most between correct and incorrect answers; the authors state the two lines of evidence agree, though the latter experiment is limited to Gemma2, while this paper trains linear directions directly and scales to 70B.
    • Baselines and data: experimental baselines are verbalized confidence (0–100%) and logistic regression and XGBoost on 3,072-dimensional question embeddings from openai_text-embedding-3-large. Datasets are TriviaQA, GSM8K, and self-built Cities, Notable People, Medals, and Math operations. The authors place this paper on the side of "pre-generation, only internal linear directions, applicable to free-form answers," with the scientific goal of understanding internals rather than combining features to improve predictive power.
  3. How does the paper address this problem?

    Take the class mean difference on a single-layer residual stream at the last token of the question, and evaluate this correctness direction with AUROC.

    Overall it uses an in-advance correctness direction: after the question is read and before sampling, the mean difference between activations for correct and incorrect answers is taken on the residual stream of a single layer, and separability is assessed by the AUROC of the projection score. The authors chose a linear probe to test linear separability, not to maximize accuracy.

    Problem setup

    • Model M gives, for prompt x, the residual-stream activation of the last token of the question at each layer l. An answer y is then obtained by autoregressive sampling. Correctness is a binary function Correct(x, y).
    • The objective is written as fw(h(l)(x))≈ 1{Correct(x,M(x))}: using the layer-l activation to predict whether the answer to that question is correct.
    • The experiments set temperature to 0, so the discussion in Section 3 about random labels from nonzero temperature does not apply in the experiments. Prompts are three-shot, to reduce format errors; the full prompt is in Appendix B.9. The authors state that in exploration, specific examples had little effect on performance.
    • The datasets use open-ended questions, not multiple choice, to avoid getting them right by chance. TriviaQA is a diverse set of knowledge questions; Cities, Notable People, and Medals are narrow-domain factual questions built from public tables; there are also self-built arithmetic questions, Math operations, and the mathematical reasoning benchmark GSM8K.

    Correctness direction

    • Only one layer and the activation of the last token of the question are used, split into two classes by whether the answer is correct, with means μ_false and μ_true for each class. The direction w is the mean for correct answers minus the mean for incorrect answers, following Burger et al. (2024) on probes for the truth of statements.
    • The score is score(h)=(h−μ)⊤ w/|w|. μ is the midpoint of the two class means. The score measures the alignment of the activation with the correctness direction.
    • The authors do not pass the score through a sigmoid and do not set a classification threshold by default. Discriminative power is measured by AUROC, which is invariant to monotonic transformations of the score and sweeps all cut points. The default output is therefore not a probabilistic classifier but a linear axis separating correct from incorrect.
    • The direction is trained separately for each model: the labels are that model's own answer correctness, not a shared cross-model label.

    Layer selection and usage protocol

    • First, the layer that best separates correct from incorrect is found for each model on TriviaQA. The authors chose this set because its question domains and difficulty are more varied, to reduce the direction being tied only to surface features associated with success. The remaining datasets are held out for later evaluation.
    • This step uses 10,000 TriviaQA items exclusively. Models smaller than 10B take activations every 2 layers, and models larger than 10B every 4 layers. Each layer undergoes 3-fold cross-validation, and the layer is selected by mean AUROC across folds. The Best layer in Table 4 is therefore a result among sampled layers, not an exhaustive layer-by-layer search.
    • The subsequent generalization experiments remove the first 10,000 TriviaQA items. Each dataset is split into 5 folds: train on 4 folds of TriviaQA, test in-distribution on the held-out fold, and test on 1 fold of each out-of-distribution dataset. The same folds are used when the training set changes.
    • DeepSeek R1 Distill Qwen 32B is a reasoning-trained model, but the experiments use no reasoning-specific prompt and follow the same protocol as the other models.

    Controls and criterion

    • Verbal confidence: Each model outputs a confidence from 0–100% for each question, indicating how likely it thinks its answer is correct. This baseline requires no training set. The prompt is in Appendix B.9.
    • Assessor: Following the black-box setting of Hernández-Orallo et al. (2022), a model-independent question embedding is used to predict whether that model can answer correctly. The embedding comes from openai_text-embedding-3-large, 3,072 dimensions; the classifiers are logistic regression and XGBoost, as linear and nonlinear controls respectively. The number of XGBoost trees is selected by 5-fold on the same TriviaQA training subset as Section 4.4, with other hyperparameters at default.
    • The main metric is AUROC. Answer correctness is determined automatically against the gold answer. If a model outputs a refusal such as "I don't know," it is recorded as incorrect when training the direction. Figure 1 depicts the pipeline as: extract activations, score answers, find the direction, select the layer, then evaluate out-of-distribution.
  4. What experiments did the paper conduct?

    In Table 2, the direction on TriviaQA is mostly higher than baselines on factual sets, with GSM8K at 0.499–0.601.

    Experimental setup

    • Models: Llama 3.1 8B, Llama 3.3 70B Instruct, Qwen 2.5 7B Instruct, DeepSeek R1 Distill Qwen 32B, Mistral 7B Instruct v0.3, Ministral 8B Instruct 2410. Layer counts and Best layer on TriviaQA are in Table 4: 32/14, 80/76, 28/22, 64/44, 32/16, 36/18.
    • Data: Table 1 shows TriviaQA 60K, Cities 10K, Notable People 16K, Medals 9K, Math operations 6K, GSM8K 8K. The authors give GSM8K answer accuracy 10.7%–44.3% and Cities 45.8%–80.3%, consistent with the min–max in Table 5; they state both classes have enough samples, and always-correct AUROC is 0.5 by construction.
    • Generation: temperature 0, three-shot prompts, activations at the final question token before sampling. Abstentions are counted as incorrect when training the direction. DeepSeek does not use reasoning-specific prompts.
    • Splits: layer selection uses the first 10,000 TriviaQA items with 3 folds; generalization removes these 10,000 and uses 5 folds. Figure 5 repeats each training size 10 times and averages.
    • Baselines and metrics: verbalized confidence has no training set. Assessor uses logistic regression and XGBoost on 3,072-dimensional question embeddings; Table 2 reports only logistic regression, which the authors call better performing, with the full XGBoost table in Table 9. Main metric is AUROC. Correctness is automatically judged against gold answers; the paper does not mention using LLM evaluation.
    • Compute: larger models about 60 hours on A100, smaller models about 100 hours on A40. The authors state the probe trains on 10,000 cached activations in under 3 minutes on CPU; the main cost is collecting activations.

    Main results

    The table below lists only the direction from Table 2: all trained on TriviaQA at the Best layer from Section 4.3, as 5-fold average AUROC. Notable People is not included in the table.

    Swipe horizontally to read the table

    ModelTriviaQACitiesMath ops.MedalsGSM8K
    Llama 3.1 8B0.8040.7320.8580.6800.534
    Llama 3.3 70B Instruct0.8260.8800.8350.7700.499
    Qwen 2.5 7B Instruct0.7580.8420.8370.5860.601
    DeepSeek R1 Distill Qwen 32B0.7350.8790.8470.6380.552
    Mistral 7B Instruct v0.30.7960.8800.7820.6450.579
    Ministral 8B Instruct 24100.7340.8400.8440.6700.578
    • The authors state the direction generalizes better than baselines on all datasets except GSM8K, and relative to their best baseline, Notable People is 10–22 AUROC points higher, Cities 5–18 higher, Math operations 28–39 higher, and Medals receives 4–15; they also believe only 70B has a larger advantage on Medals. In Table 2, Notable People direction values are 0.722, 0.708, 0.800, 0.825, 0.760, 0.680 in order.
    • Table 2 has counterexamples. In-distribution, except for Llama 3.3 70B (direction 0.826, assessor 0.759), logistic regression assessor is higher, e.g., Llama 3.1 8B at 0.852 vs. 0.804. Llama 3.3 70B verbalized confidence on Math ops. is 0.913, higher than the direction's 0.835. Qwen 2.5 7B Instruct on Medals has assessor 0.622, higher than direction 0.586. The authors state no method can skillfully predict success or failure on GSM8K; the highest direction in that column is Qwen's 0.601.
    • The authors believe the assessor is slightly higher in-distribution and drops out-of-distribution, possibly because the assessor relies on spurious correlations in question semantic embeddings, while the linear direction in the residual stream is more stable across domains. In Table 6, the 5-fold standard deviation of the direction is, the authors state, below 0.035; the largest entry is DeepSeek on Math ops. at 0.847±0.035.

    Transfer when changing the training set

    • A direction is trained separately on each dataset, then tested on all datasets, with the same folds as the main experiment. Figure 3 shows Mistral 7B Instruct v0.3 (layer 16) and Llama 3.3 70B Instruct (layer 76); other models are in Appendix B.6. After text conversion, heatmap columns may be misaligned; cells are not transcribed.
    • The authors state small datasets (e.g., Cities, Notable People) sometimes transfer to other sets, but not always; in-distribution is acceptable for each set, with Medals often lowest. Directions trained on TriviaQA generalize most strongly, except for GSM8K and Medals. Comparing models, the authors state Llama 3.3 70B generalizes well on the most training–test pairs.
    • Appendix B.7 compares cosine similarity of directions across datasets. The authors state directions on small datasets are mostly orthogonal, with a few exceptions like Cities and Notable People, and are more aligned with the TriviaQA direction; they believe some directions capture dataset-specific cues related to correctness rather than correctness itself.

    Abstention positions and high- and low-scoring questions

    • Some models, despite being asked to answer in a format, still output abstentions like "I don't know." Figure 4 gives two sets of counts on Cities: Mistral 7B Instruct has Right n=4582, Wrong n=1994, IDK n=3408; the DeepSeek Qwen 32B in the legend has Right n=6030, Wrong n=2721, IDK n=1233. The authors state abstentions lie further toward the negative end of the correctness direction than wrong answers.
    • The authors therefore interpret this direction also as an implicit confidence axis: the model says it does not know only when its confidence in being able to answer is very low, and they place it alongside the knowledge-awareness direction of Ferrando et al. (2025). This paper reports the projection distribution.
    • Table 3 examines Mistral 7B Instruct on Notable People, with the highest and lowest scores from the TriviaQA direction. The authors state low-scoring errors include abstentions, high-scoring errors often miss by a year or two, and high-scoring correct answers are often very famous people, consistent with the confidence interpretation.

    Cross-layer separability and sample efficiency

    • In Figure 2, the x-axis is Layer/Total Layers, the y-axis is Test ROC AUC, and curves are 3-fold averages on TriviaQA. The legend writes Minstral 8b, while the text and Table 4 write Ministral 8B Instruct 2410. The authors state early layers are worse, saturation occurs around the middle, and Best layers are mostly between the midpoint and the final layer. Layer numbers per model are in Table 4, with Llama 3.3 70B Instruct at layer 76 (of 80).
    • Figure 5 trains the direction with different numbers of TriviaQA samples, repeating each size 10 times and reporting average AUROC, with a logarithmic x-axis. The authors state as few as 160 items give robust performance, and 2,560 items match the 48,540 used in that experiment; they also state larger models need fewer samples. The authors state GSM8K stays near random regardless of data size. Per-point numeric values are not given in the text.
    • The authors believe this sample efficiency supports the linear representation hypothesis: if the signal lay on a highly nonlinear manifold, a class-mean difference probe would likely need much more data to generalize. This is an interpretation of Figure 5.

    Other ablations and analyses

    • Table 8: Llama 3.3 70B on Math ops. at layer 76 is 0.835, and selecting the layer by that dataset (layer 32) gives 0.979; GSM8K at layer 76 is 0.499, and at layer 32 is 0.625. The authors state the single layer selected by model is close to the layer optimized per dataset.
    • Table 7: thresholds are chosen using only training data. Llama 3.3 70B on GSM8K has accuracy 0.500 with the TriviaQA-trained direction and 0.671 when trained on GSM8K; Math ops. is 0.520 and 0.943 respectively.
    • Table 9: XGBoost is higher in-distribution than logistic regression, e.g., Mistral 7B at 0.898 vs. 0.846; out-of-distribution it is often lower, e.g., the same model on Notable People at 0.558 vs. 0.673. Tree counts are selected with 5-fold; other hyperparameters are defaults.
    • Some AUROC values in Table 2 and Table 8 are not identical, e.g., Llama 3.3 70B on TriviaQA is 0.826 and 0.821; the paper does not explain the source of the difference.
    • Figure 9 shows cross-layer AUROC when training and testing on each dataset, marking the first layer reaching 90% accuracy of the TriviaQA best layer. The text does not give per-layer readings.
    • The probe is a one-shot learning of a d-dimensional vector; the authors state CPU training on 10,000 cached activations takes under 3 minutes, which is light relative to generation.
  5. What are some points that can be further explored?

    The authors note binary single-sample labels and linear probes may underestimate predictive power, as well as model scope and layer selection only on TriviaQA.

    Limitations and future directions noted by the authors

    • Correctness comes from a binary label from a single sample, ignoring the stochasticity of generation and not covering ambiguous or subtly different answers. Future work could sample multiple times or use real-valued correctness scores (Section 6).
    • For reasoning, one could probe along the reasoning trajectory and compare linear probes against stronger baselines on reasoning-heavy datasets (Section 6).
    • Linear probes may underestimate predictive power; higher-capacity nonlinear classifiers may give higher predictive power. The probe targets pre-generation factual correctness signals, not a memory-free notion of correctness, and the authors state this should be carefully evaluated in the future (Section 6).
    • Evaluated six open-source models, three families, up to 70B. The authors state results may not fully generalize to proprietary models, other architectures (e.g., mixture-of-experts), or future frontier systems; due to compute, only one large model was tested (Section 6).
    • The best layer for each model was selected only on TriviaQA. The authors state layer selection could be repeated on other large general datasets to check whether this choice is universal (Section 6).

    Experimental coverage

    • The tested models are the six in Table 4: Llama 3.1 8B, Llama 3.3 70B Instruct, Qwen 2.5 7B Instruct, DeepSeek R1 Distill Qwen 32B, Mistral 7B Instruct v0.3, Ministral 8B Instruct 2410.
    • The datasets are the six open-ended QA sets in Table 1, with sizes 60K, 10K, 16K, 9K, 6K, 8K. Generation temperature is 0, prompts are three-shot (Appendix B.9). Although DeepSeek is a reasoning-trained model, the experiments did not use reasoning-specific prompts (Section 4.1).
    • The main metric is AUROC. Layer selection uses 10,000 TriviaQA examples with 3 folds; generalization experiments use 5 folds. Figure 5 repeats each training amount 10 times. Correctness is automatically determined against the gold answer.
    • Baselines are verbal confidence, as well as logistic regression and XGBoost on openai_text-embedding-3-large (3,072 dimensions). Both directions and assessors are trained on the tested model's own answers.
    • The paper does not report statistical significance tests, nor does it report using an LLM to judge answer correctness. Refusal counts are written in Figure 4: on Cities, Mistral 7B Instruct's IDK is n=3408, and DeepSeek Qwen 32B in the legend is n=1233.
  6. Summarize the main content of the paper

    A linear direction before generation can predict correctness across factual datasets, but the authors state it does not transfer to GSM8K.

    The authors use a pre-generation class-mean difference probe to check whether open-source LLMs linearly encode self-correctness before answering.

    • Question: after reading the question and before sampling, can the residual stream linearly predict whether the model will answer correctly or incorrectly. They frame this on free-form question answering and compare against post-generation confidence estimates and external assessors.
    • Method: on a single layer at the final question token, they take the mean of correct activations minus the mean of incorrect activations to get a direction, then use AUROC of the centered projection, without setting a threshold by default. Temperature 0, three-shot, open-ended questions. Layers are selected from sampled layers on 10,000 TriviaQA items.
    • Main results: in Table 2, the TriviaQA-trained direction on six models is 0.732–0.880 on Cities, 0.782–0.858 on Math operations, and 0.499–0.601 on GSM8K. The authors state generalization on factual datasets is stronger than baselines, with no transfer to mathematical reasoning. In the same table, Llama 3.3 70B verbalized confidence on Math ops. is 0.913, higher than the direction's 0.835; in-distribution logistic regression assessor is also often higher than the direction.
    • Other observations: the authors state separability saturates in middle layers, with Llama 3.3 70B most stable among tested models; in Figure 5, as few as 160 TriviaQA samples give a robust direction. Questions answered with "I don't know" without prompting lie further toward the negative end of the direction, which the authors also interpret as implicit confidence.
    • Authors' conclusions: the authors state this provides evidence for a linear representation of factual correctness, while internal checks for factual retrieval and arithmetic reasoning may differ. The authors state the direction could be used with other black-box and white-box methods for early stopping, fallback, or human intervention; the paper does not report these deployment experiments.
Read originalarxiv.org