Overthinking and Reasoning Efficiency › Confidence, Formally
Language AI HandbookAll chapters Let us make the stopping decision precise, because the formalism tells you what to measure.
At step the model is in some state : the partial trace plus everything derived so far. Let indicate whether the answer the model would emit right now is correct. The model does not observe ; it observes some noisy signal , which might be a verbalized confidence, a sampled-agreement count, or an internal probe.
Let be the cost of one deliberation token in the same units as correctness, and let count deliberation tokens already spent. This objective charges only deliberation. To price a variable answer-emission cost, subtract its expected token cost times from the stop value, including at the final step. The objective is
Let denote the observations and actions through step , with a fixed horizon and actual stopping time . The value excludes costs already incurred. If the next step costs a fixed tokens, the two choices have values
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.
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!