Overthinking and Reasoning Efficiency
Measure reasoning efficiency by sweeping accuracy against cost, validate stop signals, and identify when longer deliberation helps or hurts accuracy.
Language AI HandbookAll chapters Overthinking and Reasoning Efficiency
Suppose a model reaches the correct total after a few arithmetic steps. It keeps checking, misreads one subtotal, and changes its answer. Now compare it with a model that stops after the first derivation. The extra work can improve accuracy if it catches mistakes, but it can also undo correct answers. You need measurements that distinguish those outcomes.
In this chapter, overthinking means spending additional inference resources with no meaningful gain in accuracy, or spending more while accuracy falls under the evaluation protocol. A task can benefit from longer reasoning at one budget and show diminishing or negative returns at another.
Measure the average cost as well as the quality of the answer. A trace may become longer because a problem is harder, so a comparison of naturally short and long traces cannot isolate the effect of increasing the budget. A planned budget sweep holds the model, task set, decoder and grader fixed. The simulator below traces cost against accuracy and finds the cheapest tested setting for each policy at a common accuracy target.
What Longer Deliberation Adds
A standard autoregressive model assigns a distribution to each next token given its prefix. Intermediate reasoning tokens add positions to decode and become part of the prefix for the answer. A longer prefix can support decomposition or provide useful intermediate results. It can also carry an incorrect premise into later steps, even when the eventual answer is written coherently.
Consider a toy derivation with steps. If the conditional probability of an unrecoverable error in each step, given that the preceding steps are clean, is a constant , the probability of a fully clean derivation is . This is an illustration of compounded risk. Real steps can have different error risks, and later work can repair an earlier error.
The decay of is easy to underestimate. With , a ten-step derivation survives about 60% of the time; a thirty-step derivation survives about 21%; a hundred-step derivation survives about 0.6%.
With , the same depths survive roughly 90%, 74%, and 37%, and with they survive 35%, 4%, and essentially zero. Small differences in the per-step flaw rate compound into order-of-magnitude differences at long horizons.
The figure below makes the decay concrete across a range of per-step flaw rates, including the 5% case from the text.
VisualizationOut [3]Expand

Under the toy assumptions, survival at a hundred steps ranges from about 37% at a 1% hazard to about 0.6% at a 5% hazard. Whether a longer real trace helps depends on when it adds useful reasoning and whether mistakes can be repaired.
The resources allotted to inference for one query can include generated tokens, sampled candidates, verifier calls, tool calls, and retries. Choose a measure that matches your comparison. Tokens are useful for fixed per-token pricing. Wall time also depends on scheduling, parallel calls, and the model or service doing the work.
Token counts and elapsed time measure different quantities. Batch scheduling, parallel candidate generation and verifier calls can change elapsed time at a given token count. Report the setup alongside both measurements when latency matters.
The three regimes of a reasoning trace
It helps to separate what the tokens are doing. A trace is a mixture of:
- Derivation steps, which advance the solution state and carry the risk of error.
- Redundant steps, which restate, re-derive, or re-verify something already established. They cost tokens and, in the model where they add no new information, contribute nothing.
- Repair steps attempt to detect and correct an earlier error. A repair can improve the candidate after the first derivation.
A single trace can mix derivation, restatement, and repair. Longer reasoning helps when additional steps contribute useful information. Once a trace has a candidate answer, the available additional steps still include checking it, exploring an alternative, or introducing an error.
The simulator represents that change with an explicit completion state. Before completion it generates deductions; afterward it can break or repair its current answer. Real traces may revisit their original decomposition or interleave these activities.
Speculative exploration is another possible use of a reasoning budget. For example, the model can try a second decomposition and compare the two results. The comparison’s value depends on how well its selection rule distinguishes viable answers.
Reasoning efficiency describes how many correct answers a policy delivers for a given inference cost. Compare policies at matched accuracy, at matched cost, or over a common range of budgets. Default settings tell you how the tested configurations behave.
Why Longer Traces Stop Helping
Four ways to interpret the results of a budget sweep are saturation, error amplification, unreliable self-correction, and variation in difficulty.
Several explanations can be consistent with the same curve. Measurement can establish that a return changed before a follow-up experiment isolates the mechanism.
Saturation
Once a solution path is complete, adding more text may produce little extra information. A flat curve over the measured budgets means that spending more did not noticeably improve aggregate accuracy within that range.
The budget at which performance flattens can vary across problems and models. Compare curves across problem groups when the differences matter for allocation.
Think of an iterative solver with a residual tolerance. Additional iterations can be useful for a hard instance and unnecessary for one already within tolerance. If a reasoning system supplies no such residual, choose a different signal for when to stop.
A single workload budget can give easy problems more steps than they need and cut off harder ones. An adaptive policy can improve that trade-off if it can identify which inputs benefit from more computation and if the cost of checking is low enough.
Error amplification
A model that conditions on a wrong premise can carry that error through later deductions. Fluency and consistency with the premise do not establish the answer’s correctness.
A long trace can make a wrong result look convincing when later steps follow consistently from a bad premise. Checking an early premise can be more informative than reading the conclusion alone.
Continued deliberation can change an already correct answer into an incorrect one. It can also repair errors. A prefix or staged-budget evaluation can count both transition types.
For the same paired evaluation items, the change in accuracy is the fraction changing from wrong to right minus the fraction changing from right to wrong. Individual reversals only establish that a loss is possible. The aggregate declines when reversals outnumber repairs.
Self-correction needs a signal
Huang et al. (2024) found that asking a model to revise its reasoning without external feedback often failed to help and sometimes reduced accuracy on their tested reasoning tasks. The result is scoped to their evaluation protocol.
One possible explanation is that the revision sees the original trace in its prefix and can repeat its assumptions. A separate check, such as executing a candidate on a permitted test case, can provide an additional observation.
Lightman et al. trained reward models from step-level and outcome-level feedback and measured how often each reward model picked a correct answer from solutions sampled uniformly from the generator on their MATH test set (§2.1 and Figure 3). An explicit scoring rule lets you measure how well additional candidates are used.
When an experiment changes the number of generated tokens and also changes the verifier or candidate selection rule, its aggregate accuracy does not isolate the contribution of either component.
Name the test-time evidence available to the model and how the system uses it. Huang et al. tested prompting under intrinsic self-correction. SCoRe trained a policy to revise its own answers and reported gains without external feedback at inference time. Training with outcomes and providing feedback during inference are separate interventions. Kumar et al., §§3 and 6.1
The difficulty mismatch
An allocation can depend on problem difficulty. The policy has to infer that difficulty from the prompt, prior runs, or signals observed during inference.
Snell et al., §7 and Figure 9 compare spending additional estimated FLOPs on test-time search or revision with spending them on pretraining a larger model. For some bins formed with oracle difficulty, the smaller model with adaptive test-time allocation outperforms the larger model’s greedy baseline.
The comparison accounts for estimated pretraining and inference compute under a specified inference workload. The allocation and the small model’s starting performance both matter. Report them when transferring the comparison to a different workload.
Brown et al. compared coverage from repeated sampling with the accuracy achieved by selecting a candidate. For the MATH settings without an automatic verifier, some voting and learned selectors plateaued even as candidate coverage increased. Brown et al., §4 and Figure 7
For a fixed candidate pool, the fraction containing any correct answer bounds the accuracy of a policy required to select an existing candidate. The gap between this coverage and realized selection accuracy quantifies unrealized potential in the evaluated pool.
What the overthinking literature specifically shows
Chen et al. (2024) studied inefficient reasoning in o1-like models. They measured efficiency from both the outcome and process perspectives and proposed self-training approaches to reduce unnecessary reasoning. These measurements are study-specific. The simulator below draws redundant-step events directly from a fixed probability.
Trace-only proxies can be measured without a correctness label for each live request. Validate their association with correctness and cost on an evaluated set before interpreting changes in the proxy.
Shojaee et al. varied the complexity of several puzzle families and studied accuracy and reasoning length. Their results describe those puzzle settings and model versions. The evaluation does not establish a universal complexity threshold.
A flat measured curve is a reason to examine the solver, tools or representation before scaling that same budget range. It says little about performance beyond the range evaluated.
Measuring Overthinking
Claims about efficiency are easy to make and easy to make wrongly. Four measurements do most of the work.
Measurement is treated here before the mechanisms because the mechanisms are easy to implement and the measurements are easy to get wrong. Anyone can set a smaller budget; the hard part is knowing whether the smaller budget helped, and the failure modes of that judgment are subtle enough that a team can ship a regression and celebrate it as a win for a full quarter. Each of the four measurements below closes one specific hole.
Sweep accuracy against actual cost across the budget range you plan to use. A single reported point leaves other reachable configurations unknown.
If a second configuration has higher accuracy and lower cost than the first, it dominates the first on both measures. A wider sweep helps find comparisons that two default settings would miss.
Tokens per correct answer. A single number that folds both axes together: total tokens consumed divided by the number of correct answers. It is easy to compare and it is easy to mislead, because a method that answers only the easy questions can look efficient. Always report coverage alongside.
A system may abstain after spending some compute. Report both the cost of abstentions and the share of queries answered. A policy that handles only easy inputs can look efficient on tokens per correct answer while leaving much of the workload unserved. If it answers nothing correctly, the ratio has a zero denominator. Report the observed cost and coverage and leave the ratio undefined.
Redundancy rate. Choose a definition you can measure, such as the share of steps that repeat a previously established result. Repeated n-grams are a cheaper proxy but can flag legitimate restatements. If possible, compare the proxy with human-annotated traces.
The cost and interpretation depend on the redundancy measure. A repetition counter measures surface overlap, so compare it against annotated repeats if you need evidence about semantic redundancy.
Calibration of the stopping signal. Check whether an estimated probability agrees with the observed frequency of correctness, for example with a reliability diagram. Separately check how well the score ranks correct answers, for example with ROC AUC. Calibrated current accuracy still leaves the expected gain from continuing to be estimated.
A strictly increasing transformation preserves a score’s ranking while it can change the numeric threshold. A flat segment can introduce ties. Pooled AUC can also miss useful subgroups, so evaluate the actual policy on held-out traces.
The right protocol is unglamorous and worth stating explicitly. Split your data. Fit the threshold on one split, evaluate on another, and report the held-out number. If the held-out curve looks much worse than the fitted one, you have learned something important about the signal, and you have learned it before it reached production rather than after.
An evaluation can be affected by overlap between training and test data. Compare systems on the same test set and grader and document the tokenizer, sampling configuration, and what counts toward the budget.
Budget Control Mechanisms
There is now a large design space here, and it is useful to sort it by when the decision is made.
A hard cap set before decoding bounds the request. It can depend on properties of the input. A per-step stopping rule uses evidence available during generation and still has to respect the cap.
Hard budgets at the API boundary
A request can set a hard spending limit when the inference interface supports one. Identify whether it applies to generated reasoning, total output, or elapsed time, and record how the endpoint represents exhaustion.
A cap set at request time limits the resources the request can spend. When a cap is reached, check whether the endpoint returns a partial answer, an explicit incomplete status, or a completed response.
Test what the model returns when it hits the cap. A useful probe is to run a batch of problems at a budget just below the point where traces typically terminate, and read a sample of the answers. If they degrade sharply compared with a slightly larger budget, your model does not handle truncation gracefully, and setting the cap too tight is riskier than the token savings suggest.
A cap is a ceiling, while actual usage is measured after the request. Report both, plus incomplete requests, when comparing policies.
Budget forcing
The s1 authors, §3.1 shorten thinking by inserting the end-of-thinking delimiter. To extend it, they suppress that delimiter and can append a continuation cue such as “Wait.”
The s1 study demonstrates shortening and lengthening the trace at inference time and reports results for its tested math tasks. Check stopping and continuation separately because they change which prefix the answer conditions on.
An early-exit intervention asks for an answer from a shorter prefix. An extension gives the model a chance to find new evidence or revisit an earlier step. Measure each direction separately because either intervention changes what the model conditions on when it answers.
A hosted interface might offer effort or output limits while keeping the intermediate decoding prefix private. Evaluate the effect of the supported controls on completed answers.
Prompt-level length control
Chain of Draft tests prompts that request short intermediate notes. This is an instruction to the model rather than an enforced token cap. Measure whether the model follows it and whether answer accuracy changes.
Evaluate a concise prompt on the target distribution. Include examples where the original prompt needed several distinct deductions.
A concise prompt can change the model’s trajectory from the first step. Compare both token usage and answer accuracy. To estimate how often continued generation changes a correct answer to an incorrect one, evaluate answers from paired prefixes separately.
Learned length control
Length Controlled Policy Optimization trains a model to respond to length constraints while also rewarding accuracy. The reward and training mixture determine which length trade-offs the learner receives evidence about.
LCPO evaluates length controls on held-out tasks, including examples outside the training distribution. Its experiments report greater length-control error on some out-of-distribution tasks. LCPO, §5 and Appendix A.2
On a new task family, compare the same length-controlled policy at several requested lengths. Record actual length and accuracy together so you can distinguish following the requested length from solving the problem.
Adaptive allocation and early exit
The most interesting family, and the one we will build. The idea: generate a few steps, look at a signal, and decide whether to continue, stop, or escalate. The signal can be the length of the current answer, the entropy of the answer distribution, the agreement across a few sampled continuations, a probe on the hidden state, or a small auxiliary model.
A system can score a partial trace to decide whether to continue that same trace. An adaptive voting system can use the answers it has sampled to decide whether to draw another complete candidate. The experiment below tests stopping within one simulated trace.
An adaptive policy can combine a per-step decision with a hard cap. Its behavior depends on the score, the thresholds, the available actions at the cap, and the cost of taking them.
Routing makes an adaptive decision at the model level. A cascade can keep the small model’s result when the score is high enough and escalate when it is lower.
A cascade can use a simple threshold to decide whether to keep a small model’s result or escalate to a larger model. Evaluate the routing rule on held-out inputs and include the total compute of both attempts when escalation occurs.
Distillation into shorter traces
Distillation can train a student to output concise supervised traces from a teacher or an external filtering process. Measure the resulting student directly because matching trace length does not guarantee matching the teacher’s accuracy.
Compression can remove repeated steps, but deleting an essential deduction can leave an output that is harder to verify. A downstream test should evaluate answer correctness and, when relevant, the information retained in the trace.
Shorter student traces can use a different derivation or omit details that the teacher made explicit. To test whether the student removed redundant steps, trace what information was removed and separately test whether the answer and the remaining argument are still valid.
Confidence, Formally
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.
Worked Example: A Simulator With a Real Trade-off
The simulator is small enough to run on a laptop. Closed forms give separate checks on clean-draft probability and stationary review accuracy. The finite-budget curves and selected costs come from the seeded simulation.
Compare stopping policies on the same simulated trajectories. That pairing removes variation due to independently drawing the two sets of problems. The difference is still an estimate with sampling uncertainty.
The setup is a caricature with exactly the ingredients from the previous sections.
- A problem requires productive deductions.
- Each attempt at a deduction is flawed with probability .
- A flawed deduction is caught with probability . A caught flaw consumes an attempt and preserves the previous clean or poisoned state.
- An uncaught flaw can advance the derivation when the attempt is productive. It leaves the draft poisoned.
- Once the derivation is complete, the model keeps deliberating. Each further step it may break a correct answer (probability ) or repair an incorrect one (probability ).
- If the budget runs out before the derivation completes, the model guesses, and guesses are right with probability for an -way answer.
Two closed forms provide reference values for checking the simulation.
The probability that a completed derivation is clean depends on the injection rate and on how often a flaw is caught and retried:
Here is the probability that an advancing thought is clean, conditional on positive probability of advancement. A flawed thought advances only if it goes uncaught, and redundancy has the same independent probability for clean and flawed attempts. For the fragile profile, no catching gives clean completions. With the result is .
The review channel is a two-state Markov chain on correctness with transition probabilities and , whose stationary accuracy is
Let be the probability that the answer is correct after review steps. Then . A review step improves expected accuracy when repair probability mass exceeds break probability mass . The stationary ratio requires positive total transition probability, and convergence from any starting value requires the sum to be less than two. With both probabilities zero, the chain stays in its initial state.
The stationary fraction of correct answers balances the probability mass leaving and entering the correct state, so . If the conditional probability of repairing an incorrect answer is twice the conditional probability of breaking a correct answer, the stationary accuracy is two-thirds, assuming the transitions are nonzero and the chain converges.
Three regimes make the point.
| Regime | drafter | stationary accuracy | behavior |
|---|---|---|---|
| Fragile review | 0.571 | 0.200 | strong inverted-U |
| Balanced review | 0.820 | 0.400 | peak, then decay |
| Strong review | 0.360 | 0.938 | deliberation is essential |
The strong-review profile starts near 36% among completed drafts and approaches 94% under its simulated review rule. The fragile profile starts near 57% and approaches 20%. Both patterns are consequences of the chosen transition probabilities. The experiment illustrates how more revision can help or hurt even when the underlying problem is held fixed.
The strong profile has the lowest clean-draft accuracy and the highest stationary review accuracy. The fragile profile starts higher but settles lower. Whether one additional step helps depends on the current accuracy as well as the break and repair probabilities.
Now the code.
Setup
PythonIn [4]Expand
TOKENS_PER_STEP = 40
N_PROBLEMS = 8000
N_STEPS = 120Within a simulated profile, fixed budgets reuse the stored trajectories. The adaptive policies use the same balanced-profile trajectories and matched random confidence noise. Different profiles use different seeds, as shown in the runs loop.
The constants are worth a word. TOKENS_PER_STEP converts simulated steps into an interpretable cost unit, so that the x-axes below can be read as tokens rather than as abstract iterations. With 8,000 independent problems, the standard error of a single accuracy estimate is at most about 0.56 percentage points. At 120 steps, the expected accuracy for each shown profile is close to its stationary value. The final simulated values still vary with the sampled problems.
The three reasoner profiles
PythonIn [5]Expand
REGIMES = {
"Fragile review": dict(
required_steps=12,
p_flaw=0.06,
p_catch=0.25,
p_redundant=0.15,
p_break=0.060,
p_fix=0.015,
n_choices=5,
),
"Balanced review": dict(
required_steps=12,
p_flaw=0.04,
p_catch=0.60,
p_redundant=0.15,
p_break=0.030,
p_fix=0.020,
n_choices=5,
),
"Strong review": dict(
required_steps=12,
p_flaw=0.10,
p_catch=0.20,
p_redundant=0.15,
p_break=0.008,
p_fix=0.120,
n_choices=5,
),
}p_flaw controls how error-prone the drafter is, p_catch how often a mistake is noticed mid-derivation, p_redundant how often a step is a pure restatement, and p_break/p_fix govern the post-completion review channel. Only the last pair determines stationary review accuracy.
The table's ordering is easier to see as a pair of bars. The drafter's accuracy at completion and the chain's long-run stationary review accuracy are computed directly from the regime parameters.
PythonIn [6]Expand
import numpy as np
import pandas as pd
regime_rows = []
for name, cfg in REGIMES.items():
q_clean = (1.0 - cfg["p_flaw"]) / (1.0 - cfg["p_flaw"] * cfg["p_catch"])
drafter = q_clean ** cfg["required_steps"]
stationary_accuracy = cfg["p_fix"] / (cfg["p_break"] + cfg["p_fix"])
regime_rows.append(
{
"regime": name,
"drafter": drafter,
"stationary_accuracy": stationary_accuracy,
}
)
regime_compare = pd.DataFrame(regime_rows)
regime_x = np.arange(len(regime_compare))
regime_width = 0.38VisualizationOut [7]Expand

Drafting errors and retries affect completion time and accuracy at completion. Both can still affect the finite-budget curve after its peak because some problems remain unfinished. With positive advancement probability and , the long-run accuracy is .
The simulator
A loop advances the simulator one step at a time. Each state array holds one value per problem. The saved correctness and completion histories have one row per problem and one column per simulated step.
PythonIn [8]Expand
def simulate(cfg, n_problems, n_steps, seed):
"""Simulate a stop-anywhere reasoning process; return per-step state."""
rng = np.random.default_rng(seed)
n, T = n_problems, n_steps
D = cfg["required_steps"]
guess_ok = rng.random(n) < 1.0 / cfg["n_choices"]
progress = np.zeros(n, dtype=np.int32)
poisoned = np.zeros(n, dtype=bool)
finished = np.zeros(n, dtype=bool)
correct = np.zeros(n, dtype=bool)
correct_hist = np.zeros((n, T), dtype=bool)
done_hist = np.zeros((n, T), dtype=bool)
for t in range(T):
finished_before = finished
drafting = ~finished
flawed = rng.random(n) < cfg["p_flaw"]
caught = flawed & (rng.random(n) < cfg["p_catch"])
skip = rng.random(n) < cfg["p_redundant"]
clean = drafting & ~flawed & ~skip
poison = drafting & flawed & ~caught & ~skip
progress += (clean | poison).astype(np.int32)
poisoned |= poison
newly_done = drafting & (progress >= D)
finished = finished | newly_done
correct = np.where(newly_done, ~poisoned, correct)
breaks = finished_before & correct & (rng.random(n) < cfg["p_break"])
repairs = finished_before & ~correct & (rng.random(n) < cfg["p_fix"])
correct = (correct & ~breaks) | repairs
correct_hist[:, t] = correct
done_hist[:, t] = finished
return {"correct": correct_hist, "done": done_hist, "guess": guess_ok}Reading the loop in order: each step first decides whether the thought is flawed, whether that flaw is caught, and whether the thought is a pure restatement. Clean and poisoned thoughts both advance progress; caught flaws do not. When progress reaches the derivation is complete, the current answer becomes whatever the derivation produced, and from the next step onward the model is in review mode, where each step can break or repair.
Two details in the implementation carry indexing significance. The review update uses finished_before rather than finished, so a problem that completes on step does not also get a review step on the same iteration; without that, the model would get a free repair or a free break at the moment of completion, which is not what the model intends. And correct is set from ~poisoned only through np.where(newly_done, ...), so problems that were already finished keep their accumulated correctness rather than being reset.
PythonIn [9]Expand
runs = {}
for i, (name, cfg) in enumerate(REGIMES.items()):
runs[name] = simulate(
cfg, n_problems=N_PROBLEMS, n_steps=N_STEPS, seed=100 + i
)Reading the curves at a fixed budget
The natural first question: what would happen if we always spent the same number of tokens? Because we stored the full trajectory, we can answer it for every budget at once, using the same underlying draws.
PythonIn [10]Expand
def fixed_budget_curve(run, steps, tokens_per_step=TOKENS_PER_STEP):
rows = []
for b in steps:
answered = np.where(
run["done"][:, b - 1], run["correct"][:, b - 1], run["guess"]
)
rows.append(
{
"steps": int(b),
"tokens": int(b * tokens_per_step),
"accuracy": float(answered.mean()),
}
)
return pd.DataFrame(rows)
fixed_curves = {
name: fixed_budget_curve(run, np.arange(2, N_STEPS + 1))
for name, run in runs.items()
}VisualizationOut [11]Expand

The markers mark the largest sample accuracy on each plotted curve. For the strong profile the underlying post-completion process improves toward a higher stationary value in expectation, although successive finite-sample points can drop.
The horizontal axis is logarithmic. An equal distance corresponds to an equal ratio of token budgets, so inspect the tick labels when reading absolute cost differences.
Checking the simulator against the closed forms
Before trusting any of this, verify the two analytic predictions. The first says the probability of a clean derivation at draft completion is exactly with . The second gives the long-run accuracy for the displayed profiles, whose transition probabilities satisfy the convergence condition.
PythonIn [12]Expand
rows = []
for name, run in runs.items():
cfg = REGIMES[name]
ever_done = run["done"].any(axis=1)
first_done = run["done"].argmax(axis=1)
n = len(first_done)
at_completion = run["correct"][np.arange(n), first_done][ever_done]
late_mask = run["done"][:, -1]
late = run["correct"][:, -1][late_mask]
rows.append(
{
"regime": name,
"drafter q^D": (
(1 - cfg["p_flaw"]) / (1 - cfg["p_flaw"] * cfg["p_catch"])
)
** cfg["required_steps"],
"measured at completion": float(at_completion.mean()),
"stationary p_fix/(p_break+p_fix)": cfg["p_fix"]
/ (cfg["p_break"] + cfg["p_fix"]),
"measured at final step": float(late.mean()),
}
)
check_table = pd.DataFrame(rows)| regime | drafter q^D | measured at completion | stationary p_fix/(p_break+p_fix) | measured at final step | |
|---|---|---|---|---|---|
| 0 | Fragile review | 0.571 | 0.571 | 0.200 | 0.194 |
| 1 | Balanced review | 0.820 | 0.829 | 0.400 | 0.386 |
| 2 | Strong review | 0.360 | 0.352 | 0.938 | 0.936 |
The simulated completion values can be compared with the analytic clean-draft probabilities. The last sampled step can be compared with the stationary value, but a finite budget need not reach that value exactly. Small differences also arise from Monte Carlo sampling.
These checks distinguish accuracy immediately at completion from accuracy after review. Comparing the two against separate analytic predictions helps identify whether a mismatch originates in drafting or in the transition rule.
Three policies, one accuracy axis
The policy stops the first time its score reaches . It uses the final step if the score never reaches the threshold. If the policy stops before a draft is complete, it emits the fallback guess.
The strength parameter controls the score’s association with draft correctness in the simulator. Positive strength tends to rank correct drafts higher, and negative strength tends to rank them lower. With zero strength the correctness flag has no effect on the score distribution.
PythonIn [14]Expand
def confidence_trace(
run, strength, sigma=0.8, base=0.4, separation=1.5, seed=7
):
"""Map a correctness-dependent noisy logit to a stopping score."""
rng = np.random.default_rng(seed)
state = 2.0 * run["correct"].astype(np.float64) - 1.0
logits = (
base
+ separation * strength * state
+ sigma * rng.standard_normal(state.shape)
)
return 1.0 / (1.0 + np.exp(-logits))
def stopping_curve(run, conf, thresholds, tokens_per_step=TOKENS_PER_STEP):
"""Sweep the stop threshold; report accuracy and cost of the induced policy."""
n, T = conf.shape
rows = []
for tau in thresholds:
fired = conf >= tau
any_fire = fired.any(axis=1)
idx = np.where(any_fire, fired.argmax(axis=1), T - 1)
answered = np.where(
run["done"][np.arange(n), idx],
run["correct"][np.arange(n), idx],
run["guess"],
)
steps_used = (idx + 1).astype(np.float64)
rows.append(
{
"tau": float(tau),
"accuracy": float(answered.mean()),
"mean_steps": float(steps_used.mean()),
"tokens": float(steps_used.mean()) * tokens_per_step,
}
)
return pd.DataFrame(rows)PythonIn [15]Expand
SIGNALS = {
"Adaptive (strong signal)": 1.0,
"Adaptive (weak signal)": 0.3,
"Adaptive (inverted signal)": -1.0,
}
POLICY_COLOR_KEYS = {
"Fixed budget": "ink",
"Adaptive (strong signal)": "amber",
"Adaptive (weak signal)": "teal",
"Adaptive (inverted signal)": "rose",
}
THRESHOLDS = np.linspace(0.55, 0.99, 60)
stop_curves = {}
for name, s in SIGNALS.items():
conf = confidence_trace(runs["Balanced review"], s, seed=7)
stop_curves[name] = stopping_curve(
runs["Balanced review"], conf, THRESHOLDS
)VisualizationOut [16]Expand

There are two separable results in that figure, and they should be read separately.
At the common accuracy target established below, the cheapest tested strong-signal threshold uses fewer tokens than the cheapest tested fixed budget. The attained accuracies differ because both settings need only reach the target. The simulator counts generation tokens alone. Include the cost of computing the stop score in a deployed comparison.
The strong-signal sweep also reaches a higher sample peak than the fixed sweep, at a higher mean token cost. It stops early on some already-correct drafts and waits longer on some wrong or incomplete trajectories that can still improve. This comparison uses a synthetic score derived from the latent correctness indicator.
With the sign inverted, high scores favor trajectories without a tracked correct draft. That includes unfinished trajectories that can still get the fallback answer right. None of the tested inverted settings reaches the common accuracy target.
All three adaptive curves use the same rule and threshold range. The scores differ in how well they rank draft states. Ranking quality and calibration are separate properties. The test measures policy outcomes using the scores directly.
The ROC calculation pools simulated draft states from the balanced profile. Before completion, the stored correctness flag is false, even when emitting the fallback guess would have earned a correct outcome. The ROC measures ranking of this draft flag while stopping accuracy grades the emitted answer. Each ROC point admits all items tied at its score threshold. Both classes must occur to calculate AUC.
PythonIn [17]Expand
import numpy as np
def roc_points(y, score):
"""Return ROC coordinates at distinct score thresholds."""
positive = int(y.sum())
negative = len(y) - positive
if positive == 0 or negative == 0:
raise ValueError("ROC requires both classes")
order = np.argsort(-score)
sorted_labels = y[order]
sorted_scores = score[order]
# Include each group of tied scores together.
group_ends = np.r_[
np.flatnonzero(sorted_scores[1:] != sorted_scores[:-1]), len(y) - 1
]
true_positives = np.cumsum(sorted_labels)[group_ends]
false_positives = np.cumsum(1 - sorted_labels)[group_ends]
tpr = np.r_[0.0, true_positives / positive]
fpr = np.r_[0.0, false_positives / negative]
return fpr, tpr
roc_curves = {}
for name, strength in SIGNALS.items():
conf = confidence_trace(runs["Balanced review"], strength, seed=7)
y = runs["Balanced review"]["correct"].ravel().astype(int)
fpr, tpr = roc_points(y, conf.ravel())
auc_val = float(np.sum(np.diff(fpr) * (tpr[1:] + tpr[:-1]) / 2.0))
take = np.linspace(0, len(fpr) - 1, 400).astype(int)
roc_curves[name] = {"fpr": fpr[take], "tpr": tpr[take], "auc": auc_val}VisualizationOut [18]Expand

Tokens at matched accuracy
For the final comparison, hold the accuracy target fixed and measure what each policy spends to reach it.
PythonIn [19]Expand
target = 0.97 * fixed_curves["Balanced review"]["accuracy"].max()
iso_rows = []
fixed_hits = fixed_curves["Balanced review"].loc[
fixed_curves["Balanced review"]["accuracy"] >= target, "tokens"
]
iso_rows.append(
{
"policy": "Fixed budget",
"tokens": float(fixed_hits.min()) if len(fixed_hits) else np.nan,
}
)
for name, df in stop_curves.items():
hits = df.loc[df["accuracy"] >= target, "tokens"]
iso_rows.append(
{
"policy": name,
"tokens": float(hits.min()) if len(hits) else np.nan,
}
)
iso_table = pd.DataFrame(iso_rows)
iso_reached = iso_table.dropna(subset=["tokens"]).sort_values("tokens")
iso_missing = iso_table[iso_table["tokens"].isna()]["policy"].tolist()VisualizationOut [20]Expand

Policies that never reached the target accuracy: - Adaptive (inverted signal)
Target accuracy (97% of the highest fixed-budget accuracy): 0.728
| policy | tokens | |
|---|---|---|
| 0 | Adaptive (strong signal) | 614.3 |
| 1 | Fixed budget | 680.0 |
| 2 | Adaptive (weak signal) | 950.1 |
Setting the target at 97% of the highest sampled fixed-budget accuracy avoids requiring the policies to attain that exact maximum. The result still depends on the selected fixed-budget sweep. Try several accuracy targets. At each target, find the cheapest setting in each policy’s existing sweep and check whether the cost ranking changes.
What overthinking costs, in one table
Finally, the direct question a budget owner asks: if I scale the thinking budget up from the peak, what do I get for it?
PythonIn [22]Expand
bal = fixed_curves["Balanced review"]
peak_steps = int(bal.loc[bal["accuracy"].idxmax(), "steps"])
done_history = runs["Balanced review"]["done"]
first_done = np.where(
done_history.any(axis=1), done_history.argmax(axis=1), N_STEPS
)
overhead_rows = []
for b in sorted(
{
peak_steps,
min(2 * peak_steps, N_STEPS),
min(4 * peak_steps, N_STEPS),
N_STEPS,
}
):
acc = float(bal.loc[bal["steps"] == b, "accuracy"].iloc[0])
spent_drafting = np.minimum(first_done + 1, b)
overhead_rows.append(
{
"budget (steps)": int(b),
"tokens": int(b * TOKENS_PER_STEP),
"accuracy": acc,
"post-completion share of tokens": float(
((b - spent_drafting) / b).mean()
),
}
)
overhead_table = pd.DataFrame(overhead_rows)| budget (steps) | tokens | accuracy | post-completion share of tokens | |
|---|---|---|---|---|
| 0 | 18 | 720 | 0.751 | 0.200 |
| 1 | 36 | 1440 | 0.542 | 0.599 |
| 2 | 72 | 2880 | 0.419 | 0.800 |
| 3 | 120 | 4800 | 0.386 | 0.880 |
After the balanced profile’s sampled peak, a larger share of its tokens goes to review and measured accuracy falls. After a draft becomes correct, review is the only simulated stage that can make that completed draft incorrect.
Key Parameters
The key parameters for the reasoning simulator are:
- required_steps (): Number of productive deductions needed to complete the derivation. Sets the depth requirement before accuracy can rise.
- p_flaw (): Per-step probability a deduction is flawed. Together with and it sets the drafter's clean-derivation probability with .
- p_catch (): Probability a flaw is caught mid-derivation. Affects throughput (how many steps the derivation takes) and the clean share of advancing steps.
- p_redundant: Probability a step is a pure restatement that adds no progress.
- p_break (): Post-completion probability of breaking a correct answer. Lower is better.
- p_fix (): Post-completion probability of repairing an incorrect answer. With a positive transition sum, stationary review accuracy is .
- n_choices (): Number of answer options, so a random guess is right with probability .
- strength: Informativeness of the synthetic confidence signal in the stopping experiments; positive tracks correctness, negative tracks error.
For the profiles shown here, raising the catch probability while holding the other parameters fixed increases the chance that a completed draft is clean and makes retries more frequent. The review repair probability has a different role. Together with the break probability it determines the long-run accuracy of the post-completion process.
Limitations and Impact
The simulator uses hand-set transition probabilities. Its budget curves show that these specific rates can produce a peak followed by decline or improvement toward a stationary value. Measure the shape on the workload and model you plan to use.
The simulator treats all productive deductions with the same error probability and assigns no partial credit. A late mistake can still poison the draft. The review step depends only on the current correctness state. The stop score takes a correctness-dependent location, adds Gaussian noise, then passes the result through a sigmoid.
The empirical papers describe effects the simulator leaves out. Snell et al. compare test-time allocation in a specific task and model setting. Lightman et al. compare scoring supervision under a specific candidate-generation protocol. Brown et al. distinguish finding a correct candidate from selecting it. Use the simulated curves to reason about the cost of stopping and use task-specific evidence to measure what a real system does.
Budget choices affect both accuracy and cost. Record actual usage, incomplete requests, model version and decoding settings. Charge any routing or verifier computation to the policy that uses it.
For a task with several calls, sum actual model, verifier and tool work in a common unit or report separate measures. Track wall time separately when calls overlap. A per-call average can miss retries that accumulate on a handful of tasks.
Model-side controllers can allocate computation internally. The evaluation still needs an account of consumed resources and outcomes so a user can compare the resulting policy with alternatives.
Summary
An inference budget controls how much work a reasoning system can spend on a query. A simulated review step improves expected accuracy when the population share moving from wrong to right exceeds the share moving from right to wrong.
- A peak can emerge at a finite budget. Completion improves accuracy over guessing when enough drafts are clean. Subsequent review can pull accuracy down when the transition probabilities imply a lower long-run value.
- Catching a flaw changes both drafting accuracy and cost. The fragile profile rises from about 48% clean completed drafts without catching to about 57% with catching. Retrying caught flaws consumes steps. The long-run post-completion accuracy is determined separately by the review rule.
- The strong-review profile improves with budget in expectation for the displayed parameters. Other starting accuracies or transition rates can give different shapes, and a sampled curve can fluctuate.
- Identify the feedback available at inference time and which intervention the experiment changed. A joint change to generation and verification cannot by itself isolate the verifier’s contribution.
- Validate the stopping signal. Measure ranking and calibration and check the cost and accuracy of the deployed policy on held-out traces. Thresholding an inverted score without remapping it can favor wrong answers.
- Report accuracy and cost across multiple budget settings. Specify the model, accounting unit, decoding settings, and grader so the comparison can be reproduced.
Choose a common accuracy target on tuning data and select a budget or stopping rule there. Freeze those settings and measure their attained accuracy and costs on held-out items. Include the cost of evaluating the stop signal and report what the policy spends when it stops early or escalates.
Quiz
Ready to test your understanding? Take this quick quiz to reinforce what you've learned about overthinking and reasoning efficiency.
Overthinking and Reasoning Efficiency
Join the discussionAsk a question or share what you learned.
Keep exploring
Reference
Citation details
Cite or share this article.


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!