R304 · Agent architecture › Context economics and caching

Batching questions into one prompt silently cuts each one's thinking budget

Read the original

inferencereasoningevaluationcost

Source: "On the Fragility of Tasks under Composition: Implicit Budgeting in Language Models", arXiv 2610.27190v1 [cs.CL], 19 Oct 2026. Chenpan Li and Thies Brockmoeller (TU Munich); Stefanie Jegelka, Sharut Gupta and Nikolaos Karalias (MIT CSAIL). Code at github.com/chenpanli/fragility.

The finding

Put several questions a reasoning model answers reliably on its own into one prompt, and it starts getting some of them wrong. The experiment is tight enough to rule out the easy explanations. For each model, only questions that model solved in three of three independent isolated attempts were used. Those were then composed 3, 6, 10 or 20 to a prompt (20 omitted on GPQA-Diamond and AIME for context reasons), the single response split, and each answer graded separately. All eight models tested lost accuracy. Claude Opus 5 at medium reasoning effort dropped about 7 percentage points at ten questions per prompt on GPQA-Diamond — on questions it had just solved three times out of three.

The two datasets that did not degrade, OneWordQA and StrategyQA, are the ones whose questions need almost no reasoning. That is the clue to the mechanism.

The mechanism: an implicit per-task thinking budget

The authors tag each question in the prompt (Q01, Q02, …) with a marker that does not appear in the question text, which lets them attribute segments of the reasoning trace to individual questions and count tokens per question under composition versus in isolation.

That ratio follows a power law in the number of composed tasks. Fitting log(ratio) against log(k) gives a median exponent of about −0.54 (range −0.88 to −0.04, median R² 0.91). At six questions per prompt that works out to roughly 38–40% of the thinking each question would have received alone.

The cut is close to uniform: a question's share shrinks by about the same factor regardless of how long its isolated trace was. The model preserves the relative allocation across questions — it just has less to allocate. What is not uniform is the consequence. Questions whose isolated traces sat above the 80th percentile in length lose far more accuracy for the same relative cut than questions below the 20th. Short-reasoning questions were carrying slack; long ones were not. The authors call the ones that break fragile.

Two control conditions matter here. Nearly all responses stayed well inside the context window — most under 25% of it, under 1% hitting the limit in most datasets — so this is not context exhaustion. And imposing a fixed small budget externally, on a question answered alone, reproduced the same degradation pattern more sharply still. The budget cut is doing the work, not the presence of neighbouring questions as distractors.

Fragility belongs to the model–task pair

This is the part with the most practical weight. Measuring which questions degrade and correlating across conditions (disattenuated Pearson, Spearman correction for attenuation):

ComparisonCorrelation
Same model, different composition sizes, groupings and orderings0.81 ± 0.04
Different models, identical conditions0.24 ± 0.03
Two models from the same training recipe (Qwen3 8B vs 14B)0.56 ± 0.09

So fragility is stable and predictable for a given model, and largely does not transfer between models. Measure it once per model and you can anticipate which questions will break in compositions you have not run. Swap the model and the measurement is mostly worthless.

Turning the bug into a saving

If non-fragile questions get more reasoning than they need when answered alone, batching them is free throughput. The authors group questions greedily into as few compositions as possible subject to a predicted accuracy-drop budget (ε = 0.5%), with the per-task size assignment chosen by cross-validated grid search.

With measured fragility, averaged over all models and all datasets except AIME (where the method leaves nearly every question in isolation anyway), this saves 43% of output tokens at −0.6 pp accuracy. On the two light-reasoning datasets it matches random batching at 68–74% savings; the whole advantage over random batching is on the five reasoning-heavy ones, where random fixed-size batching saves more tokens still but degrades accuracy badly.

Three qualifications are worth carrying, because they are what separate the headline from a deployable technique:

Post-training changes the cost, not the cut

Run the same analysis across three stages of one open model's training curriculum (SFT, then DPO, then RLVR) and all three shrink per-question thinking at similar rates. What differs is what that shrink costs: the RLVR stage loses substantially less accuracy at the same token ratio. SFT and DPO also fail on the same questions as each other (r ≈ 1.03 ± 0.35); RLVR's fragile set overlaps theirs less (0.69 and 0.89). Reinforcement learning on verifiable rewards mitigates the damage without fixing the misallocation that causes it.

Why an engineer should care

The paper's own extrapolation, offered as conjecture rather than measurement, is the interesting one. Anything that fills a prompt alongside the task at hand — accumulated tool output, conversation history, a task embedded in a larger task — has been observed elsewhere to shorten reasoning traces the same way. If the implicit budget is the real variable, then the familiar degradation of long-running agents starts well before the context window is anywhere near full, and shows up as a high-effort step quietly under-thinking and handing a wrong intermediate result to everything downstream. No error message, no truncation warning, no obvious trigger.

The operational rules that follow:

  1. Batching is a quality decision, not just a cost one. If you fan several requests into one prompt to save tokens, you are reducing per-request reasoning by roughly k^−0.5. For classification or extraction that is invisible. For anything multi-step it is a silent accuracy tax.

  2. Give hard work its own call. Separate prompts per high-effort step is the conservative default; batch the shallow ones aggressively.

  3. Re-measure on every model swap. A fragility profile is 0.81 stable within a model and 0.24 across models. Your batching policy is tuned to one specific model, and a routine upgrade invalidates it.

  4. Watch for the agent case. A step that fails only when the context around it is long, and succeeds in isolation, matches this signature. Check the length of the reasoning trace for that step, not just the total context size.

  5. Benchmarks will not warn you. Standard evaluations present one task per prompt, which is precisely the condition under which the effect does not appear.

Limits stated by the authors

The cause of the token reduction itself is unknown. The study covers independent questions drawn from a single dataset at a time; mixed-domain and genuinely dependent task compositions are untested. The detailed per-task reasoning-length analysis needed trace access and so covers only open-weight models, with the frontier model evaluated on outcomes alone.

Connections

See R304 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.