Skip to content

Belief-Trajectory Energy (BTE): measuring the path by which large language models form predictionsBelief-Trajectory Energy: Measuring the Path to a Prediction

Hugging Face Daily Papers· arXiv:2610.05114· Jiahao Ying, Wei Tang, Boxian Ai, Yaoning Wang, Haotian Chen, Wenhe Sun, Caijun Xu, Haozhan Cai, Changyi Xiao, Yixin CaoFudan University; University of Science and Technology of China; Shanghai Innovation InstituteIndexed by this site · 2026-10-19· Originally publishedAlignment

Quick read

Interpretability

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

The authors use BTE to measure inter-layer belief revision; under setting C, Qwen all 32 dimensions has a review-detection macro-AUROC of 0.998.

Questions
Observing only the final output discards inter-layer predictive corrections. The authors want a principled, cross-task, moderately granular signal that characterizes the input using the scoring model's own predictive changes.
Methods
Using an open-source Transformer as the scoring model, logit lens reads each layer's residual as the next-token distribution, and the JSD of adjacent distributions is BTE. Averaging over tokens yields the depth profile; difficulty uses the intermediate-layer scalar, and detection and attribution use the profile fed into logistic regression.
Experiments and results
Llama's middle-layer ρ on reference solutions is 0.33–0.66 across the four tasks. Three scorers place MATH-500's BTE below GSM8K. Under setting C, Qwen's full-profile macro-AUROC is 0.998, and eight-way attribution is 95.6%. After fine-tuning, MATH-500 middle-layer drops 22%.
Limitations and future work
The discussion states that BTE need not exactly reproduce human-defined attributes, and that how internal computation is represented and measured remains an open question. The experiments use multiple open-source scoring models, the reasoning benchmarks in Table 3, and ICLR/NeurIPS reviews from 2021–2024; the paper states that the relevant training mixtures are not public.
Experimental setupLlama-3.1-8B-Instruct、Qwen-3.5-9B et al. · MATH-500、ProofWriter et al. · Spearman ρ、macro-AUROC et al.
Evaluated models
Llama-3.1-8B-InstructQwen-3.5-9BDeepSeek-R1-Distill-Llama-8BNemotron-Nano-8BOpenMath2-8BMistral-7B-InstructQwen2.5-7B-InstructQwen3-8BOLMo-2-7BGPT-5.5GPT-5.6Gemini-3.1-ProClaude-Opus-5
Benchmarks
MATH-500ProofWriterStepGameSpaRTUNGSM8KOlympiadBenchPRM800KICLR/NeurIPS 2021-2024 reviews
Metrics
Spearman ρmacro-AUROCaccuracypreference score
AI summaryThe researchers propose Belief-Trajectory Energy (BTE), which measures the input by characterizing the prediction revisions at each Transformer layer of a large language model, and can indicate the difficulty of reasoning tasks and support reviewer detection and generator attribution. The method maps intermediate states into a shared prediction space and outputs a scalar or a structured depth profile. On human-LLM reviewer detection and eight-class generator attribution, BTE reaches up to 0.998 macro-AUROC and 95.6% accuracy.

The researchers propose Belief-Trajectory Energy (BTE), which measures the input by characterizing the prediction revisions at each Transformer layer of a large language model, and can indicate the difficulty of reasoning tasks and support reviewer detection and generator attribution. The method maps intermediate states into a shared prediction space and outputs a scalar or a structured depth profile. On human-LLM reviewer detection and eight-class generator attribution, BTE reaches up to 0.998 macro-AUROC and 95.6% accuracy.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The final-state output discards inter-layer revisions; BTE uses the scoring model's belief trajectory to characterize the input.

    Looking only at the final output discards inter-layer prediction revisions; the paper aims to turn this trajectory into a measure in the scoring model's prediction space.

    • Scenario: The authors argue that large-scale autoregressive training leads LLMs to internalize a model of the linguistic world, but interaction occurs almost only through final probabilities, generations, or judgments. How inter-layer states are transformed and refined is not used by conventional evaluation.
    • Gap: A single forward pass yields many high-dimensional intermediate states; without a principled formulation, statistics may be merely engineering features. High-dimensional representations can support supervised classifiers, but their meaning is often tied to task training. Neuron analysis is fine-grained, costly, and often model-bound, while output statistics condense computation to the endpoint.
    • Observation: The authors read intermediate states through a vocabulary projection as next-token prediction distributions, called beliefs. The input is thus characterized by the prediction revisions it induces, rather than only by predefined human attributes that may not align with the model's representations. The same input can have different BTE orderings under different scoring models.
    • Proposal: Belief-Trajectory Energy (BTE). Per-layer belief revisions can be condensed into a scalar or a depth profile. The authors apply it to training-free difficulty measurement, human–LLM review detection, and generator attribution, and examine how the signal changes with pretraining and targeted training.
  2. What related research exists?

    The authors place BTE after logit lens and internal readout; it measures per-layer revision rather than a single-layer state.

    The related work is very short; detection comparisons are placed in the experimental baselines.

    Internal Computation and logit lens

    • The authors group together work that studies internal computation via hidden states, attention, neurons, and sparse features, citing [5, 8, 9, 12, 30, 31]. The main text does not elaborate on each paper's approach.
    • logit lens projects intermediate residuals through the output head (nostalgebraist, 2020). Belrose et al. (2023)'s tuned lens and Chuang et al. (2024)'s DoLa also use intermediate states. The authors state that subsequent work uses intermediate states to study knowledge recall, reasoning, and model computation; this paper instead measures successive changes rather than interpreting a single intermediate state.

    Internal Signals Beyond the Final State

    • Azaria and Mitchell (2023), Kadavath et al. (2022), and [5, 17] cited by the authors use internal representations or activations to estimate uncertainty. Another group estimates difficulty, correctness, or other input-output attributes ([29, 30]).
    • The authors state that these works demonstrate the value of looking beyond final predictions, but often rely on high-dimensional representations or task-specific supervised readouts. This is this paper's comparison, not the cited authors' own conclusion.

    Comparison Baselines and Data

    • On the difficulty side, no separate method baseline is set; the comparison is against predefined difficulty: MATH-500, ProofWriter, StepGame, SpaRTUN, as well as GSM8K, MATH-500, OlympiadBench.
    • Review detection comparisons are Log-likelihood (Solaiman et al., 2019), SpecDetect (Luo et al., 2026), Binoculars (Hans et al., 2024), and Open-Anchor (Yu et al., 2026), with data from ICLR and NeurIPS 2021–2024 reviews.

    The authors' positioning is: BTE simultaneously provides a training-free scalar and a compact depth profile in the predictive distribution space; a local one-step corresponds to an effective predictive correction under Fisher–Rao geometry, and the inter-layer sequence preserves intermediate corrections that the initial-to-final state displacement cannot recover.

  3. How does the paper address this problem?

    BTE measures logit lens beliefs by the JSD between adjacent layers, then aggregates them into a depth profile or intermediate-layer scalar.

    BTE uses the scoring model's own output head to read the residuals in a single forward pass as next-token distributions, then measures belief revision by the Jensen–Shannon divergence between adjacent distributions.

    Belief in Prediction Space

    • The scoring model is an open-weight Transformer with L layers, vocabulary V, unembedding matrix W_U, and final normalization LN. A single forward pass over the concatenation of prompt x and response y yields residuals at response position t and depth ℓ.
    • Following logit lens, each residual is passed through LN and W_U and then softmax to obtain a predictive belief. The sequence from the embedding readout to the final layer is that token's belief trajectory.
    • The one-step energy is defined as the JSD between adjacent beliefs: BTEt,ℓ=JSD(pt(ℓ),pt(ℓ+1)). It measures the magnitude of the predictive belief revision induced at layer ℓ.

    Local Geometry and Cross-Layer Information

    • Let the latter distribution be softmax(z+δ). Appendix A.1 writes the local expansion as JSD(p,q)=1/8Vari∼ p[δi]+O(|δ|3). A uniform shift of all logits contributes nothing; differential updates on tokens with large current probability mass contribute more. The quadratic form F=diag(p)−pp^⊤ is the Fisher–Rao metric in logit coordinates.
    • JSD can also be viewed as the mutual information, in nats, between a fair before/after indicator and a token sampled from the corresponding distribution. The local BTE is bounded: 0≤BTE≤log 2.
    • Likelihood and perplexity depend only on the final distribution. The authors state that because JSD is a metric, the triangle inequality and Cauchy–Schwarz make the endpoint displacement only a lower bound on the accumulated inter-layer revision; the start and end beliefs can be the same while the intermediate trajectory differs. The coefficient at this point in the main text cannot be reliably recovered from the text extraction, so the specific coefficient of that expression is not quoted.

    Depth Profile

    • The token-level BTE is a T×L matrix, with T varying with length. Averaging over tokens while retaining depth gives e(ℓ), and the profile e belongs to R^L. Figure 1 gives a schematic of the computation.
    • The authors' rationale for aggregation: all positions are on the same bounded scale, so the mean can be interpreted as the expected prediction revision of one token at depth ℓ and removes length. The signal is not dominated by a few tokens: the top 5% highest-energy tokens account for only ∼8% of the observed variation across responses.
    • Section 3.3 retains token-level statistics beyond the mean for use in attribution.

    Scalar Readout and Supervised Readout

    • Difficulty does not use the all-layer mean. For the 32-layer Llama, the central quarter of transitions, i.e., layers 12–19, is used as a fixed, training-free summary. The motivation comes from response perturbations: relative to normal responses, repeated fragments, random words, and shuffled responses have lower BTE in this window and higher BTE at the final-layer transition (Figure 2). The authors argue that high BTE near the output is not specific to problem difficulty.
    • The default scoring target is the official reference solution for the given problem, and BTE is computed only on solution tokens. The scalar is the mean over the central layer set. Appendix A.2 compares early, middle, late, and all-depth windows.
    • Review detection uses the full 32-dimensional profile, as well as a shape-only profile after per-layer mean subtraction and standard-deviation division. The readout is a class-balanced logistic regression; features are standardized using only the training split, and the regularization strength is chosen by five-fold cross-validation grouped by paper. Generated reviews are the positive class.
    • Attribution accumulates standard deviation and quantiles, four position-bin means, lag-1 autocorrelation, and high-energy token means on the per-layer token means, with dimensionality from 32 to 352. The classifier is an eight-class multinomial logistic regression with C=1.
  4. What experiments did the paper conduct?

    The authors report that the middle-layer scalar rises with difficulty, and Qwen's profile has a macro-AUROC of 0.998 under setting C.

    Experimental Setup

    • Scoring models: The default is Llama-3.1-8B-Instruct, whose layer structure the authors describe as homogeneous, facilitating analysis of belief revision. For difficulty, DeepSeek-R1-Distill-Llama-8B, Nemotron-Nano-8B, OpenMath2-8B, and Mistral-7B-Instruct are additionally used. The main results for detection and attribution are Llama-3.1-8B-Instruct and Qwen-3.5-9B. Pretraining uses OLMo-2-7B checkpoints; the fine-tuning target is Llama-3.1-8B-Instruct.
    • Difficulty data (Table 3): MATH-500 has 500 problems; ProofWriter has 500, clustered by 100 theories; StepGame has 500; SpaRTUN has 610; GSM8K, MATH-500, and OlympiadBench have 50 each. BTE counts only the official reference solution tokens.
    • Review data: eight conference-years, seven generators, 11,200 pairs in total; the common test set has 1,033 pairs per generator, split as in the paper and disjoint from training. Reviews from GPT-4o, Gemini-1.5-Pro, and Claude-3.5-Sonnet come from Yu et al.; GPT-5.5, GPT-5.6, Gemini-3.1-Pro, and Claude-Opus-5 were generated by the authors. The paper text serves as the prefix, and BTE is computed at the review positions.
    • Metrics: Difficulty reports the change relative to the easiest level, 95% cluster-bootstrap intervals, and Spearman ρ. Detection is the conference-year × generator macro-average AUROC. Attribution is eight-way accuracy. Human preference scores a model win, tie, and human win as 1, 0.5, and 0.
    • Training settings: A sees only the three early generators; B holds out one model family in turn; C has all seven generators in training, and the test papers remain disjoint. Rewrite only rewrites human reviews at test time. The classifier does not use rewritten samples for fitting.
    • Baselines: log-likelihood, SpecDetect (proxy changed to Llama-3.1-8B-Instruct), Binoculars (observer Llama-3.1-8B, performer Instruct), Open-Anchor (Qwen3-Embedding-8B, three anchors). The paper does not report the number of repetitions for the detection experiments.

    Main Results

    The table below shows the macro-AUROC on the seven target conference-years in Table 1. The BTE row is setting C, all 32 dimensions; baselines and BTE are evaluated on the same set of conference-years.

    MethodOriginalRewrite
    Qwen-3.5-9B, all 32 dimensions, setting C0.9980.998
    Llama-3.1-8B-Instruct, all 32 dimensions, setting C0.9680.965
    Open-Anchor0.9010.895
    Log-likelihood (Qwen-3.5-9B)0.8680.834
    Binoculars0.7600.725
    Log-likelihood (Llama-3.1-8B-Instruct)0.7040.661
    SpecDetect (raw)0.4630.476
    • The authors state that under setting C, BTE preserves both the revision magnitude and the depth structure, and the separation remains after rewriting human reviews. Open-Anchor relies on semantic similarity to reference generations and may degrade when the anchors differ substantially from the generator under test; likelihood methods condense the response into output statistics. Open-Anchor has 713 pairs per generator, not 1,033. SpecDetect normalized has an Original of 0.343, lower than raw.
    • Setting A does not transfer uniformly to newer generations. Llama all 32 dimensions gives 0.678, 0.543, and 0.109 on GPT-5.5, GPT-5.6, and Opus-5; Qwen gives 0.858, 0.725, and 0.717 (Table 1). The authors state that in Figure 4, the depth of several early generators is lower than that of human reviews, the gap narrows for newer generators, and Opus-5 reverses; they also report Qwen early–middle-layer AUROC of 0.82–0.95.
    • In setting B, Qwen's shape-only profile is 0.995, and 0.994 after rewriting. The authors argue that the separation does not mainly come from surface style. Appendix A.3 states that 2024 is weaker, and that year's human reviews may contain LLM assistance; these cells should be read as an upper bound on that year's difficulty, not as a property of the detector itself.

    Difficulty Measurement

    • When Llama scores the reference solution at the central layers, the ρ for MATH-500, ProofWriter, StepGame, and SpaRTUN is 0.44, 0.33, 0.65, and 0.66. The Table 4 intervals are [0.37, 0.51], [0.26, 0.40], [0.58, 0.70], and [0.62, 0.70]; Figure 3 writes StepGame as [0.59, 0.70]. For cross-task math, the Table 4 middle-layer ρ is 0.44 [0.30, 0.57], and Figure 3 writes [0.29, 0.56]. The authors state that the intervals for all four tasks exclude 0, and that spatial cross-task also recovers the expected ordering, but they do not report a separate ρ.
    • Three of the five scoring models place MATH-500's BTE below GSM8K: DeepSeek-R1-Distill-Llama-8B, Nemotron-Nano-8B, and Mistral-7B-Instruct have ρ of −0.72, −0.48, and −0.62; OpenMath2-8B has 0.45 (Figure 3). The authors hypothesize that this is related to the scorer's training exposure to that distribution, and leave a systematic test of low BTE as a familiarity probe to future work.
    • When only the problem statement is scored, the ρ for ProofWriter, SpaRTUN, and StepGame is −0.01, 0.08, and −0.19; the MATH-500 problem statement is 0.36, and the cross-task problem statement is 0.60. The authors report average correlations of 0.43 and 0.27 for DeepSeek and Mistral, and 0.52 for Llama, and argue that the revision induced by the same input varies with the scoring model.

    Human Preference and Generator Attribution

    • Six NLP researchers, 30 papers, 60 judgments per generator against paired human reviews (Table 11). The preference scores for GPT-5.5, GPT-5.6, and Claude Opus 5 are 0.867, 0.892, and 0.875, combined 0.878; the three early generators combined are 0.531. Gemini 3.1 Pro is 0.483, which the authors call an exception among the newer generators. Across the seven generators, the Spearman ρ between preference and the signed shift of middle-layer BTE is 0.857, p=0.024.
    • Table 2, setting C: the per-layer token mean already reaches Llama 86.4% and Qwen 91.3%; after accumulating to 352 dimensions, it is 93.2% and 95.6%. The authors state that the remaining errors are concentrated in GPT-5.5 and GPT-5.6, which are confused with each other about 10% of the time. In the t-SNE of Figure 9, richer token statistics separate Human and the three early generators from the newer generators; GPT-5.5 and GPT-5.6 still overlap. The figure distances are not calibrated, so only whether clusters separate can be read.

    Pretraining and Targeted Fine-Tuning

    • With random initialization, the five MATH levels' profiles coincide, the middle-layer mean is 0.013, and the standard deviation over 500 solutions is below 0.0002. OLMo-2-7B's middle-layer BTE reaches 0.093, which the authors call sevenfold. The difficulty correlation goes from ρ=−0.13 at what the authors call 1T tokens to +0.03 for the 3,946B-token annealed model in Table 17; the authors call the end of pretraining 4T. Llama-3.1-8B is +0.36 at about 15T, and Instruct is +0.44.
    • After fine-tuning Llama-3.1-8B-Instruct on PRM800K human-verified solutions, MATH-500 middle-layer BTE drops 22%, GSM8K drops 17%, and the cross-benchmark order reverses (Figure 6B). When fine-tuning only on levels 4–5, the drop at level 5 is larger than at level 1 (−19.7% vs. −17.5%). The authors state that greater targeted exposure co-occurs with smaller prediction revisions.

    Other Ablations and Analyses

    • Readout window (Table 4, Llama, reference solution): the middle layers are the only fixed readout that is positive on all five settings with an interval excluding 0; the all-depth mean is highest on cross-benchmark math, ρ=0.79. The late-layer ρ for ProofWriter, StepGame, and SpaRTUN is −0.45, −0.91, and −0.33.
    • Style control (Table 5, n=150): after GPT-5.5 rewrites under the same instruction, the middle-layer ρ for GSM8K→MATH-500→OlympiadBench goes from 0.44 to 0.75, with the order unchanged.
    • Length (Table 16, MATH-500): Llama's ρ(E,d) is 0.444, 0.212 after controlling for response length, and 0.151 after also controlling for problem-statement length. Nemotron-Nano-8B-v1 is 0.061 after controlling for response length, and the paper writes p=0.173.
    • Length residual for detection (Table 15): using only log(1+n), the macro-AUROC is 0.512–0.538; the AUROC difference between the residual profile and the original profile is at most 0.008.
    • Familiarity (Table 8): on Qwen-3.5-9B, the average NLL of generated reviews is 10.4% lower than that of human reviews, and 2.4% lower for Llama; the middle-third-layer BTE gap is −13% and −9%. The B/C in the same table are review-only detection, not the with-paper-prefix setting of Table 1.
    • Year (Table 9, all 32 dimensions, Original): for every setting and both scorers, NeurIPS 2024 is the lowest in that column; for setting C, Qwen is 0.9934.
  5. What are some points that can be further explored?

    The authors state that BTE need not reproduce human-defined attributes, and how to measure internal computation remains an open question.

    Limitations and Future Directions Noted by the Authors

    • The discussion states that BTE should not be expected to exactly reproduce human attributes defined independently of the model; in the difficulty experiments, the measurement can vary with the scoring model and with whether the problem statement or the solution is scored (Discussion).
    • The authors treat scorer dependence as part of the measurement rather than a mere source of variance: different models can give different perspectives on the same data (Discussion).
    • The authors state that model-side measurement via internal dynamics is still an emerging direction, and that how internal computation should be represented and measured has many open questions (Discussion).
    • Appendix A.6 states that BTE should not be interpreted as a difficulty measure independent of length; it mixes factors related to difficulty, including the solution computation reflected in response length.

    The paper has no separate Limitations section. Section 3.1 leaves "low BTE as a probe of training exposure" to future work; that sentence is not in the discussion or conclusion, so it is not listed here.

    Scope of Experimental Coverage

    • The scoring models for the main difficulty experiments are Llama-3.1-8B-Instruct and four other 7B–8B open-source models; by default the official reference solution is scored, BTE counts only solution tokens, and the scalar window is layers 12–19 (Section 3.1, Appendix A.2).
    • The difficulty benchmarks and their sizes are given in Table 3: MATH-500, ProofWriter, StepGame, SpaRTUN, and 50 problems each from GSM8K, MATH-500, and OlympiadBench. The intervals are cluster-bootstrap.
    • Review detection covers ICLR and NeurIPS 2021–2024 and seven generators; the main setting puts the paper in the prefix. The classifier is logistic regression. Appendix Table 7 additionally reports transfer with NeurIPS 2021 as the training source. The authors state that the training mixtures for Qwen and Llama are not public.
    • The human evaluation is 6 raters, 30 language-related papers, and 60 overall judgments per generator; the Overall exact agreement rate for human–model pairs is 71.0%, and the ordinal Krippendorff α is 0.496 (Appendix A.4).
    • The pretraining analysis uses released OLMo-2-7B checkpoints; the targeted fine-tuning is Llama-3.1-8B-Instruct on PRM800K, full-parameter, one epoch (Appendix A.7). The paper does not report the number of repeated experiments for detection or attribution.
  6. Summarize the main content of the paper

    BTE condenses inter-layer prediction revisions into a model-side signal, used for difficulty, review detection, and generator attribution.

    Belief-Trajectory Energy condenses the inter-layer prediction corrections within a single forward pass of an open-source Transformer into a comparable input metric.

    • Problem: Conventional use almost only looks at the final probability, generation, or judgment. The authors want to preserve how beliefs are rewritten layer by layer, and use this rewriting to characterize the input, rather than relying only on pre-specified human attributes.
    • Method: logit lens reads each layer's residual as the next-token distribution; the JSD between adjacent layers is one-step BTE, which is then averaged over response tokens into a depth profile. The local expansion corresponds to the belief-update variance under Fisher–Rao geometry. The difficulty experiment takes the mean of layers 12–19 of a 32-layer Llama; detection and attribution use the profile, and attribution can additionally include token-level statistics.
    • Difficulty: When Llama-3.1-8B-Instruct scores reference solutions, the middle-layer Spearman ρ across the four tasks is 0.33 to 0.66 (Figure 3, Table 4). DeepSeek-R1-Distill-Llama-8B, Nemotron-Nano-8B, and Mistral-7B-Instruct give opposite rankings between GSM8K and MATH-500, with ρ of −0.72, −0.48, and −0.62.
    • Detection and attribution: When all seven generators enter training, Qwen-3.5-9B's full 32 dimensions give a macro-AUROC of 0.998 (Table 1, setting C). When only early generators are trained, Llama gives 0.109 on Opus-5. On eight-way attribution, Qwen's 352-dimensional features give 95.6% (Table 2).
    • Training and conclusion: OLMo-2-7B's middle-layer BTE goes from 0.013 at random initialization to 0.093. After PRM800K fine-tuning, the MATH-500 middle layer drops 22%, and GSM8K drops 17%. The authors' conclusion is: the learned model can be treated as a measuring instrument; BTE reflects what the scorer has learned and which distributions it has been exposed to, and the scorer's choice and training history are part of the measurement itself.
Read originalhuggingface.co