Overthinking and Reasoning Efficiency › Confidence, Formally

Michael BrenndoerferNovember 29, 20264 min read
Language AI HandbookAll chapters
Part 40 of 67Reasoning Post-Training and Verifiable Rewards
Chapter 306Overthinking and Reasoning Efficiency › Confidence, Formally
Reading section 6 of 11 · Confidence, Formally · 4 minSection 6 of 11 · 4 min

Section 6 of 11 · 4 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Let us make the stopping decision precise, because the formalism tells you what to measure.

At step tt the model is in some state sts_t: the partial trace plus everything derived so far. Let Ct∈{0,1}C_t \in \{0,1\} indicate whether the answer the model would emit right now is correct. The model does not observe CtC_t; it observes some noisy signal ztz_t, which might be a verbalized confidence, a sampled-agreement count, or an internal probe.

Let λ\lambda be the cost of one deliberation token in the same units as correctness, and let τt\tau_t count deliberation tokens already spent. This objective charges only deliberation. To price a variable answer-emission cost, subtract its expected token cost times λ\lambda from the stop value, including at the final step. The objective is

max⁡π  E[1[final answer correct]−λ τT].\max_{\pi} \; \mathbb{E}\left[ \mathbf{1}[\text{final answer correct}] - \lambda \, \tau_T \right].

Let HtH_t denote the observations and actions through step tt, with a fixed horizon Hmax⁡H_{\max} and actual stopping time T≤Hmax⁡T\leq H_{\max}. The value Vt(Ht)V_t(H_t) excludes costs already incurred. If the next step costs a fixed Δτ\Delta\tau tokens, the two choices have values

Vt(Ht)=max⁡{E[Ct∣Ht],−λΔτ+E[Vt+1(Ht+1)∣Ht,continue]}.V_t(H_t) = \max\left\{ \mathbb{E}[C_t\mid H_t], -\lambda\Delta\tau + \mathbb{E}[V_{t+1}(H_{t+1})\mid H_t,\mathrm{continue}] \right\}.

At the final allowed step, the value is the expected correctness of the answer emitted there. Before that step, continuing may let the policy observe another signal and decide again. The first term measures how likely the current answer is to be right. The second measures the value of more work after paying for it. Replacing the next value by next-step correctness gives a one-step heuristic, or the exact comparison when only one step remains.

The first quantity describes the current answer. The second describes a possible next action and its consequences. Labeled current outputs can train a correctness scorer, while estimating the gain from continuing calls for rolling the trace forward or modeling that transition.

Sequential stopping

A confidence threshold is one possible stopping rule. Its trade-off depends on future chances to repair or break an answer, the step costs, and the time remaining. The value comparison above also allows two states with the same current correctness probability to call for different actions.

Remaining budget matters because it changes the options available after the next step. Its effect on the stopping decision depends on how likely further work is to repair or break the current answer and what each next step costs. A fixed threshold is a practical policy to evaluate alongside fixed budgets.

Three candidate signals are sampled agreement, answer-token likelihood, and probes. Their value depends on the model, inputs, and the stopping policy.

Sampled agreement. Draw multiple continuations and count how often they agree. Account for the cost of the extra samples and test whether agreement predicts correctness for your inputs.

For example, five samples that make the same sign error can agree perfectly. Evaluate agreement against correctness instead of treating agreement as a correctness label.

Answer-token likelihood. Use the likelihood of the emitted answer, or a length-normalized score, as one feature. Check whether it ranks correct answers above incorrect ones in your own setting. The score measures what the model predicts given its trace and may stay high on confidently wrong answers.

The conditional probability describes what the model assigns to an answer after reading the trace. A high score can reflect a trace built on an incorrect premise.

Internal probes. Fit a classifier to hidden states using examples with known labels. This requires access to internal activations at the layer the probe uses.

A hidden-state probe can use features unavailable in displayed text. Validate its ranking and calibration for the model checkpoint and layer where it will run. Revalidate if those inputs change.

In the question-answering benchmarks studied by Tian et al., Methods and §3, verbalized confidence was often better calibrated for the tested RLHF models than model conditional-probability estimates such as the frequency of sampling a particular answer. Test the calibration and ranking separately on your target tasks.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy