Research
Conformal Thinking: Risk Control for Reasoning on a Compute Budget
Overview Research area: Machine learning / large language model inference — specifically test-time compute allocation and adaptive early stopping for reasoning LLMs, combined with distribution-free (c
- arXiv
- 2602.03814
- Published
- 2026-02-03
- Authors
- Xi Wang, Anushri Suresh, Alvin Zhang, Rishi More, William Jurayj, Benjamin Van Durme, Mehrdad Farajtabar, Daniel Khashabi, Eric Nalisnick
AI summary
Overview
Research area: Machine learning / large language model inference — specifically test-time compute allocation and adaptive early stopping for reasoning LLMs, combined with distribution-free (conformal) risk control.
Technical level: Advanced. The paper assumes familiarity with conformal prediction and risk control machinery (upper confidence bounds on empirical risk, finite-sample corrections), as well as the reasoning-LLM literature on confidence and entropy signals.
Scope: The paper presents a framework — Conformal Thinking — that converts a user-specified error tolerance into calibrated upper and lower confidence thresholds for terminating a reasoning chain, and empirically validates that the framework controls risk while improving the accuracy-versus-token trade-off across four models and four datasets.
What This Paper Is About
Reasoning LLMs spend variable amounts of "thinking" tokens, and recent work stops reasoning early when a confidence signal crosses a threshold. But picking that threshold is itself hard: threshold values are uninterpretable, vary wildly by signal, and depend on the model and task, so the budget-setting problem has simply been renamed rather than solved. This paper reframes the problem as risk control — the user states an acceptable error rate, and an algorithm automatically selects stopping thresholds on a held-out validation set so that the realized test risk stays under that target with high probability. It also adds a second, complementary stopping rule: a dynamic lower threshold that halts reasoning on instances the model is unlikely to ever solve, rather than only stopping when the model is confident it is right.
Key Contributions
-
A set of loss functions for early-exit reasoning. The paper defines four losses, all in the range [0,1]: an upper-threshold correctness loss capturing false positives (Eq. 8), a farsighted lower-threshold correctness loss capturing false negatives by checking whether any future solution between the exit step and budget T is correct (Eq. 9), and two efficiency losses measuring normalized wasted computation after the first correct answer (Eq. 10) and the fraction of prior exits with incorrect solutions (Eq. 11).
-
A novel parametric lower threshold. Rather than a static cutoff, the lower threshold is a sigmoid squeezed into (l, u) and parameterized by a slope c and a horizontal shift s relative to the token budget B (Eqs. 12–13). This forces the model to demonstrate a regular increase in confidence in order to keep reasoning; if confidence does not rise sufficiently fast, the chain is terminated to save tokens.
-
A risk-controlled two-step calibration procedure. The method uses the upper confidence bound (UCB) approach of Bates et al. (2021) to first select the upper threshold λ₊ at target risk ε⁺, then selects the lower-threshold parameter c to control 𝔼[ℓ⁻ | λ̂₊] ≤ ε⁻. A decoupled two-step procedure is used instead of learn-then-test over all pairs, which the authors report works "just as well in practice" at some cost to theoretical rigor.
-
Empirical demonstration that the framework both controls risk and improves efficiency. The paper shows that finite-sample correction prevents validation overfitting, that ensembling across stopping signals improves the accuracy-token trade-off, and that the lower threshold delivers larger gains as unsolvable instances become more prevalent.
Main Findings
-
Naive validation thresholding violates the risk target. Across 40 random validation-test splits on Qwen3-8B with AIME (validation size 50 samples, 5 percent), thresholds chosen by plain cross-validation had means under the target but standard-deviation bands that frequently crossed the y = x line. The pattern was especially pronounced for false-negative risk controlled by the lower threshold, which has more flexibility and is therefore more prone to noise.
-
UCB-based risk control keeps test risk under the tolerance. Applying the adjusted risk with a finite-sample correction made the realized test risk consistently stay below the user-specified ε, verified over ε values enumerated from [0,1] in steps of 0.01.
-
Ensembling signals improves efficiency. Because the algorithm selects the signal-threshold pair minimizing the efficiency loss for each ε, it effectively forms an ensemble across candidate signals. On Qwen3-8B, which had access to a probe model trained on AIME, the ensemble consistently picked the probe across ε values.
-
The lower threshold helps most when unsolvable instances are common. Using Qwen3-8B with confidence as the signal, the authors pooled AIME and GPQA-Diamond and subsampled to solvable:unsolvable ratios of 3:1, 1:1, and 1:3. At 1:1 and 1:3, upper-threshold-only stopping clustered near the high-token regime because many runs never reached the confidence cutoff and ran to the budget limit, while adding the lower threshold shifted the curve left (similar accuracy with fewer tokens).
-
The two thresholds specialize. At a representative Lower+Upper operating point (second-highest accuracy), solvable instances typically exited via the upper threshold and unsolvable ones via the lower threshold, with abstentions by the lower threshold counted as wrong when computing accuracy.
-
Threshold values are signal-dependent and no method dominates across risk levels. Figure 1 shows that the threshold needed to hit a given test risk varies substantially across early-stopping signals, and that the relative efficiency of methods depends on the target risk level.
-
Note on truncation. The provided paper content is cut off mid-sentence in Section 5.3, so the remaining lower-threshold efficiency numbers and any later sections are not available here. Results for the DeepSeek-R1-Distill-Qwen-32B and Qwen3-VL-8B models beyond their inclusion as ensemble candidates are likewise not reported in the available text.
Methodology in Plain English
The setup. A reasoning model writes a chain of thought in <think> ... </think> tags followed by a final answer. The researchers monitor a scalar confidence signal computed at the end of each text chunk (text between two consecutive newline delimiters). If the signal crosses the upper threshold, the model is deemed confident and the chain ends; if it drops below the lower threshold, the chain is abandoned as likely unsolvable. Stopping triggers a forcing string, "\n**Final Answer**\n\boxed{", to elicit a canonical boxed answer.
The trade-off. Early stopping always risks error. The upper threshold risks a false positive — stopping because the model looks confident but the answer is wrong. The lower threshold risks a false negative — stopping an instance that would have been solved later within the remaining budget. The lower-threshold correctness loss is deliberately farsighted: it checks whether any solution from the exit step through the maximum budget T is correct, and penalizes more heavily when many future steps would have been right.
The dynamic lower threshold. Instead of a fixed cutoff, the lower threshold is a sigmoid curve over the token count ωₜ. Its slope c controls how fast confidence must rise; larger c demands faster improvement. By varying the shift s, the same equation recovers linear (s = 0.5, cB ≪ 1), exponential (s > 1), log (s < 0), or constant (c → 0) shapes.
Calibration. Given a validation set V, candidate signals, and threshold grids, the algorithm sweeps all candidates, computes an adjusted risk (empirical risk plus a finite-sample correction based on validation-set size), keeps only the candidates whose adjusted risk is at or below ε, and among those picks the one with the lowest estimated efficiency loss. If nothing is feasible, it returns no configuration. The authors note this is a plug-in interface: any signal can be swapped in, and UCB could be replaced by another risk control algorithm.
What is not solved by this. The authors are explicit that risk control is not strictly necessary for purely comparative evaluation (a threshold sweep suffices) or for perfectly calibrated signals where a confidence value p truly means Pr(correct) = p. They argue neither condition typically holds in deployment, and that real systems need one concrete configuration meeting a stated error tolerance.
Why This Matters
Impact on research. The paper shifts the adaptive-reasoning conversation away from hand-tuned, uninterpretable cutoffs and toward a deployment-facing contract: state a tolerable error rate, get thresholds with a distribution-free, high-probability guarantee. It also introduces the lower threshold as a distinct mechanism for handling unsolvable instances, addressing a limitation that Wang et al. (2025a) explicitly noted — that on hard datasets most problems never reach the upper cutoff, wasting tokens. Related work like Thought Calibration (Wu et al., 2025) and PAC Reasoning (Zeng et al., 2026) is positioned as addressing only one side of this problem: Thought Calibration does not explicitly consider stopping for difficulty, and PAC Reasoning controls only the decision to reason at all, not the chain length.
Real-world applications (bullets):
- Cost-controlled API serving of reasoning models — operators can pick an error tolerance and have the system stop automatically, rather than manually tuning a threshold per model and dataset.
- Long-horizon agentic or tool-use pipelines — per-step reasoning calls can be bounded by a stated risk budget instead of a raw token cap.
- Multimodal reasoning systems — the framework is validated on MathVision (304 samples) with Qwen3-VL-8B, suggesting applicability where visual reasoning chains are expensive.
- Benchmarking and evaluation harnesses — the risk-control framing provides a principled way to report accuracy-compute frontiers under an explicit tolerance rather than an arbitrary cutoff.
Industry relevance. The relevance is largely about turning a tunable hyperparameter into a business-level quantity. Because the method minimizes wasted tokens at a fixed reliability target, it maps directly onto inference cost and latency budgets, and because the interface is a single number (ε), it is easier to communicate to product and operations decision-makers than a confidence threshold whose useful range is signal-dependent.
Future Directions
-
Restoring theoretical rigor to the two-step procedure. The authors acknowledge the decoupled selection of λ₊ and c loses some theoretical rigor, with the upper risk bound potentially violated if the lower threshold exits more solvable instances than unsolvable ones. They derive this in Appendix C and argue it would require extreme distribution shift to occur in practice — a claim worth testing.
-
Joint versus decoupled calibration. Running risk control over all pairs of c and λ₊ (for example via learn-then-test) is left as an alternative not evaluated here; comparing its cost and conservatism to the two-step approach is an open question.
-
Extending the lower threshold beyond generic signals. The consistency-based probe signal of Wu et al. (2025) also stops unsolvable instances; the paper argues its own approach targets generic signals, so validating the lower threshold across a broader range of signal types and task families remains open.
-
Characterizing behavior under distribution shift. Since the guarantee is relative to a validation set, and the paper's only hedge on broken lower-threshold behavior is that it would require extreme shift, an empirical stress test of how the calibrated thresholds degrade out of distribution would be a natural next step.
Target Audience
Researchers and engineers working on inference efficiency for reasoning LLMs, particularly those who need an operating point with a stated error guarantee rather than a reported Pareto curve. It is also relevant to practitioners in conformal prediction and risk control looking for a new application domain, and to applied ML engineers building cost-sensitive reasoning systems who are comfortable with the underlying statistics. Readers looking for a beginner-level introduction to reasoning-model early exiting will find the motivation sections accessible, but the loss definitions and calibration procedure require prior exposure to conformal risk control.
Authors’ abstract
Reasoning Large Language Models (LLMs) enable test-time scaling, with dataset-level accuracy improving as the token budget increases, motivating adaptive reasoning -- spending tokens when they improve reliability and stopping early when additional computation is unlikely to help. However, setting the token budget, as well as the threshold for adaptive reasoning, is a practical challenge that entails a fundamental risk-accuracy trade-off. We re-frame the budget setting problem as risk control, limiting the error rate while minimizing compute. Our framework introduces an upper threshold that stops reasoning when the model is confident (risking incorrect output) and a novel parametric lower threshold that preemptively stops unsolvable instances (risking premature stoppage). Given a target risk and a validation set, we use distribution-free risk control to optimally specify these stopping mechanisms. For scenarios with multiple budget controlling criteria, we incorporate an efficiency loss to select the most computationally efficient exiting mechanism. Empirical results across diverse reasoning tasks and models demonstrate the effectiveness of our risk control approach, demonstrating computational efficiency gains from the lower threshold and ensemble stopping mechanisms while adhering to the user-specified risk target.