Skip to content
ImagineWorld

Online Reasoning Calibration: Test-Time Training Enables Generalizable Conformal LLM Reasoning

node_idnode-paper_arxiv-2604.01170_online-reasoning-calibration-test-time-training-enables-generalizable-conformal
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2604.01170
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityguides
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the machine-introspection field, the work presents online reasoning calibration — test-time training enabling generalizable conformal prediction — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titleOnline Reasoning Calibration: Test-Time Training Enables Generalizable Conformal LLM Reasoning
paper_authorsCai Zhou, Zekai Wang, Menghua Wu, Qianyu Julie Zhu, Flora C. Shi, Chenyu Wang, Ashia Wilson, Tommi Jaakkola, Stephen Bates
arxiv_id2604.01170
arxiv_urlhttps://arxiv.org/abs/2604.01170
arxiv_categories{"primary":"cs.LG","secondary":["cs.AI","cs.CL","stat.AP","stat.ML"]}
arxiv_v2
arxiv_submitted_at2026-04-01
arxiv_updated_at2026-08-06
ocr_sourcearxiv_html
ocr_quality_classverbatim_latexml_html
extraction_toolarxiv-nodepaper-transpose
extraction_pipeline_versionworld-ingest-arxiv-html-v1.0
extracted_at2026-10-13T06:51:09Z
math_preserved_as_latextrue
figures_extractedfalse
references_structurally_parsedfalse
created_at2026-10-13T06:51:09Z
updated_at2026-10-14T05:53:23Z
local graph

Online Reasoning Calibration: Test-Time Training Enables Generalizable Conformal LLM Reasoning

Section titled “Online Reasoning Calibration: Test-Time Training Enables Generalizable Conformal LLM Reasoning”

Authors: Cai Zhou, Zekai Wang, Menghua Wu, Qianyu Julie Zhu, Flora C. Shi, Chenyu Wang, Ashia Wilson, Tommi Jaakkola, Stephen Bates

arxiv: 2604.01170

Converted to markdown on 2026-10-13 from the arXiv HTML (LaTeXML) rendering. This paper’s figures are not image-based or were unavailable; captions are kept.


While test-time scaling has advanced the performance of large language models, state-of-the-art results impose a heavy computational burden. Better dynamic allocation of test-time compute would help mitigate this cost, but one key challenge is the lack of calibration in post-trained language models. Here, we present Online Reasoning Calibration (ORCA), a technique for calibrating the sampling process that draws upon conformal prediction and test-time training. Specifically, we introduce a meta-learning procedure that updates the calibration module for each input. This allows us to provide valid confidence estimates under distributional shift, such as that in thought patterns across different stages of reasoning, or in prompt distributions between model development and deployment. ORCA not only provides theoretical guarantees on conformal risks, but also empirically shows higher efficiency and generalization across different reasoning tasks. At risk level δ=0.1\delta{=}0.1, ORCA improves Qwen2.5-32B efficiency on in-distribution tasks with savings up to 47.5% with supervised labels and 40.7% with self-consistency labels. Under zero-shot out-of-domain settings, it improves MATH-500 savings from 24.8% of the static calibration baseline to 67.0% while maintaining a low empirical error rate, and the same trend holds across model families and downstream benchmarks. Our code is publicly available at https://github.com/wzekai/ORCA.

Large language models have solved increasingly complex problems, such as olympiad mathematics and software engineering tasks, by vastly scaling test-time compute. Strategies such as parallel sampling (Qi et al., 2025), sequential Monte Carlo (Feng et al., 2025), Monte Carlo tree search (Zhang et al., 2024), verifier-guided sampling (Yu et al., 2025), and self-consistency (Xie et al., 2024; Huang et al., 2025) are key to eliciting advanced reasoning capabilities from LLMs, but they are often subject to efficiency and reliability bottlenecks. Post-trained LLMs are known to be miscalibrated about when their intermediate reasoning states and final answers are correct (Li et al., 2025a). As a result, test-time scaling strategies often involve handcrafted parameters that balance sample quality and resource allocation – e.g. the number of parallel rollouts, or the verifier’s prompt – heuristics which are vulnerable to reward hacking and distribution shift (Snell et al., 2024). This work addresses these challenges through a principled approach. We aim to (i) support adaptive compute allocation based on task difficulty, while providing statistical guarantees on sample quality and efficiency at test time, and (ii) remain robust under distribution shift, as the prompt distribution at deployment may differ from that of model development.

Conformal prediction (Shafer and Vovk, 2008; Angelopoulos and Bates, 2021) and calibration methods provide finite-sample coverage guarantees, and they may provide confidence estimates of whether a set of LLM outputs contains the correct answer. In the context of test-time scaling, these methods are used to limit the number of tokens or examples that must be sampled, while still ensuring a high quality response. For example, Thought Calibration (Wu et al., 2025) among others (Xie et al., 2025; Wang et al., 2026) formulates inference efficiency as a risk-controlled stopping problem, and it produces calibrated thresholds of a probe that controls risks with early stopping. However, these methods assume a fixed inference procedure, whose dynamics are uniform over the course of sampling. That is, they do not address the validity of confidence estimates under distribution shifts at two levels. On the sample level, reasoning patterns may vary across different positions within a long chain-of-thought (CoT). On the dataset level, models are often deployed in out-of-distribution (OOD) circumstances that have not been seen during training.

In an orthogonal direction, Test-Time Training (TTT) (Sun et al., 2020; Sun et al., 2024) provides a natural mechanism for online adaptation of LLMs. At a high level, the goal is to adapt model weights at inference time, based on characteristics of the input. Specifically, an inner loop updates a small set of “fast” weights based on each incoming token or reasoning step, by minimizing a self-supervised objective. A separate outer loop is trained across many sequences to learn the shared initialization and feature mappings, which make the inner-loop updates stable and transferable (Sun et al., 2020). The TTT framework is designed to improve overall modeling capability and generalization in new domains or long sequences through meta-learning. However, it is usually applied with a reconstruction-based loss at inference time, which is not directly aligned with calibration or risk control.

In this paper, we propose Online Reasoning Calibration (ORCA), which achieves efficient and confident test-time scaling, by framing calibration itself as an objective that can be optimized at inference time. Concretely, the inner loop optimizes a scoring function (correctness or consistency of LLM attempt), which is implemented through a TTT layer and updated online during the reasoning or search trajectory. As a result, calibration can be adapted to different stages of reasoning at the instance level. In parallel, the outer-loop is a meta-training procedure that learns the shared slow weights (initialization and feature mappings of the calibration layer), so that the online updates can remain stable, data-efficient, and transferable at dataset level. This design addresses two key limitations of prior work. First, it preserves statistical validity by calibrating the complete algorithm executed at deployment. Second, it improves robustness to distribution shift, by allowing instance-wise online adaptation of confidence estimates, while the base LLM remains fixed.

Empirically, our approach provides reliable stopping and candidate selection with controlled risk, reducing unnecessary test-time compute on easy instances and scaling compute only when uncertainty warrants it. At the target risk level δ=0.1\delta{=}0.1 on the in-distribution test split, applying ORCA to Qwen2.5-32B leads to savings up to 47.5% in supervised mode and 40.7% in consistency mode. In the zero-shot OOD setting, our method improves MATH-500 savings from 24.8% of static baseline to 67.0% with supervised labels, and it consistently outperforms static probes across model families (Qwen2.5-32B, QwQ-32B, and Llama-3.3-70B) and benchmarks (MATH, GPQA, and AIME).

Test-time training.  Language models can be brittle under instance-level variation and distribution shift (Lu et al., 2022; Tang et al., 2024). Since it is intractable to enumerate new use cases and finetune models, test-time training (TTT) addresses this issue by meta-training to adapt lightweight modules during inference (Sun et al., 2020). Concretely, TTT introduces fast weights W_tW\_{t} updated within each test sequence by minimizing a self-supervised or proxy objective. Following the standard formulation as in (Sun et al., 2024),

ℓ(W;x_t)\displaystyle\ell(W;x\_{t})=∥f(θ_Kx_t;W)−C_t∥_22,\displaystyle=\|f(\theta\_{K}x\_{t};W)-C\_{t}\|\_{2}^{2},(1)
---------------
W_t\displaystyle W\_{t}=W_t−1−ηG_t,G_t≈∇_Wℓ(W_t−1;x_t),\displaystyle=W\_{t-1}-\eta G\_{t},\quad G\_{t}\approx\nabla\_{W}\ell(W\_{t-1};x\_{t}),(2)
---------------
z_t\displaystyle z\_{t}=f(θ_Qx_t;W_t).\displaystyle=f(\theta\_{Q}x\_{t};W\_{t}).(3)

Here, C_tC\_{t} is the designed objective, which is a projection θ_Vx_t\theta\_{V}x\_{t} aiming for self-reconstruction in the original formulation of Sun et al. (2024), but can actually be any properly defined target (e.g., calibration label in our setting); the inner loop performs per-step online adaptation via fast weights W_tW\_{t}, while the outer loop meta-learns shared slow weights parameters (e.g., optional projections θ_Q,K,V\theta\_{Q,K,V}, initialization W_0W\_{0}) across many sequences so that inner-loop updates are stable and transferable. For simplicity, we use θ_Q,K,V\theta\_{Q,K,V} as a unified notation for outer-loop view parameters: they instantiate Q/K/V-style projections as feature extractors if learnable, or recover the no-QK special case when set to identity.

TTT can be viewed as bilevel optimization: the outer objective learns how to make fast online learning effective, and the inner objective realizes instance-specific adaptation at inference time. In our setting, this mechanism is used to improve calibration quality while preserving downstream risk control through conformal calibration of the deployed procedure.

Conformal prediction and risk control.  In real-world deployment, we need uncertainty estimates that make stopping/selection decisions statistically reliable rather than heuristic. Conformal prediction provides finite-sample, distribution-free validity under exchangeability by converting nonconformity scores into calibrated prediction sets (Shafer and Vovk, 2008; Angelopoulos and Bates, 2021). In split conformal prediction, the score model is fit on training data and the decision threshold is calibrated on a held-out calibration set (Vovk et al., 2005; Papadopoulos, 2008). Concretely, given calibration scores {u_i}_i=1n\{u\_{i}\}\_{i=1}^{n} and miscoverage level ϵ∈(0,1)\epsilon\in(0,1), define the empirical quantile

τ_1−ϵ=Quantile⁡_⌈(n+1)(1−ϵ)⌉/(n+1)(u_1,…,u_n).\tau\_{1-\epsilon}=\operatorname{Quantile}\_{\lceil(n+1)(1-\epsilon)\rceil/(n+1)}(u\_{1},\ldots,u\_{n}).(4)

At test time, we accept outputs whose score is below (or confidence above) this threshold to control the risk (formally defined in Appendix A). Equivalently, we form a conformal set containing all candidates that satisfy the calibrated criterion. This yields marginal finite-sample coverage (equivalently, risk control), typically of the form P(Y∈C^(X))≥1−ϵ\mathbb{P}(Y\in\widehat{\mathcal{C}}(X))\geq 1-\epsilon.

Learn-then-Test (LTT) complements conformal prediction by calibrating decision rules rather than prediction sets. Given a candidate family of rules (or thresholds), LTT tests mean-risk nulls of the form H_j: r_j≥δH\_{j}:\,r\_{j}\geq\delta with valid p-values on a held-out calibration set, then applies multiple testing (e.g., fixed-sequence testing) to select a rule with finite-sample guarantee P(r(j^)≤δ)≥1−ϵ\mathbb{P}(r(\hat{j})\leq\delta)\geq 1-\epsilon (Angelopoulos et al., 2025; Wu et al., 2025; Wang et al., 2026). Thus, conformal and LTT share the same exchangeability-based validity principle, but target different objects: set coverage vs. rule-level risk control.

Table 1: Notation summary.

SymbolLearned inDescription
ϕ_t\phi\_{t}–Step embedding: mean-pooled LLM hidden state at step tt
C_tC\_{t}–Step label: correctness or consistency; C_t=0C\_{t}{=}0 at inference
W_0,b_0W\_{0},b\_{0}outer loopInitial probe weights, learned via meta-training
W_t,b_tW\_{t},b\_{t}inner loopProbe weights at step tt, updated online during inference
θ_Q,K\theta\_{Q,K}outer loopUnified outer view parameters (optional learned projections or identity)
η\etaouter loopInner learning rate; fixed or learned
s_ts\_{t}–Probe score: s_t=σ ⁣(f(θ_Qϕ_t; W_t))s\_{t}=\sigma\!\big(f(\theta\_{Q}\phi\_{t};\,W\_{t})\big)
ℓ(W;ϕ_t)\ell(W;\phi\_{t})–Inner-loop objective: (s_t−C_t)2(s\_{t}-C\_{t})^{2} (Brier score)
λ\*\lambda^{\*}calibrationLTT-calibrated stopping threshold
δ\delta–Target risk upper bound
ϵ\epsilon–LTT failure probability level

We study the test-time reasoning procedure for input x∈Xx\in\mathcal{X}. At reasoning step tt, the model has generated thought prefix y_t=[y(1),…,y(t)]y\_{t}=[y^{(1)},\ldots,y^{(t)}], where the current answer candidate ans⁡(y_t)\operatorname{ans}(y\_{t}) can be derived from the reasoning state. We denote by ϕ_t∈Rd_ϕ\phi\_{t}\in\mathbb{R}^{d\_{\phi}} a hidden representation extracted from the base LLM at step tt. This feature vector is input to the calibration module, which then outputs a probe score z_t=f(ϕ_t;W_t)z\_{t}=f(\phi\_{t};W\_{t}), where W_tW\_{t} are step-dependent fast weights. For risk control, let L(y^,y)∈{0,1}L(\hat{y},y)\in\{0,1\} denote the final-decision loss (e.g., a premature stop or an incorrect accepted answer).

Our formulation follows the TTT update structure of Sun et al. (2024) and the Learn-then-Test (LTT) risk-control framework of Angelopoulos et al. (2025); Wu et al. (2025). TTT updates use inner-loop fast-weight adaptation with outer-loop learned mappings/initialization, and risk control is enforced through LTT calibration of the deployed decision procedure. We redefine the per-step objective to target calibration quality rather than reconstruction. Since inference includes online updates of W_tW\_{t}, we calibrate the full adaptive algorithm (including sampling, updates, stopping rule) rather than relying on a static scorer. Table 1 summarizes the notation correspondence.

Figure 1: Framework of Online Reasoning Calibration (ORCA).

3.2 Inner loop: online-adaptive probe via fast-weight updates

Section titled “3.2 Inner loop: online-adaptive probe via fast-weight updates”

At each reasoning step tt, the base LLM produces a hidden representation ϕ_t∈Rd_ϕ\phi\_{t}\in\mathbb{R}^{d\_{\phi}} (e.g., the mean-pooled last-layer hidden state). Our probe maintains fast weights W_tW\_{t} that are updated online along the reasoning chain, producing a conformal score s_t∈[0,1]s\_{t}\in[0,1] at each step. The procedure follows a score-then-update protocol: the probe first scores the current step using the accumulated weights, then updates its weights before moving to the next step.

We first introduce a vanilla form of inner loop updates. Let f(⋅ ;W):Rd_ϕ→[0,1]f(\cdot\,;W):\mathbb{R}^{d\_{\phi}}\to[0,1] be a probe model (e.g., f(u;W)=σ(W⋅u+b)f(u;W)=\sigma(W\cdot u+b)). Three operations at each step are as follows,

Score (using weights from previous steps):

s_t=f(ϕ_t; W_t−1)s\_{t}=f(\phi\_{t};\,W\_{t-1})(5)

Inner-loop loss (Brier score against label C_tC\_{t}):

ℓ(W_t−1; ϕ_t)=(s_t−C_t)2\ell(W\_{t-1};\,\phi\_{t})=\big(s\_{t}-C\_{t}\big)^{2}(6)

Weight update (online gradient descent):

W_t=W_t−1−η ∇_Wℓ(W_t−1; ϕ_t)W\_{t}=W\_{t-1}-\eta\,\nabla\_{W}\ell(W\_{t-1};\,\phi\_{t})(7)

Here C_t∈{0,1}C\_{t}\in\{0,1\} is a step-level label indicating the quality of current answer attempt, depending on the calibration metric. As discussed in Wu et al. (2025), C_tC\_{t} can come from multiple sources in meta-training: (i) supervised: C_t=I{ans⁡(y_t) is correct}C\_{t}=\mathbb{I}\{\operatorname{ans}(y\_{t})\text{ is correct}\}, requiring ground-truth answers; (ii) consistent: C_t=I{ans⁡(y_t)=ans⁡(y_T)}C\_{t}=\mathbb{I}\{\operatorname{ans}(y\_{t})=\operatorname{ans}(y\_{T})\}, comparing to the full-budget answer without ground truth; or (iii) teacher/verifier labels from an external model. The conformal score s_ts\_{t} aims to evaluate the confidence of a positive label, and the probing function ff can often be near-linear as observed in (Park et al., 2023; Zhang et al., 2025).

3.3 Outer loop: meta-learning for generalizable adaptive calibration

Section titled “3.3 Outer loop: meta-learning for generalizable adaptive calibration”

Instance-wise updates alone may overfit local noise and degrade risk control under distribution shift. Analogous to meta-learning, the outer loop learns proper initialization and feature interfaces, so that inner-loop adaptation remains transferable across tasks (Sun et al., 2020). Concretely, the inner loop learns to calibrate (task-specific online adaptation), while the outer loop learns to learn to calibrate. By meta-training across heterogeneous datasets and prompts, the model learns initialization and update dynamics that generalize beyond single training distribution, enabling robust and efficient calibration under distribution shift.

Algorithm 1 Training phase: outer-loop TTT training

0:  Training prompts D_train\mathcal{D}\_{\mathrm{train}}; outer parameters Θ_outer=(θ_Q,K,W_0,η)\Theta\_{\mathrm{outer}}=(\theta\_{Q,K},W\_{0},\eta).

1:  for each prompt x∈D_trainx\in\mathcal{D}\_{\mathrm{train}} do

2:   Unroll inner updates along the reasoning trajectory to obtain {W_t}_t=1T\{W\_{t}\}\_{t=1}^{T} using W_t=W_t−1−η∇_Wℓ(W_t−1;ϕ_t)W\_{t}=W\_{t-1}-\eta\nabla\_{W}\ell(W\_{t-1};\phi\_{t}).

3:   Compute L_outer ⁣(x,{W_t}_t=1T;Θ_outer)=∑_t=1T(s_t−C_ttrue)2\mathcal{L}\_{\mathrm{outer}}\!\left(x,\{W\_{t}\}\_{t=1}^{T};\Theta\_{\mathrm{outer}}\right)=\sum\_{t=1}^{T}(s\_{t}-C\_{t}^{\text{true}})^{2}.

4:   Update trainable components of Θ_outer\Theta\_{\mathrm{outer}} by differentiating L_outer\mathcal{L}\_{\mathrm{outer}} through the unroll.

5:  end for

6:  Return trained Θ_outer\Theta\_{\mathrm{outer}}.

Equations (5)–(7) define the simplest TTT update rule, where a probe with fast weights W∈R1×d_ϕW\in\mathbb{R}^{1\times d\_{\phi}} operates directly on the embedding ϕ_t\phi\_{t}. This parameterization has only d_ϕ+1d\_{\phi}+1 learnable parameters (the initialization W_0W\_{0} and bias b_0b\_{0}) and can be viewed as an online-adaptive logistic regression, which is denoted as the vanilla or no-QK variant.

Analogous to Sun et al. (2024), a natural extension introduces learned projections θ_K,θ_Q∈Rd_h×d_ϕ\theta\_{K},\theta\_{Q}\in\mathbb{R}^{d\_{h}\times d\_{\phi}} that map ϕ_t\phi\_{t} to a lower-dimensional space before the update and scoring operations:

s_t\displaystyle s\_{t}=f(θ_Qϕ_t; W_t−1),W∈R1×d_h\displaystyle=f(\theta\_{Q}\phi\_{t};\,W\_{t-1}),\quad W\in\mathbb{R}^{1\times d\_{h}}(8)
---------------
ℓ(W; ϕ_t)\displaystyle\ell(W;\,\phi\_{t})=(f(θ_Kϕ_t; W)−C_t)2\displaystyle=\big(f(\theta\_{K}\phi\_{t};\,W)-C\_{t}\big)^{2}(9)

This QK variant allows the update direction (θ_K\theta\_{K}) and scoring direction (θ_Q\theta\_{Q}) to attend to different aspects of the hidden state. The projections θ_K,θ_Q\theta\_{K},\theta\_{Q} are ”slow weights” and are learned in the outer loop along with W_0W\_{0} and η\eta. Both variants share the same single-step expressiveness, but they differ in the dynamics of online adaptation. The no-QK variant updates in the full d_ϕd\_{\phi}-dimensional space, while Q/K updates are constrained to a d_hd\_{h}-dimensional subspace. For comprehensiveness, we experiment with TTT with and without QK updates, and observe significant improvement over static baselines for both variants.

We now formally introduce the general framework of slow weight training. Let Θ_outer=(θ_Q,K,W_0,η)\Theta\_{\mathrm{outer}}=(\theta\_{Q,K},W\_{0},\eta) denote outer parameters. Recall that in our framework, base LLM parameters are not updated during training by default. Given a training prompt xx, we first unroll the inner-loop updates along its trajectory to obtain {W_t}_t=1T\{W\_{t}\}\_{t=1}^{T}, and then optimize:

min⁡_Θ_outer  E_x∼D_train L_outer ⁣(x,{W_t}_t=1T;Θ_outer),\min\_{\Theta\_{\mathrm{outer}}}\;\mathbb{E}\_{x\sim\mathcal{D}\_{\mathrm{train}}}\,\mathcal{L}\_{\mathrm{outer}}\!\left(x,\{W\_{t}\}\_{t=1}^{T};\Theta\_{\mathrm{outer}}\right),(10)

with the outer loss defined as

L_outer ⁣(x,{W_t}_t=1T;Θ_outer):=∑_t=1T(s_t−C_ttrue)2.\mathcal{L}\_{\mathrm{outer}}\!\left(x,\{W\_{t}\}\_{t=1}^{T};\Theta\_{\mathrm{outer}}\right):=\sum\_{t=1}^{T}\left(s\_{t}-C\_{t}^{\text{true}}\right)^{2}.(11)

subject to W_t=W_t−1−η∇_Wℓ(W_t−1;x_t)W\_{t}=W\_{t-1}-\eta\nabla\_{W}\ell(W\_{t-1};x\_{t}). We optimize this bilevel objective with truncated backpropagation through inner updates, then run LTT on a held-out calibration split produced by the same deployed procedure to select stopping thresholds. Algorithm 1 summarizes the general form of outer-loop training algorithm, which is visualized in Figure 1.

3.4 Risk-controlled conformal reasoning with online self-calibration

Section titled “3.4 Risk-controlled conformal reasoning with online self-calibration”

Algorithm 2 Calibration and inference phase

0:  Calibration prompts D_cal\mathcal{D}\_{\mathrm{cal}}; threshold grid Λ={λ_1>⋯>λ_m}\Lambda=\{\lambda\_{1}>\cdots>\lambda\_{m}\}; prompt xx; trained Θ_outer\Theta\_{\mathrm{outer}}.

1:  (A) Calibrate stopping threshold via LTT.

2:  for each λ_j∈Λ\lambda\_{j}\in\Lambda do

3:   Run deployed procedure on D_cal\mathcal{D}\_{\mathrm{cal}} with threshold λ_j\lambda\_{j}; compute R^_n(λ_j)\widehat{R}\_{n}(\lambda\_{j}) and p-value p_jp\_{j}.

4:  end for

5:  Apply fixed-sequence testing over {H_j}_j=1m\{H\_{j}\}\_{j=1}^{m} to control FWER, obtain Λ_valid\Lambda\_{\mathrm{valid}}, and choose the most aggressive λ⋆∈Λ_valid\lambda^{\star}\in\Lambda\_{\mathrm{valid}}.

6:  (B) Deploy inference procedure with online self-calibration.

7:  Initialize fast weights W←W_0W\leftarrow W\_{0}.

8:  for t=1,…,Tt=1,\ldots,T do

9:   Obtain the current hidden representation ϕ_t\phi\_{t} from the reasoning state.

10:   Compute probe score s_t=f(ϕ_t;W)s\_{t}=f(\phi\_{t};W).

11:   if s_t≥λ⋆s\_{t}\geq\lambda^{\star} then

12:    Stop and output z^←ans⁡(y_t)\hat{z}\leftarrow\operatorname{ans}(y\_{t}).

13:    return z^\hat{z}.

14:   end if

15:   Set pseudo-target C_t←0C\_{t}\leftarrow 0 and perform inner-loop update W←W−η∇_Wℓ(W;ϕ_t)W\leftarrow W-\eta\nabla\_{W}\ell(W;\phi\_{t}).

16:  end for

17:  Return ans⁡(y_T)\operatorname{ans}(y\_{T}) if the budget is exhausted.

Following Wu et al. (2025), calibration is performed on a stopping decision rule (i.e. the full deployed procedure), rather than on raw uncalibrated scores. For a threshold λ∈Λ\lambda\in\Lambda, recall the score process produced by the deployed procedure s_t(x)  :=  f(ϕ_t; W_t−1)s\_{t}(x)\;:=\;f(\phi\_{t};\,W\_{t-1}). Define the stopping time

τ_λ(x)  :=  min⁡{t≤T:  s_t(x)≥λ},\tau\_{\lambda}(x)\;:=\;\min\{t\leq T:\;s\_{t}(x)\geq\lambda\},(12)

and the corresponding deployed decision rule / procedure output

A_λ(x)  :=  ans⁡ ⁣(y_τ_λ(x)),\mathcal{A}\_{\lambda}(x)\;:=\;\operatorname{ans}\!\big(y\_{\tau\_{\lambda}(x)}\big),(13)

i.e., the final answer attempt at the stopping time (or ans⁡(y_T)\operatorname{ans}(y\_{T}) if the budget is exhausted). Learn-then-Test (LTT) selects λ⋆\lambda^{\star} by calibrating the risk of the entire procedure A_λ\mathcal{A}\_{\lambda} on a held-out calibration set. In particular, LTT sweeps a grid Λ={λ_1>⋯>λ_m}\Lambda=\{\lambda\_{1}>\cdots>\lambda\_{m}\} from conservative to aggressive, testing at each λ\lambda whether the empirical risk exceeds the tolerance using a binomial p-value, i.e., we test

H_j:  E[R(y_τ_λ_j)]≥δ,H\_{j}:\;\mathbb{E}[R(y\_{\tau\_{\lambda\_{j}}})]\geq\delta,(14)

where δ\delta is the target risk upper bound, and construct p-values

p_jBT:=P(Binom(n,δ)≤nR^_n(λ_j)).p\_{j}^{\mathrm{BT}}:=\mathbb{P}(\mathrm{Binom}(n,\delta)\leq n\widehat{R}\_{n}(\lambda\_{j})).(15)

where ϵ\epsilon is the target failure probability level for the test family. Apply fixed-sequence testing over {H_j}_j=1m\{H\_{j}\}\_{j=1}^{m} to control family-wise error rate (FWER), then select the most aggressive rejected threshold λ\*\lambda^{\*}. The selected threshold satisfies

P ⁣(E[R(y_τ_λ\*)]≤δ)≥1−ϵ.\mathbb{P}\!\left(\mathbb{E}[R(y\_{\tau\_{\lambda^{\*}}})]\leq\delta\right)\geq 1-\epsilon.(16)

Consequently, FWER control yields finite-sample risk control at level (δ,ϵ)(\delta,\epsilon) under exchangeability. The guarantees apply to the entire deployed procedure, including reasoning chain expansion, online fast-weight updates, and threshold-based stopping (Figure 1). The full calibration and inference-time deployment of ORCA is presented in Algorithm 2. We detail the theoretical guarantees in Appendix A and more discussions in Appendix B.

We evaluate the Online Reasoning Calibration framework on reasoning efficiency: given a risk tolerance δ\delta, how much compute can be saved by early stopping while maintaining answer quality? We compare against the static linear probe of Wu et al. (2025) across multiple models, label modes, and out-of-distribution benchmarks. More experimental results and ablation studies are deferred to Appendix C.

Datasets.  We construct a 5K training corpus by combining three sources: (i) the s1K dataset of 1,000 math problems from Muennighoff et al. (2025), (ii) 2,000 problems from OpenR1 (Hugging Face, 2025), and (iii) 2,000 problems from DeepMath (He et al., 2025). Problems are split 3:1:1 into training (3,000), calibration (1,000), and test (1,000) sets. For out-of-distribution (OOD) evaluation, we use five held-out benchmarks: MATH-500 (Hendrycks et al., 2021), GPQA-Diamond (Rein et al., 2024) (198 problems), and AIME 2024/2025/2026 (30 problems each). No OOD problems appear in training or calibration sets.

Models.  Our primary experiments use Qwen2.5-32B-Instruct (Yang et al., 2024), extracting mean-pooled last-layer hidden states (d_ϕ=5,120d\_{\phi}=5{,}120) at each reasoning step. We also evaluate on QwQ-32B (Team, 2025) and Llama-3.3-70B-Instruct (Grattafiori et al., 2024) (d_ϕ=8,192d\_{\phi}=8{,}192) to test cross-model generalization. Reasoning trajectories are generated by DeepSeek-R1-671B (Guo et al., 2025a), and step labels are produced by a teacher model (Qwen-3-32B for correctness, GPT-4.1 for evaluation).

Step definition and label modes.  To separate a reasoning trajectory into individual steps, we completely follow Wu et al. (2025): we use sections delimited by \n\n, which also contain ”wait” or ”but”. This separation is reasonable for those models after instruction tuning and RL (Muennighoff et al. (2025)). We evaluate two labeling strategies yielding two calibration targets, following Wu et al. (2025): Supervised, where C_t=I{z_t is correct}C\_{t}=\mathbb{I}\{z\_{t}\text{ is correct}\} requires ground-truth labels, and Consistent, where C_t=I{z_t=z_T}C\_{t}=\mathbb{I}\{z\_{t}=z\_{T}\} compares intermediate answers to the full-budget answer (no labels required).

Metrics.  At each risk tolerance δ\delta, Learn-then-Test (LTT; Angelopoulos et al. (2025)) calibration determines a threshold λ\*\lambda^{\*}. We report two metrics. ❶ Savings =1−tˉ_stop/tˉ_total=1-\bar{t}\_{\text{stop}}/\bar{t}\_{\text{total}}, the fraction of reasoning steps saved by early stopping. We verify in Section C.2 that step-level and token-level savings are highly consistent, so we report step-level savings throughout. ❷ Error rate, the fraction of problems where the model is stopped at a step where its answer is still incorrect. Since step labels are cumulative (flip after first correct attempt), only stopping too early leads to an error. Following Wu et al. (2025), we exclude problems on which the base model never produces a correct answer in its full rollout: on such problems the final answer is wrong regardless of where we stop, so they are uninformative for evaluating early stopping. These two metrics form a natural trade-off controlled by the threshold λ\*\lambda^{\*}: a lower threshold stops earlier, yielding higher savings but higher error risk; a higher threshold is more conservative, with lower error but less compute saved. LTT selects λ\*\lambda^{\*} to satisfy the guarantee P(R≤δ)≥1−ϵ\mathbb{P}(R\leq\delta)\geq 1-\epsilon, where we fix ϵ=0.05\epsilon=0.05 and sweep the risk tolerance δ\delta. Unless stated otherwise, we report results at δ=0.1\delta=0.1.

Training and epoch selection.  All TTT-Probe variants are meta-trained with Adam (outer lr =10−3=10^{-3}), gradient clipping at 1.0, and inner learning rate η=0.01\eta=0.01. We select epoch 20 for the no-QK variant and epoch 10 for all QK variants (see Section C.3 for details). Score trajectories are smoothed with a rolling window of 10 steps.

Table 2: In-distribution early-stopping performance on the 5K test set (Qwen2.5-32B, ϵ=0.05\epsilon{=}0.05). TTT-Probe (no-QK) improves savings by 24.9% relative over the static baseline.

δ=0.05\delta=0.05δ=0.1\delta=0.1δ=0.15\delta=0.15δ=0.2\delta=0.2
MethodSav.Err.Sav.Err.Sav.Err.Sav.Err.
Supervised labels
Static Probe.220.055.380.105.512.159.625.208
TTT no-QK.282.053.475.110.575.152.673.192
TTT QK (d_h=128d\_{h}{=}128).233.046.414.103.560.150.674.204
Consistent labels (no ground truth)
Static Probe.166.049.345.098.483.156.573.197
TTT no-QK.220.045.407.096.529.141.644.193
TTT QK (d_h=128d\_{h}{=}128).232.064.397.113.524.150.629.187

Table 2 (and Figure 2 in Appendix) compares the static baseline against TTT-Probe across four risk levels. At δ=0.1\delta=0.1, the supervised TTT-Probe (no-QK) saves 47.5% of reasoning steps compared to 38.0% for the static baseline, a 24.9% relative improvement. The QK variant achieves 41.4%, an 8.9% relative improvement. In consistent mode, the no-QK probe saves 40.7% vs. 34.5%, an 18.2% relative improvement without any ground-truth labels.

Across all four δ\delta levels, TTT-Probe uniformly dominates the baseline. Both the no-QK and QK variants maintain error rates within or close to the prescribed δ\delta budgets, demonstrating that the online adaptation provides genuine calibration improvements.

A key motivation for TTT-Probe is robustness under distribution shift. Table 3 evaluates probes trained on the 5K corpus and applied zero-shot to five OOD benchmarks.

Under supervised labels, both TTT variants achieve strong OOD generalization on MATH-500: no-QK saves 63.7% and QK saves 67.0%, compared to 24.8% for the baseline (a 2.6–2.7×\times improvement), while keeping errors below 2.3%. On GPQA-Diamond, the no-QK probe achieves 71.5% savings. Under consistent labels, the QK variant achieves 63.7% on MATH-500 (2.7×\times the baseline), demonstrating that label-free TTT is viable for OOD deployment.

Table 3: OOD generalization at δ=0.1\delta{=}0.1. The TTT-Probe achieves 2.6–2.7×\times the baseline savings on MATH-500 under supervised labels.

MATH-500GPQAAIME’24AIME’25AIME’26
MethodSav.Err.Sav.Err.Sav.Err.Sav.Err.Sav.Err.
Supervised labels
Static Probe.248.008.643.270.158.050.139.000.147.050
TTT no-QK.637.023.715.300.293.150.265.056.198.050
TTT QK (d_h=128d\_{h}{=}128).670.021.665.210.295.100.258.000.134.050
Consistent labels (no ground truth)
Static Probe.239.004.602.328.118.033.101.000.147.100
TTT no-QK.555.012.598.318.141.033.166.067.154.067
TTT QK (d_h=128d\_{h}{=}128).637.016.653.328.185.033.139.000.092.000

To verify that our findings generalize beyond Qwen2.5-32B, we evaluate the same configurations on QwQ-32B (d_ϕ=5,120d\_{\phi}=5{,}120) and Llama-3.3-70B-Instruct (d_ϕ=8,192d\_{\phi}=8{,}192). All probes are trained and evaluated independently on each model’s own embeddings.

Both TTT-Probe variants consistently outperform the static baseline across all three models. The no-QK probe achieves relative improvements of 24.9% on Qwen, 33.7% on QwQ, and 19.8% on Llama. The QK variant also improves over the baseline on all models (6.8–27.6% relative). All error rates remain within or close to the δ=0.1\delta{=}0.1 budget, confirming that the online adaptation mechanism is model-agnostic.

Table 4: Cross-model results (δ=0.1\delta{=}0.1, supervised). TTT-Probe consistently outperforms the static baseline across all three model families.

Qwen2.5-32BQwQ-32BLlama-3.3-70B
MethodSav.Err.Sav.Err.Sav.Err.
Static Probe.380.105.295.094.354.104
TTT no-QK.475.110.394.081.424.090
TTT QK (d_h=128d\_{h}{=}128).414.103.376.076.378.081

Supervised labels yield 10–17% higher savings than consistent labels on in-distribution data, reflecting the additional information provided by ground-truth correctness (Table 5). The no-QK probe achieves 47.5% savings in supervised mode and 40.7% in consistent mode, both substantial improvements over the static baseline (24.9% and 18.2% relative respectively). On OOD data, supervised no-QK averages 42.2% savings vs. 32.3% for consistent. The consistent TTT-Probe remains attractive for deployment where ground-truth labels are unavailable: it achieves a 34.0% relative improvement on OOD data over the consistent baseline while requiring only the model’s own full-budget answers as supervision.

Table 5: Supervised vs. consistent comparison (δ=0.1\delta{=}0.1), including average OOD savings and error across five benchmarks.

SupervisedConsistent
In-distOOD avgIn-distOOD avg
ConfigurationSav.Err.Sav.Err.Sav.Err.Sav.Err.
Static Probe.380.105.267.076.345.098.241.093
TTT no-QK.475.110.422.116.407.096.323.099
TTT QK (d_h=128d\_{h}{=}128).414.103.404.076.397.113.341.076

Efficient test-time scaling.  Recent literature span two directions. First, numerous works focus on reducing overthinking in post-trained LLMs, either during training or at inference time. Examples include explicit stopping policies and compute-aware generation control (Guo et al., 2025b; Sui et al., 2025; Han et al., 2024; Hou et al., 2025; Yang et al., 2025; Zhang et al., 2025; Sun et al., 2025). Second, self-consistency between parallel trajectories may be used to rank or terminate reasoning attempts (Wang et al., 2022; Mitchell et al., 2022; Weng et al., 2023; Wang et al., 2024a), and may also be combined with calibration methods for controllable efficiency gains (Xie et al., 2024; Huang et al., 2025; Liu et al., 2026). Our work also aims to sample efficiently from language models at inference time, but differs in its scope. While prior works calibrate probes that predict when to stop, we conformalize the end-to-end decision rule for stopping, which includes reasoning expansion and online adaptation to sampling dynamics.

Uncertainty quantification and calibration for LLM reasoning.  Uncertainty quantification methods have primarily been used to calibrate whether language model outputs are self-consistent (Rubin-Toles et al., 2025), high quality (Quach et al., 2024; Qiu and Miikkulainen, 2024; Jiang et al., 2024; Li et al., 2025b; Schuster et al., 2022), and factual (Mohri and Hashimoto, 2024; Cherian et al., 2024a; Cherian et al., 2024b; Liu et al., 2024; Prinster et al., 2026). Some recent papers extend the framework from LLMs to agentic reasoning (Feng et al., 2024; Sadhuka et al., 2025; Lee et al., 2026). However,these methods filter sets of text post-hoc, rather than guide decoding in an online setting. More similar to this work, several methods calibrate the sampling of output sets (Quach et al., 2024; Wu et al., 2025; Huang et al., 2026b; Xiong et al., 2025; Xie et al., 2025; Wang et al., 2026; Huang et al., 2026a), but these methods often assume that the distributions of reasoning steps and prompts are static. Our work differs in that it models the sampling dynamics, as well as potential shifts in prompt distribution at deployment.

Test-time training and online adaptation.  TTT aims to improve generalization capability under distribution shifts by learning to conduct lightweight parameter updates at test-time, usually through self-supervised loss (Sun et al., 2020). The framework is also widely adopted to design efficient architectures including RNNs and linear transformers (Sun et al., 2024; Zhang et al., 2026), or adopt other designs such as sample-specific vector (Hu et al., 2025b), LoRA (Wang et al., 2024b) or input perplexity minimization (Hu et al., 2025a) to adapt language models at test time. In comparison, we are the first to introduce online adaptation and test-time training into calibration of LLM reasoning.

We introduced Online Reasoning Calibration (ORCA), a unified framework for risk-controlled test-time scaling that combines online test-time training with conformal calibration of the deployed stopping rule. The key idea is to treat calibration itself as an adaptive prediction problem: the inner loop performs instance-specific learn-to-calibrate updates, while the outer loop meta-learns the initialization and update dynamics, which transfer across datasets and remain robust under distribution shift. By calibrating the full deployed procedure via LTT, ORCA provides finite-sample risk control while enabling adaptive compute allocation. Empirically, ORCA significantly improves efficiency at controlled error rates across multiple model families and benchmarks, including challenging zero-shot OOD settings. These results indicate that dynamically updated calibration modules can substantially improve both reliability and compute efficiency relative to static confidence estimators. More broadly, this work highlights a practical direction for integrating meta-learning and conformal decision-making towards efficient reasoning, and demonstrates that jointly designing adaptation and calibration yield effective and robust systems.

This paper is about technical methods for LLM reasoning, and is not directly related to any ethical issues. Moreover, the calibration methods can be applied to produce more trustworthy LLM outputs, which may benefit the ethical aspects in LLM usages.

  • Angelopoulos et al. (2025) A. N. Angelopoulos, S. Bates, E. J. Candès, M. I. Jordan, and L. Lei Learn then test: calibrating predictive algorithms to achieve risk control. The Annals of Applied Statistics 19 (2), pp. 1641–1662. Cited by: Appendix A, §2, §3.1, §4.1.
  • Angelopoulos and Bates (2021) A. N. Angelopoulos and S. Bates A gentle introduction to conformal prediction and distribution-free uncertainty quantification. arXiv preprint arXiv:2107.07511. Cited by: §1, §2.
  • Cherian et al. (2024a) J. Cherian, I. Gibbs, and E. Candes Large language model validity via enhanced conformal prediction methods. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, External Links: Link Cited by: §5.
  • Cherian et al. (2024b) J. Cherian, I. Gibbs, and E. Candes Large language model validity via enhanced conformal prediction methods. Advances in Neural Information Processing Systems 37, pp. 114812–114842. Cited by: §5.
  • Feng et al. (2025) S. Feng, X. Kong, S. Ma, A. Zhang, D. Yin, C. Wang, R. Pang, and Y. Yang Step-by-step reasoning for math problems via twisted sequential monte carlo. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: §1.
  • Feng et al. (2024) Y. Feng, P. M. Htut, Z. Qi, W. Xiao, M. Mager, N. Pappas, K. Halder, Y. Li, Y. Benajiba, and D. Roth DiverseAgentEntropy: quantifying black-box llm uncertainty through diverse perspectives and multi-agent interaction. arXiv preprint arXiv:2412.09572. Cited by: §5.
  • Grattafiori et al. (2024) A. Grattafiori, A. Dubey, A. Jauhri, A. Pandey, A. Kadian, A. Al-Dahle, A. Letman, A. Mathur, A. Schelten, A. Vaughan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783. Cited by: §4.1.
  • Guo et al. (2025a) D. Guo, D. Yang, H. Zhang, J. Song, R. Zhang, R. Xu, Q. Zhu, S. Ma, P. Wang, X. Bi, et al. DeepSeek-R1: incentivizing reasoning capability in LLMs via reinforcement learning. arXiv preprint arXiv:2501.12948. Cited by: §4.1.
  • Guo et al. (2025b) D. Guo, D. Yang, H. Zhang, J. Song, R. Zhang, R. Xu, Q. Zhu, S. Ma, P. Wang, X. Bi, et al. DeepSeek-R1: incentivizing reasoning capability in LLMs via reinforcement learning. arXiv preprint arXiv:2501.12948. Cited by: §5.
  • Han et al. (2024) T. Han, Z. Wang, C. Fang, S. Zhao, S. Ma, and Z. Chen Token-budget-aware LLM reasoning. arXiv preprint arXiv:2412.18547. Cited by: §5.
  • He et al. (2025) Z. He, T. Liang, J. Xu, Q. Liu, X. Chen, Y. Wang, L. Song, D. Yu, Z. Liang, W. Wang, Z. Zhang, R. Wang, Z. Tu, H. Mi, and D. Yu DeepMath-103k: a large-scale, challenging, decontaminated, and verifiable mathematical dataset for advancing reasoning. External Links: 2504.11456, Link Cited by: §4.1.
  • Hendrycks et al. (2021) D. Hendrycks, C. Burns, S. Kadavath, A. Arora, S. Basart, E. Tang, D. Song, and J. Steinhardt Measuring mathematical problem solving with the math dataset. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2), Cited by: §4.1.
  • Hou et al. (2025) B. Hou, Y. Zhang, J. Ji, Y. Liu, K. Qian, J. Andreas, and S. Chang ThinkPrune: pruning long chain-of-thought of LLMs via reinforcement learning. arXiv preprint arXiv:2504.01296. Cited by: §5.
  • Hu et al. (2025a) J. Hu, Z. Zhang, G. Chen, X. Wen, C. Shuai, W. Luo, B. Xiao, Y. Li, and M. Tan Test-time learning for large language models. External Links: 2505.20633, Link Cited by: §5.
  • Hu et al. (2025b) Y. Hu, X. Zhang, X. Fang, Z. Chen, X. Wang, H. Zhang, and G. Qi SLOT: sample-specific language model optimization at test-time. External Links: 2505.12392, Link Cited by: §5.
  • Huang et al. (2025) C. Huang, L. Huang, J. Leng, J. Liu, and J. Huang Efficient test-time scaling via self-calibration. arXiv preprint arXiv:2503.00031. Cited by: §1, §5.
  • Huang et al. (2026a) C. Huang, L. Huang, J. Leng, J. Liu, and J. Huang CaTS: calibrated test-time scaling for efficient LLM inference. In The Fourteenth International Conference on Learning Representations, External Links: Link Cited by: §5.
  • Huang et al. (2026b) J. Huang, Z. Lyu, F. Zhang, Y. Deng, D. Ye, and B. An Uncertainty-aware tree search for efficient LLM reasoning. External Links: Link Cited by: §5.
  • Hugging Face (2025) Hugging Face Open r1: a fully open reproduction of deepseek-r1. External Links: Link Cited by: §4.1.
  • Jiang et al. (2024) M. Jiang, Y. Ruan, P. Sattigeri, S. Roukos, and T. Hashimoto Graph-based uncertainty metrics for long-form language model generations. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, External Links: Link Cited by: §5.
  • Lee et al. (2026) N. Lee, L. E. Erdogan, C. J. John, S. Krishnapillai, M. W. Mahoney, K. Keutzer, and A. Gholami Agentic test-time scaling for webagents. arXiv preprint arXiv:2602.12276. Cited by: §5.
  • Li et al. (2025a) C. Li, H. Zhou, G. Glavaš, A. Korhonen, and I. Vulić Large language models are miscalibrated in-context learners. In Findings of the Association for Computational Linguistics: ACL 2025, W. Che, J. Nabende, E. Shutova, and M. T. Pilehvar (Eds.), Vienna, Austria, pp. 11575–11596. External Links: Link, Document, ISBN 979-8-89176-256-5 Cited by: §1.
  • Li et al. (2025b) Y. Li, D. Rügamer, B. Bischl, and M. Rezaei Calibrating llms with information-theoretic evidential deep learning. External Links: 2502.06351, Link Cited by: §5.
  • Liu et al. (2024) L. Liu, Y. Pan, X. Li, and G. Chen Uncertainty estimation and quantification for llms: a simple supervised approach. External Links: 2404.15993, Link Cited by: §5.
  • Liu et al. (2026) Z. Liu, H. Qu, X. Yin, H. Sun, Y. Han, T. Chen, and Z. Deng PETS: a principled framework towards optimal trajectory allocation for efficient test-time self-consistency. External Links: 2602.16745, Link Cited by: §5.
  • Lu et al. (2022) Y. Lu, M. Bartolo, A. Moore, S. Riedel, and P. Stenetorp Fantastically ordered prompts and where to find them: overcoming few-shot prompt order sensitivity. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), S. Muresan, P. Nakov, and A. Villavicencio (Eds.), Dublin, Ireland, pp. 8086–8098. External Links: Link, Document Cited by: §2.
  • Mitchell et al. (2022) E. Mitchell, J. Noh, S. Li, W. Armstrong, A. Agarwal, P. Liu, C. Finn, and C. D. Manning Enhancing self-consistency and performance of pre-trained language models through natural language inference. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pp. 1754–1768. Cited by: §5.
  • Mohri and Hashimoto (2024) C. Mohri and T. Hashimoto Language models with conformal factuality guarantees. In Proceedings of the 41st International Conference on Machine Learning, ICML’24. Cited by: §5.
  • Muennighoff et al. (2025) N. Muennighoff, Z. Yang, W. Shi, X. L. Li, L. Fei-Fei, H. Hajishirzi, L. Zettlemoyer, P. Liang, E. Candes, and T. Hashimoto S1: simple test-time scaling. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pp. 20275–20321. Cited by: §4.1, §4.1.
  • Papadopoulos (2008) H. Papadopoulos Inductive conformal prediction: theory and application to neural networks. In Tools in artificial intelligence, Cited by: §2.
  • Park et al. (2023) K. Park, Y. J. Choe, and V. Veitch The linear representation hypothesis and the geometry of large language models. arXiv preprint arXiv:2311.03658. Cited by: §3.2.
  • Prinster et al. (2026) D. Prinster, C. Fannjiang, J. W. Park, K. Cho, A. Liu, S. Saria, and S. Stanton Conformal policy control. arXiv preprint arXiv:2603.02196. Cited by: §5.
  • Qi et al. (2025) J. Qi, X. Ye, H. Tang, Z. Zhu, and E. Choi Learning to reason across parallel samples for llm reasoning. External Links: 2506.09014, Link Cited by: §1.
  • Qiu and Miikkulainen (2024) X. Qiu and R. Miikkulainen Semantic density: uncertainty quantification for large language models through confidence measurement in semantic space. In Advances in Neural Information Processing Systems, A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang (Eds.), Vol. 37, pp. 134507–134533. Cited by: §5.
  • Quach et al. (2024) V. Quach, A. Fisch, T. Schuster, A. Yala, J. H. Sohn, T. S. Jaakkola, and R. Barzilay Conformal language modeling. In The Twelfth International Conference on Learning Representations, Cited by: §5.
  • Rein et al. (2024) D. Rein, B. L. Hou, A. C. Stickland, J. Petty, R. Y. Pang, J. Dirani, J. Michael, and S. R. Bowman GPQA: a graduate-level Google-proof Q&A benchmark. In First Conference on Language Modeling, Cited by: §4.1.
  • Rubin-Toles et al. (2025) M. Rubin-Toles, M. Gambhir, K. Ramji, A. Roth, and S. Goel Conformal language model reasoning with coherent factuality. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: §5.
  • Sadhuka et al. (2025) S. Sadhuka, D. Prinster, C. Fannjiang, G. Scalia, A. Regev, and H. Wang E-valuator: reliable agent verifiers with sequential hypothesis testing. arXiv preprint arXiv:2512.03109. Cited by: §5.
  • Schuster et al. (2022) T. Schuster, A. Fisch, J. Gupta, M. Dehghani, D. Bahri, V. Tran, Y. Tay, and D. Metzler Confident adaptive language modeling. Advances in Neural Information Processing Systems 35, pp. 17456–17472. Cited by: §5.
  • Shafer and Vovk (2008) G. Shafer and V. Vovk A tutorial on conformal prediction.. Journal of Machine Learning Research 9 (3). Cited by: §1, §2.
  • Snell et al. (2024) C. Snell, J. Lee, K. Xu, and A. Kumar Scaling LLM test-time compute optimally can be more effective than scaling model parameters. arXiv preprint arXiv:2408.03314. Cited by: §1.
  • Sui et al. (2025) Y. Sui, Y. Chuang, G. Wang, J. Zhang, T. Zhang, J. Yuan, H. Liu, A. Wen, S. Zhong, H. Chen, et al. Stop overthinking: a survey on efficient reasoning for large language models. arXiv preprint arXiv:2503.16419. Cited by: §5.
  • Sun et al. (2025) R. Sun, W. Cheng, D. Li, H. Chen, and W. Wang Stop when enough: adaptive early-stopping for chain-of-thought reasoning. External Links: 2510.10103, Link Cited by: §5.
  • Sun et al. (2024) Y. Sun, X. Li, K. Dalal, J. Xu, A. Vikram, G. Zhang, Y. Dubois, X. Chen, X. Wang, S. Koyejo, et al. Learning to (learn at test time): rnns with expressive hidden states. arXiv preprint arXiv:2407.04620. Cited by: §1, §2, §2, §3.1, §3.3, §5.
  • Sun et al. (2020) Y. Sun, X. Wang, Z. Liu, J. Miller, A. A. Efros, and M. Hardt Test-time training with self-supervision for generalization under distribution shifts. External Links: 1909.13231, Link Cited by: §1, §2, §3.3, §5.
  • Tang et al. (2024) R. Tang, C. Zhang, X. Ma, J. Lin, and F. Ture Found in the middle: permutation self-consistency improves listwise ranking in large language models. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), K. Duh, H. Gomez, and S. Bethard (Eds.), Cited by: §2.
  • Team (2025) Q. Team QwQ-32B: embracing the power of reinforcement learning. External Links: Link Cited by: §4.1.
  • Vovk et al. (2005) V. Vovk, A. Gammerman, and G. Shafer Algorithmic learning in a random world. Vol. 29, Springer. Cited by: §2.
  • Wang et al. (2024a) P. Wang, L. Li, Z. Shao, R. Xu, D. Dai, Y. Li, D. Chen, Y. Wu, and Z. Sui Math-shepherd: verify and reinforce llms step-by-step without human annotations. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 9426–9439. Cited by: §5.
  • Wang et al. (2026) X. Wang, A. Suresh, A. Zhang, R. More, W. Jurayj, B. V. Durme, M. Farajtabar, D. Khashabi, and E. Nalisnick Conformal thinking: risk control for reasoning on a compute budget. External Links: 2602.03814, Link Cited by: §1, §2, §5.
  • Wang et al. (2022) X. Wang, J. Wei, D. Schuurmans, Q. Le, E. Chi, S. Narang, A. Chowdhery, and D. Zhou Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171. Cited by: §5.
  • Wang et al. (2024b) Y. Wang, D. Ma, and D. Cai With greater text comes greater necessity: inference-time training helps long text generation. External Links: 2401.11504, Link Cited by: §5.
  • Weng et al. (2023) Y. Weng, M. Zhu, F. Xia, B. Li, S. He, S. Liu, B. Sun, K. Liu, and J. Zhao Large language models are better reasoners with self-verification. In Findings of the Association for Computational Linguistics: EMNLP 2023, pp. 2550–2575. Cited by: §5.
  • Wu et al. (2025) M. Wu, C. Zhou, S. Bates, and T. Jaakkola Thought calibration: efficient and confident test-time scaling. arXiv preprint arXiv:2505.18404. Cited by: §1, §2, §3.1, §3.2, §3.4, §4.1, §4.1, §4, §5.
  • Xie et al. (2025) Y. Xie, T. Wang, S. Mallick, Y. Sun, G. Noarov, M. Yu, T. Mallick, W. J. Su, and E. Dobriban Statistical early stopping for reasoning models. In NeurIPS 2025 Workshop on Efficient Reasoning, External Links: Link Cited by: §1, §5.
  • Xie et al. (2024) Z. Xie, J. Guo, T. Yu, and S. Li Calibrating reasoning in language models with internal consistency. arXiv preprint arXiv:2405.18711. Cited by: §1, §5.
  • Xiong et al. (2025) J. Xiong, Q. Chen, F. Ye, Z. Wan, C. Zheng, C. Zhao, H. Shen, A. H. Li, C. Tao, H. Tan, et al. ATTS: asynchronous test-time scaling via conformal prediction. arXiv preprint arXiv:2509.15148. Cited by: §5.
  • Yang et al. (2024) A. Yang, B. Yang, B. Zhang, B. Hui, B. Zheng, B. Yu, C. Li, D. Liu, F. Huang, H. Wei, et al. Qwen2.5 technical report. arXiv preprint arXiv:2412.15115. Cited by: §4.1.
  • Yang et al. (2025) C. Yang, Q. Si, Y. Duan, Z. Zhu, C. Zhu, Z. Lin, L. Cao, and W. Wang Dynamic early exit in reasoning models. arXiv preprint arXiv:2504.15895. Cited by: §5.
  • Yu et al. (2025) F. Yu, Y. Li, and B. Wang Scaling flaws of verifier-guided search in mathematical reasoning. External Links: 2502.00271, Link Cited by: §1.
  • Zhang et al. (2025) A. Zhang, Y. Chen, J. Pan, C. Zhao, A. Panda, J. Li, and H. He Reasoning models know when they’re right: probing hidden states for self-verification. arXiv preprint arXiv:2504.05419. Cited by: §3.2, §5.
  • Zhang et al. (2024) D. Zhang, S. Zhoubian, Z. Hu, Y. Yue, Y. Dong, and J. Tang Rest-mcts*: llm self-training via process reward guided tree search. Advances in Neural Information Processing Systems 37, pp. 64735–64772. Cited by: §1.
  • Zhang et al. (2026) T. Zhang, S. Bi, Y. Hong, K. Zhang, F. Luan, S. Yang, K. Sunkavalli, W. T. Freeman, and H. Tan Test-time training done right. In The Fourteenth International Conference on Learning Representations, External Links: Link Cited by: §5.

We provide theoretical guarantees of risk control through ORCA in this section, with slightly more complicated and rigorous notations. The central question is whether intra-instance online updates invalidate Learn-then-Test (LTT) risk control. Our key observation is that LTT calibrates the entire deployed procedure as a black-box algorithm. As long as (i) the procedure resets its internal state across instances and (ii) calibration and test runs are exchangeable under the same deployed procedure, finite-sample risk control remains valid.

Let D_cal={(X_i,Y_i)}_i=1n\mathcal{D}\_{\mathrm{cal}}=\{(X\_{i},Y\_{i})\}\_{i=1}^{n} be a calibration set and let (X_n+1,Y_n+1)(X\_{n+1},Y\_{n+1}) be a fresh test point. For the p-value construction below, we assume (X_i,Y_i)(X\_{i},Y\_{i}) are i.i.d. from a distribution PP (hence exchangeable), and independent of the random seeds used by the deployed algorithm. All trained outer-loop parameters (e.g., Θ_outer\Theta\_{\mathrm{outer}} and any fixed feature extractors) are treated as fixed constants independent of D_cal\mathcal{D}\_{\mathrm{cal}} (e.g., learned on disjoint data); equivalently, all guarantees hold conditional on these fixed parameters.

For each threshold λ∈Λ\lambda\in\Lambda, define the entire deployed reasoning procedure as a (possibly randomized) mapping

A_λ:X×U→Y,Y^=A_λ(x;U),\mathcal{A}\_{\lambda}:\mathcal{X}\times\mathcal{U}\to\mathcal{Y},\qquad\hat{Y}=\mathcal{A}\_{\lambda}(x;U),(17)

where U∼P_UU\sim P\_{U} denotes all internal randomness (LLM sampling, search randomness, etc.). This mapping includes (i) initializing fast weights W_0←Θ_outerW\_{0}\leftarrow\Theta\_{\mathrm{outer}}, (ii) computing step representations ϕ_t\phi\_{t}, (iii) computing scores s_t=f(ϕ_t;W_t−1)s\_{t}=f(\phi\_{t};W\_{t-1}), (iv) updating fast weights within the instance, and (v) stopping at τ_λ(x;U)=min⁡{t≤T: s_t(x;U)≥λ}\tau\_{\lambda}(x;U)=\min\{t\leq T:\,s\_{t}(x;U)\geq\lambda\}.

Risk definition (includes algorithm randomness).

Section titled “Risk definition (includes algorithm randomness).”

Let L:Y×Y→{0,1}L:\mathcal{Y}\times\mathcal{Y}\to\{0,1\} be a 0–1 risk (e.g., incorrectness indicator). For a single instance (X,Y)(X,Y) and randomness UU, define

R(λ;X,Y,U)  :=  L(A_λ(X;U),Y)∈{0,1}.R(\lambda;X,Y,U)\;:=\;L(\mathcal{A}\_{\lambda}(X;U),Y)\in\{0,1\}.(18)

Let the marginal (deployment) risk of threshold λ\lambda be

r(λ)  :=  E_(X,Y)∼P E_U∼P_U[ R(λ;X,Y,U) ].r(\lambda)\;:=\;\mathbb{E}\_{(X,Y)\sim P}\,\mathbb{E}\_{U\sim P\_{U}}\big[\,R(\lambda;X,Y,U)\,\big].(19)

On the calibration set, for each λ\lambda we run the deployed procedure independently per instance with fresh randomness U_i∼i.i.d.P_UU\_{i}\stackrel{{\scriptstyle\mathrm{i.i.d.}}}{{\sim}}P\_{U} and obtain

R_i(λ)  :=  R(λ;X_i,Y_i,U_i),i=1,…,n.R\_{i}(\lambda)\;:=\;R(\lambda;X\_{i},Y\_{i},U\_{i}),\qquad i=1,\dots,n.(20)
Lemma A.1 (Intra-instance adaptation preserves inter-instance exchangeability).
Section titled “Lemma A.1 (Intra-instance adaptation preserves inter-instance exchangeability).”

Fix any threshold λ∈Λ\lambda\in\Lambda. If {(X_i,Y_i)}_i=1n+1\{(X\_{i},Y\_{i})\}\_{i=1}^{n+1} are exchangeable and {U_i}_i=1n+1\{U\_{i}\}\_{i=1}^{n+1} are i.i.d. and independent of {(X_i,Y_i)}\{(X\_{i},Y\_{i})\}, then the sequence {R_i(λ)}_i=1n+1\{R\_{i}(\lambda)\}\_{i=1}^{n+1} with R_i(λ):=R(λ;X_i,Y_i,U_i)R\_{i}(\lambda):=R(\lambda;X\_{i},Y\_{i},U\_{i}) is exchangeable (indeed i.i.d. under the i.i.d. assumption).

Because the deployed procedure resets its internal state at the start of each instance, (X_i,Y_i,U_i)↦R(λ;X_i,Y_i,U_i)(X\_{i},Y\_{i},U\_{i})\mapsto R(\lambda;X\_{i},Y\_{i},U\_{i}) is the same measurable function applied separately to each triple. Exchangeability of {(X_i,Y_i,U_i)}\{(X\_{i},Y\_{i},U\_{i})\} implies exchangeability of {R_i(λ)}\{R\_{i}(\lambda)\} by closure of exchangeability under measurable mappings. ∎

Theorem A.2 (Finite-sample risk control of ORCA via LTT fixed-sequence testing).
Section titled “Theorem A.2 (Finite-sample risk control of ORCA via LTT fixed-sequence testing).”

Let δ∈(0,1)\delta\in(0,1) be a target risk level and ϵ∈(0,1)\epsilon\in(0,1) a failure-probability level. Fix an ordered threshold grid Λ={λ_1>λ_2>⋯>λ_m}\Lambda=\{\lambda\_{1}>\lambda\_{2}>\cdots>\lambda\_{m}\}. For each λ_j\lambda\_{j}, consider the null hypothesis

H_j:  r(λ_j)≥δ(equivalently, the procedure is not δ-safe).H\_{j}:\;r(\lambda\_{j})\geq\delta\quad(\text{equivalently, the procedure is \emph{not} $\delta$-safe}).(21)

For each jj, let r^_n(λ_j)=1n∑_i=1nR_i(λ_j)\widehat{r}\_{n}(\lambda\_{j})=\frac{1}{n}\sum\_{i=1}^{n}R\_{i}(\lambda\_{j}) and define the one-sided binomial p-value

p_j  :=  P ⁣(Binom(n,δ)≤n r^_n(λ_j)).p\_{j}\;:=\;\mathbb{P}\!\left(\mathrm{Binom}(n,\delta)\leq n\,\widehat{r}\_{n}(\lambda\_{j})\right).(22)

Assume {R_i(λ_j)}_i=1n\{R\_{i}(\lambda\_{j})\}\_{i=1}^{n} are i.i.d. Bernoulli with mean r(λ_j)r(\lambda\_{j}) (which holds under the assumptions above). Apply fixed-sequence testing (FST): test H_1,H_2,…H\_{1},H\_{2},\dots in order at level ϵ\epsilon, rejecting H_jH\_{j} if p_j≤ϵp\_{j}\leq\epsilon, and stop at the first jj such that p_j>ϵp\_{j}>\epsilon. Let ȷ^\hat{\jmath} be the last rejected index (or ȷ^=0\hat{\jmath}=0 if none are rejected) and output λ⋆:=λ_ȷ^\lambda^{\star}:=\lambda\_{\hat{\jmath}} (the most aggressive rejected threshold). Then

P_D_cal(r(λ⋆)≤δ)  ≥  1−ϵ.\mathbb{P}\_{\mathcal{D}\_{\mathrm{cal}}}\big(r(\lambda^{\star})\leq\delta\big)\;\geq\;1-\epsilon.(23)

Under H_jH\_{j} (i.e., r(λ_j)≥δr(\lambda\_{j})\geq\delta), the p-value p_jp\_{j} is super-uniform: for any α∈[0,1]\alpha\in[0,1],

P(p_j≤α∣H_j)≤α\mathbb{P}(p\_{j}\leq\alpha\mid H\_{j})\leq\alpha(24)

(standard one-sided binomial test; see Angelopoulos et al. (2025)). In FST, if any true null is ever rejected, then the first true null in the ordered sequence must be rejected at level ϵ\epsilon. Therefore, by super-uniformity,

P(FST rejects any true H_j)  ≤  ϵ,\mathbb{P}(\text{FST rejects any true }H\_{j})\;\leq\;\epsilon,(25)

i.e., FST controls the family-wise error rate (FWER) at level ϵ\epsilon. On the complement event (probability at least 1−ϵ1-\epsilon), every rejected H_jH\_{j} is false, hence r(λ_j)<δr(\lambda\_{j})<\delta for all rejected indices, and in particular for the selected λ⋆\lambda^{\star} (the most aggressive rejected threshold). Thus P(r(λ⋆)≤δ)≥1−ϵ\mathbb{P}(r(\lambda^{\star})\leq\delta)\geq 1-\epsilon. ∎

Theorem A.2 provides marginal guarantee (expectation of all prompt distribution), not conditional guarantee (specific for a certain prompt).

If one wishes to allow L(⋅,⋅)∈[0,1]L(\cdot,\cdot)\in[0,1] (not necessarily {0,1}\{0,1\}), the same proof structure holds by replacing the binomial p-values with any valid super-uniform p-values for the mean-risk null r(λ_j)≥δr(\lambda\_{j})\geq\delta (e.g., Hoeffding-type tests under independence), without changing the FST argument.

A central design choice is that, during deployment (both calibration-set runs and test inference), the inner-loop update uses C_t=0C\_{t}=0 at every non-stopping step. Formally, updates are applied only while s_t<λ\*s\_{t}<\lambda^{\*}; once s_t≥λ\*s\_{t}\geq\lambda^{\*}, the procedure stops and no further gradient step is taken. This yields a fully self-supervised inference-time update rule, since no external label is required after deployment. It also improves training–inference consistency: in meta-training, all pre-transition steps (for which C_ttrue=0C\_{t}^{\text{true}}=0) follow the same inner-loop dynamics as inference, while supervision enters only through the outer objective.

For each problem at training time, we assume (after cumulative transformation) that the true step labels C_ttrueC\_{t}^{\text{true}} follow a monotone binary sequence, [0,0,…,0,1,1,…,1][0,0,\ldots,0,1,1,\ldots,1], with a single transition point at which the answer first becomes correct. The outer-loop objective ∑_t(s_t−C_t)2\sum\_{t}(s\_{t}-C\_{t})^{2} therefore encourages the probe to localize this transition, assigning low scores before the transition and high scores afterward.

At inference time, we do not assume access to C_ttrueC\_{t}^{\text{true}} and we do not claim that “not stopping” implies C_ttrue=0C\_{t}^{\text{true}}=0. Instead, we use the pseudo-target C_tC\_{t} to adapt the fast weights toward the instance-specific pre-transition baseline, which empirically acts as a novelty detector for the transition. Consequently, the probe accumulates an instance-specific representation of typical pre-transition reasoning patterns. When a substantive reasoning breakthrough occurs and the embedding ϕ_t\phi\_{t} shifts accordingly, the probe score increases because the new state is no longer well explained by the current adaptation. Meta-training embeds this behavior into the slow parameters: W_0W\_{0} sets the initialization and η\eta controls the adaptation rate to the problem-specific baseline. Under this view, the C_t=0C\_{t}{=}0 inner loop acts as an implicit novelty detector, where “novelty” corresponds to the transition pattern learned during meta-training. From another perspective, the entire deployment procedure can be treated as a binary classification task, hence there is no train-test gap at all.

Our method is online: during a single reasoning trajectory, the fast weights are updated step-by-step, and the stopping decision is made from the current adapted state. This describes the algorithmic form of the method and does not, by itself, imply a distributional guarantee. By contrast, on-policy is the condition required by conformal/LTT calibration: calibration trajectories and deployment trajectories should be generated under the same effective policy (including search behavior, stopping logic, and update dynamics). Therefore, ORCA is best described as an online method with on-policy validity guarantees. If the deployment policy changes, one should re-calibrate under the new policy or apply explicit off-policy correction (e.g., importance weighting); otherwise, exchangeability assumptions can fail.

Figure 2: Compute savings vs. risk tolerance δ \delta for supervised (left) and consistent (right) labels (Qwen2.5-32B). TTT no-QK consistently outperforms the baseline across all risk levels, with the largest gap at low δ \delta .

TTT is essential, not just the architecture.

Section titled “TTT is essential, not just the architecture.”

Table 6 ablates the TTT-Probe by comparing against two controls: (1) standard supervised training on the same architecture, and (2) random initialization, with and without online updates. The “standard” variant trains the same no-QK probe architecture via standard Adam optimization, using the same learning rate (10−310^{-3}) and number of epochs (20) as the corresponding TTT variant. At inference, the standard-trained probe applies a single forward pass per step without online updates. The “no meta-training” variants use randomly initialized weights (with or without online updates); since no training occurs, these results are epoch-independent.

Table 6: Core mechanism ablation (supervised, δ=0.1\delta{=}0.1). Full TTT achieves the best savings: standard supervised training on the same architecture underperforms the static baseline, and removing either meta-training or online updates substantially degrades performance. Rows marked with \*\* use random initialization.

ConfigurationArchitectureTrainingOnline updateSavingsError
Full TTT (no-QK)LinearMeta-learn✓.475.110
Standard (no-QK)LinearSupervised.239.095
Full TTT (QK, d_h=128d\_{h}{=}128)QK proj.Meta-learn✓.414.103
No meta-training∗QK proj.None✓.254.099
No meta + no update∗QK proj.None.173.091
Static ProbePCA+LogRegSupervised.380.105

Standard training is insufficient; TTT meta-learning is the key contributor. The standard-trained no-QK probe achieves only 23.9% savings, substantially below the static baseline (38.0%). Without PCA, training a linear model on the full 5,120-dimensional embedding space is prone to overfitting on 150K training samples. The standard-trained probe does not benefit from online adaptation at inference. Replacing standard training with TTT meta-learning improves savings from 23.9% to 47.5% (a 2.0×\times increase). The meta-learning outer loop trains the probe not just to classify correctness, but to produce scores that improve through online updates at inference. The QK block isolates the contribution of each TTT component: starting from the full TTT-Probe (41.4%), removing meta-training drops savings to 25.4%, and further removing online updates drops savings to 17.3%. Without meta-learned initialization, online updates alone recover only a fraction of the performance, confirming that both components are essential.

Figure 2 visualizes the full risk–savings tradeoff in the in-distribution setting. The gap between TTT-Probe and the static baseline is most pronounced in the moderate-risk regime (δ∈[0.05,0.2]\delta\in[0.05,0.2]), where the online adaptation provides the largest marginal benefit. At higher δ\delta, all methods converge as most steps can be skipped regardless of probe quality.

Together, meta-training and online updates are complementary: meta-training provides the foundation for calibration quality, while online updates enable instance-level adaptation.

Table 7 evaluates alternative probe designs. QK architecture variants achieve competitive in-distribution savings (0.41–0.45). LayerNorm, residual, and shared QK variants reach 0.449–0.451, approaching the no-QK probe (0.475).

Table 7: Architecture ablation (supervised, d_h=128d\_{h}{=}128, δ=0.1\delta{=}0.1).

OOD Savings
VariantSav.Err.MATHGPQAA’24A’25A’26
QK (d_h=128d\_{h}{=}128).414.103.670.665.295.258.134
+ LayerNorm.451.095.697.726.265.256.144
+ LN + Residual.450.094.697.726.265.256.144
+ Shared QK.449.094.698.724.264.256.144
+ Learnable η\eta.421.109.679.656.364.260.104
+ MLP (2-layer).441.093.717.633.258.231.325
no-QK (ep20).475.110.637.715.293.265.198

The OOD results reveal complementary strengths across architectures. The MLP variant achieves the highest MATH-500 savings (0.717) and AIME’26 (0.325), while LayerNorm variants lead on GPQA (0.726). The no-QK probe is strongest on AIME’25 (0.265), while the learnable-η\eta variant achieves the best AIME’24 savings (0.364).

The no-QK architecture remains the recommended default due to its simplicity (only d_ϕ+1d\_{\phi}+1 parameters), stability across epochs, and consistently strong performance. QK variants with LayerNorm offer a viable alternative when MATH-style OOD generalization is prioritized.

Table 8: Effect of QK projection dimension (supervised, δ=0.1\delta{=}0.1).

d_hd\_{h}ParametersSavingsError
32328K.440.105
64656K.439.106
1281.3M.414.103
2562.6M.408.104
5125.2M.398.099
no-QK5.1K.475.110

Table 8 evaluates the effect of QK projection dimension. The smallest QK dimension (d_h=32d\_{h}{=}32) achieves the highest QK savings (0.440) with the fewest parameters (328K), while larger dimensions show diminishing returns. The no-QK variant, with only 5.1K parameters, outperforms all QK dimensions in savings. This suggests that for the early-stopping task, a high-capacity projection is unnecessary; the raw hidden states already contain sufficient signal for adaptive confidence estimation.

The no-QK probe is remarkably robust to the inner learning rate. Across a 100×\times range (lr ∈{0.001,0.005,0.01,0.05,0.1}\in\{0.001,0.005,0.01,0.05,0.1\}), supervised savings vary only between 0.461 and 0.463, a fluctuation of less than 0.5%. In consistent mode, the invariance is even more extreme: all five learning rates produce identical savings of 0.418. This robustness eliminates a key hyperparameter from practical deployment.

Table 9: Step-level vs. token-level savings (δ=0.1\delta{=}0.1, supervised). The two metrics are highly consistent across models.

ConfigurationStep Sav.Token Sav.Δ\Delta
Qwen2.5-32B
Static Probe.377.377.000
TTT no-QK.475.471−-.004
TTT QK (d_h=128d\_{h}{=}128).414.414.000
QwQ-32B
Static Probe.293.296+.003
TTT no-QK.394.397+.003
TTT QK (d_h=128d\_{h}{=}128).376.380+.003
Llama-3.3-70B
Static Probe.352.372+.020
TTT no-QK.424.438+.014
TTT QK (d_h=128d\_{h}{=}128).378.399+.021

We verify that step-level savings translate to comparable token-level savings. Table 9 compares the two metrics for representative configurations at δ=0.1\delta{=}0.1. On Qwen and QwQ, step-level and token-level savings differ by less than 0.5 percentage points, confirming that reasoning steps are roughly uniform in length. On Llama, token-level savings are 1–2 percentage points higher than step-level savings, indicating that later reasoning steps tend to be longer; early stopping thus saves proportionally more tokens than steps. Given the close agreement, we report step-level savings throughout this paper.

Table 10 shows in-distribution savings at selected epochs. The no-QK probe is stable across epochs due to its small parameter count (5.1K), so we select epoch 20 where savings are near-peak. The QK variant (d_h=128d\_{h}{=}128, 1.3M parameters) peaks at epoch 10 and degrades at later epochs. We therefore use epoch 10 for all QK variants.

Table 10: Savings at selected epochs (supervised, δ=0.1\delta{=}0.1). The no-QK probe is stable; QK peaks early and overfits.

Epoch1020304050
no-QK.443.475.471.476.464
QK (d_h=128d\_{h}{=}128).414.387.381.357.324

Figure 3: Actual error rate vs. target risk δ \delta (supervised, Qwen2.5-32B). All methods track the diagonal, confirming valid risk control. Points below the diagonal satisfy the LTT guarantee.

LTT calibration guarantees that the selected decision rule has deployment risk at most δ\delta with probability at least 1−ϵ1-\epsilon. Figure 3 validates this empirically by plotting the actual test-set error rate against the target δ\delta.

All three methods closely track the y=xy=x diagonal, confirming that the LTT guarantee holds empirically. At low δ\delta (0.05 to 0.15), all probes are slightly conservative, with actual error rates below the target risk level. This is expected since LTT calibration optimizes for finite-sample validity. Notably, TTT-Probe achieves higher savings (Figure 2) while maintaining the same calibration quality as the static baseline, indicating that online adaptation improves efficiency without degrading risk control.

Figure 4 shows the distribution of per-problem savings at δ=0.1\delta{=}0.1. All three methods exhibit high variance, with a significant mass near zero (problems where early stopping is not triggered) and near one (problems stopped very early). The TTT no-QK distribution has a higher mean (0.475) and median (0.444) than the static baseline (mean 0.377, median 0.313), confirming that the improvement is broadly distributed across problems rather than driven by a few outliers.

Figure 4: Distribution of per-problem savings at δ = 0.1 \delta{=}0.1 (supervised, Qwen2.5-32B, 902 problems). Solid lines: mean; dashed lines: median. TTT no-QK shifts the distribution toward higher savings across the full range.

Figure 5 compares the probe score trajectories on a representative test problem. The green vertical line marks the first correct reasoning step.

The static probe score rises gradually after the first correct step but remains below its threshold (0.77) throughout the entire trajectory. As a result, reasoning runs to completion with zero savings. The TTT no-QK probe starts at a higher score (∼\sim0.65) due to meta-learned initialization and adapts online via the C_t=0C\_{t}{=}0 update rule. After the first correct step, the score increases and crosses the calibrated threshold (0.83) at step 22, stopping reasoning 16 steps early and saving 41% of compute. This example illustrates the two components at work: meta-training provides a good initialization, and online updates adapt the probe to the specific problem instance.

Figure 5: Probe score trajectories for a test problem (Qwen2.5-32B, δ = 0.1 \delta{=}0.1 ). The green line marks the first correct step. The static probe (top) never crosses its threshold and saves 0%. The TTT no-QK probe (bottom) crosses the threshold at step 22 and saves 41%.

C.6 Effect of Training and Calibration Set Sizes

Section titled “C.6 Effect of Training and Calibration Set Sizes”

We study how performance scales with the amount of available data, which is particularly relevant for deployment settings where labeled data is scarce. Following the setup of Table 2 (TTT no-QK, supervised, δ=0.1\delta{=}0.1), we vary the training set size n_trainn\_{\text{train}} with the calibration set fixed at n_cal=1n\_{\text{cal}}{=}1K, and vary the calibration set size n_caln\_{\text{cal}} with the training set fixed at n_train=3n\_{\text{train}}{=}3K. Results are reported on the in-distribution test split.

Table 11: Effect of training set size (top, n_cal=1n\_{\text{cal}}{=}1K fixed) and calibration set size (bottom, n_train=3n\_{\text{train}}{=}3K fixed) on in-distribution performance (TTT no-QK, supervised, δ=0.1\delta{=}0.1). Savings grow monotonically with n_trainn\_{\text{train}}; small calibration sets yield more conservative thresholds, and risk control is maintained at every size.

n_trainn\_{\text{train}}50010001500200025003000
Savings.385.424.438.450.458.475
Error.092.093.101.102.111.110
n_caln\_{\text{cal}}501002005001000
Savings.125.396.367.399.475
Error.024.091.082.091.110

As shown in Table 11 (top), savings increase monotonically with n_trainn\_{\text{train}} while the realized error stays close to the target level δ=0.1\delta{=}0.1 at every size. Notably, with only n_train=500n\_{\text{train}}{=}500 the TTT-Probe already matches the Static Probe baseline trained on the full data (.385 vs. .380), and the full 3K training set improves savings to .475. The method therefore does not rely on a large training set to be competitive; additional data converts directly into additional savings.

The distribution-free FWER guarantee of LTT holds at any calibration set size. As shown in Table 11 (bottom), with n_cal=50n\_{\text{cal}}{=}50 the binomial test naturally selects a more conservative threshold, yielding an error rate of .024 (well below the target δ=0.1\delta{=}0.1) at the cost of savings (.125). From n_cal≥100n\_{\text{cal}}{\geq}100 onward, savings stabilize near .37–.40, reaching .475 at the full 1K. The method does not fail in low-data deployment but becomes appropriately conservative.

To verify that our results are not artifacts of a single run, we repeat the full pipeline with 10 random seeds under the setup of Table 3 (δ=0.1\delta{=}0.1): each seed trains its own probe and runs an independent LTT calibration. Table 12 reports the mean and standard deviation on the in-distribution test split and the five OOD benchmarks.

Table 12: Mean ±\pm std over 10 random seeds with independent LTT calibration per seed (TTT no-QK, supervised, δ=0.1\delta{=}0.1). Variance is small on all benchmarks.

DatasetSavingsError
In-distribution.474 ±\pm .004.112 ±\pm .003
MATH-500.631 ±\pm .005.022 ±\pm .001
GPQA-Diamond.715 ±\pm .002.300 ±\pm .000
AIME’24.292 ±\pm .004.150 ±\pm .000
AIME’25.267 ±\pm .005.056 ±\pm .000
AIME’26.199 ±\pm .002.050 ±\pm .000

Variance is small on all benchmarks: the standard deviation of savings is at most .005, the error rate is constant across seeds on GPQA-Diamond and all three AIME benchmarks, and the single-run numbers in Table 3 are consistent with these results. Both the savings and the error rates of our method are thus stable under the randomness of probe training and threshold calibration.