Vulnerability under task composition: the implicit budget of language modelsOn the Fragility of Tasks under Composition: Implicit Budgeting in Language Models
The authors report that concatenating tasks already solved individually causes score drops, and that batching by fragility saves an average of 43% of tokens except on AIME.
- A single prompt often has to complete multiple questions or a series of instructions at once, while common benchmarks still test one question at a time. The authors ask: can tasks that can be solved reliably in isolation still be solved after sharing a prompt with other tasks; if not, single-question scores may overestimate capability under composition.
- Only tasks from the same dataset that were all correct in three isolated attempts were concatenated as-is, with sizes of 3, 6, 10 and 20. Thinking traces were assigned to each question using labels that would not appear within the questions, and the token ratio was measured. Then, according to the measured fragility or the fragility predicted from embeddings of the question text, tasks were assigned to different composition sizes.
- The authors report that, except for OneWordQA and StrategyQA, the score drop under composition is greater than predicted by the isolated error rate. Batching by measured fragility saves an average of 43% of tokens except on AIME, with accuracy +0.6 percentage points (Section 4.1).
- The authors state that the driver of per-question reasoning shortening is not yet known, and that the study is limited to independent tasks within the same dataset; the thinking-length analysis is limited to open-source models. The experiments cover eight datasets, seven open-source models plus Claude Opus 5, and three post-training stages of OLMo 3 7B; Claude's batching numbers are only on GPQA-Diamond.
- Evaluated models
- Qwen3 4B ThinkingQwen3 8BQwen3 14BQwen3.8 27BR1 Qwen 7BR1 Llama 8BR1 Qwen3 8BClaude Opus 5OLMo 3 7B
- Benchmarks
- GPQA-DiamondGSM8KMATH-500MMLU-ReduxStrategyQAAIMEIntegralsOneWordQA
- Metrics
- 准确率下降token ratio输出token去衰减Pearson相关
Researchers found that language models make noticeably more errors when multiple tasks are combined in a single prompt, even when the models can reliably complete each subtask individually, and this degradation cannot be fully explained by the accumulation of independent errors. On open-weight models and the frontier model Claude Opus 5, the results point to an implicit thinking budget: when composing, the model uses noticeably fewer tokens per task than when executing individually, even though the entire sequence still remains well within the context window; tasks that require longer solution traces when executed individually are also more fragile under composition. The paper (arXiv 2610.27190) further shows that grouping tasks by vulnerability can manipulate this implicit budget, reducing token usage by 43% across a series of math and language tasks while maintaining accuracy.
Paper analysis
What problem does this paper attempt to solve?
The authors believe that tasks that are individually solvable degrade after concatenation because per-question thinking tokens shrink as a power law with composition size.
The question the authors aim to answer is: for tasks that can be reliably solved under isolated conditions, can each question still be solved after being concatenated as-is into the same prompt?
- Usage scenario: The authors note that a single prompt often contains multiple questions, a set of math problems, or a string of instructions at once, while common benchmarks still test one question at a time. The authors believe that once single-question scores saturate, this may overestimate how robust these capabilities are under composition.
- Existing explanations: Prior work has linked failures on multi-step reasoning or multiple instructions to error accumulation (Press et al., 2023; Dziri et al., 2023; Harada et al., 2025). The authors believe accumulation is only half the story: in those settings, composition also changed the task structure and token requirements, making it unclear whether each constituent task itself got worse.
- Observation of this paper: The authors kept only tasks that were all correct in three isolated attempts, did not change the question text, and merely concatenated them. The authors report that per-question accuracy decreased on open-source models and Claude Opus 5, by more than the isolated error rate would predict; per-question thinking tokens also decreased, although the entire output still mostly remained within the context window.
- Approach of this paper: The authors call tasks that are more likely to fail under composition and have longer isolated thinking traces fragile, and call the per-question thinking amount that shrinks with composition size the implicit thinking budget. On this basis they propose fragility-aware batching, which determines the composition size for each question based on measured fragility.
What related research exists?
The authors use the length of thinking traces when isolated to connect several lines of work: the drop from combining, token savings from group batching, and prompt sensitivity.
The authors discuss in Section 6 the effects of composition on accuracy and reasoning length, and the effects of batching on efficiency or answer outcomes, and believe that findings under different settings are not easily placed under a single explanation.
- Accuracy under composition
- Answering multiple questions together: Pan et al. (2025), Wang et al. (2025), Chen et al. (2026) examine whether models can still solve multiple questions placed together as they would separately.
- Independent errors: Harada et al. (2025), Vasileva (2026) examine whether unmet multiple requirements can be explained by independent errors. The authors state that these works document accuracy loss, and the cause is not yet fully understood.
- Dependent tasks: the introduction uses Press et al. (2023), Dziri et al. (2023), Sinha et al. (2026) to show that failures on familiar procedures or fact combinations have been reported. The contrast the authors draw is that the component tasks in this paper are mutually independent and the question text is unchanged.
- Batching
- Multiple questions per call: Cheng et al. (2023), Ji et al. (2025), Lin et al. (2024), Xu et al. (2026a) study placing multiple questions in one call. The authors treat fixed-size random batching as a common practice of the kind in Cheng et al. (2023) and use it as a baseline.
- Tokens and accuracy: Srivastava et al. (2026), Deng et al. (2026) observe that batching reduces per-question reasoning tokens; Srivastava et al. (2026), Yang et al. (2026b), Lin et al. (2024) report accuracy increases in some settings. The authors state this is consistent with observations on OneWordQA and StrategyQA.
- Context and reasoning allocation
- Irrelevant information: Yang et al. (2025b) report that tasks with more steps drop more after irrelevant information is added; Xu et al. (2026b) discuss resistance of factual questions to misleading information, which is related to whether the relevant question is answered correctly.
- Sensitivity: the authors cite Romanou et al. (2026), Qin et al. (2026), Zhang et al. (2026), Hua et al. (2025) to distinguish difficulty from prompt sensitivity, and discuss the effect of overall accuracy and matching rules on sensitivity estimates. Hua et al. is used to show that rigid matching treats a correct answer in different wording as incorrect.
- Budget: Rodionov et al. (2026) report that extra tasks or irrelevant text shorten reasoning and reduce self-checking; Fan et al. (2026) report that earlier questions receive more reasoning; Yang et al. (2026a) train grouped solving under a shared token cap. Huang et al. (2026) use confidence in a single-question setting to find shorter reasoning paths.
- Baselines and benchmarks: the controls are solving alone at k=1 and random batching at k=6. The datasets are GPQA-Diamond, GSM8K, MATH-500, MMLU-Redux, StrategyQA, AIME, Integrals, OneWordQA.
The authors state that isolated thinking trace length can connect sensitivity of deeper reasoning to irrelevant context, self-compression, composition errors that cannot be explained by independent error rates alone, and token savings from batching, and on that basis mitigate composition degradation, including on frontier models.
- Accuracy under composition
How does the paper address this problem?
Without changing the questions themselves, only the combination size is varied; tags are used to measure per-question thinking tokens, and batch sizes are then allocated by vulnerability.
The authors do not change the question text of the component tasks; they only change the number of tasks in the same prompt, measure per-question accuracy and thinking tokens, and then choose composition size by fragility. The intervention is called fragility-aware batching.
Composition and filtering
- Composition: draw mutually independent tasks from the same dataset. A composition of size k is written C=(t1,...,tk), and the dataset's fixed template is used to require answering all k questions in order. The response is split into k answers, and each question is judged correct or incorrect (Appendix A.2.6). k=1 uses the singular form of the same template.
- Drop definition: the accuracy drop of model m on task ti at size k equals the accuracy at that size minus the accuracy at k=1, with negative values indicating worse performance. Unless otherwise stated, accuracy is estimated from 5 independent trials.
- Filtering: a task enters a model's subset only if that model solved it correctly in all three isolated attempts. Compositions are drawn only from that subset, with k set to 3, 6, 10, 20; GPQA-Diamond and AIME do not use k=20 due to context overflow. The reported k=1 accuracy comes from runs separate from filtering. Within a dataset, tasks are sampled uniformly by task category.
- Decoding: open-source models use temperature 0.6, top-p 0.95, with a context of at least 131,072 tokens. Claude Opus 5 uses reasoning effort medium (Appendix A.2.2).
Per-question thinking tokens
- Attribution: a unique label such as Q01, Q02 is added before each question, and the label does not appear in the question text. The model is asked to write that label when turning to a question. Thinking tokens after one label and before the next are assigned to that question; the model may return to the same question multiple times. A question never named is assigned 0. The last question has no following label, so its length is often overestimated; therefore a dummy question that is not scored is appended at the end of each group.
- Ratio: the authors write the thinking amount under composition relative to isolation as ri(k)=Ti(k)/Ti(1)≈ km. Here T_i(k) is the thinking tokens assigned to task i in a composition of size k. Because the ratio for a single-question composition is 1 by definition, the fitted line passes through the origin in log-log coordinates.
- Fragile tasks: the authors call tasks that drop in accuracy after composition and have longer isolated thinking traces fragile. Binning uses quantiles of isolated trace length: low is no more than 20%, medium is 20% to 80%, and high is more than 80%.
- External stopping: as a control, the authors apply the budget assigned to a question in a composition to that question's isolated solving, insert an end-of-thinking marker when thinking reaches the budget, and add the tokens in the composed solution that could not be attributed to any question, to cover the overhead of restating the question and checking the format (Appendix A.1.3).
Batching by fragility
- Goal: k is treated as a knob for adjusting per-question thinking. The authors choose a composition size for each question to maximize expected token savings while keeping the expected accuracy drop within budget.
- Objective: the choice is written as ki(λ)=argmaxk∈ K𝔼[Δi(k)]+λ(1−costk). cost_k is the token cost for that model of placing one question in a composition of size k, relative to solving it alone, taking values in (0,1]. λ is no less than 0 and represents the trade-off between saved tokens and accuracy.
- Choosing λ and batching: grid-search λ on a held-out split so that the dataset-average expected drop minus one standard error is still no lower than −B. The experiments take K as 1, 3, 6, 10, 20 and B as 0.5%. Repeated nested 5-fold cross-validation is used to reduce noise in accuracy estimates. Given a per-question cap, greedily build as few compositions as possible, and the size of the composition containing each task does not exceed its cap (Appendix A.2.4).
- Measured fragility: 10 isolated trials per question and 10 composed trials per k, randomly split in half. An isotonic mapping from one half to the other estimates the expected drop. cost_k is estimated as the total output length of compositions on that model and dataset divided by k, then divided by the average isolated output length.
Predicting fragility from question text
- Model: question text is encoded with Qwen3 Embedding 8B using last-token pooling, and the embedding is fixed. A separate linear head is trained for each evaluated language model. The log-odds along increasing k are only non-increasing, so the predicted probability is non-increasing in k.
- Labels and validation: in the training split, each k of 3, 6, 10, 20 is evaluated 10 times, each time placed in a different composition. The label is whether the question in the composition is at least no worse than in isolation. 5-fold cross-fitting makes the held-out folds together cover the full dataset, and the predicted drop is then fed into the same batching procedure (Appendix A.2.5). The k set for GPQA-Diamond does not include 20.
- Authors' positioning: the authors state that this predictor has few parameters and performs better on tasks with short, plainly worded question text such as Integrals, GSM8K, and OneWordQA, and they believe that scaling up such predictors could make it possible to save tokens on genuinely unseen tasks through batching alone. This is the authors' judgment about future work, not a completed deployment.
What experiments did the paper conduct?
On GPQA-Diamond, random k=6 averages out to a 10.5 percentage point drop; the measured vulnerability-group batching saves an average of 32.8% tokens.
Experimental setup
- Models evaluated: Qwen3 4B Thinking, Qwen3 8B, Qwen3 14B, Qwen3.8 27B; R1 Qwen 7B, R1 Llama 8B, R1 Qwen3 8B; Claude Opus 5 (medium reasoning effort). Section 5 additionally evaluates OLMo 3 7B's SFT, DPO, RLVR. The predictor uses Qwen3 Embedding 8B to encode question text.
- Data and question pools: Integrals 1,000; OneWordQA 1,548; GPQA-Diamond 196 (198 questions minus 2 with duplicate options); GSM8K test set 1,319; MATH-500 500 total; MMLU-Redux 1,406 (74 each in 19 subjects); StrategyQA test set 687; AIME 2024 and 2025 60 total. The degradation figures in Section 3 use only the subset that was all correct 3/3 in isolation; the paper does not give the number of questions in that subset. Whether Table 1's question pool is the same subset is not stated in the paper.
- Controls: solving alone at k=1; fixed-size random batching, with k=6 for Table 1.
- Metrics: per-question accuracy and percentage-point change relative to k=1; relative change in output tokens (thinking plus answer); thinking-token ratio; de-attenuated Pearson correlation.
- Scoring: the paper does not use an LLM judge. Integrals are checked structurally, numerically, and symbolically after differentiation with SymPy; multiple choice is matched on the letter; OneWordQA is normalized for spelling; StrategyQA is matched on yes/no and also accepts true/false; GSM8K and AIME are matched on the number; MATH-500 is matched on the boxed answer (Appendix A.2.6).
- Trials and decoding: degradation uses 5 independent trials by default. Measured fragility for batching uses 10 isolated trials and 10 composed trials per k. Open-source models use temperature 0.6, top-p 0.95. Context: mostly 131,072 tokens, Qwen3 4B Thinking 262,144; Claude 200,000, with an output limit of 128,000. Claude's batching uses fewer trials than the open-source models (Appendix A.1.6).
Main results
The table below is based on Table 1, all on GPQA-Diamond. Acc. diff is percentage points relative to k=1, and token is relative change.
Swipe horizontally to read the table
Model Alone Acc. Random k=6 Acc. diff Random token Measured fragility Acc. diff Measured fragility token Qwen3 4B Thinking 66.7% −10.3 −67.8% +0.2 −32.1% Qwen3 8B 58.7% −5.3 −67.4% +1.3 −41.1% Qwen3 14B 61.5% −9.7 −67.4% −3.7 −54.1% Qwen3.8 27B 83.2% −4.0 −36.3% +0.8 −4.7% R1 Qwen 7B 49.1% −25.5 −80.5% +0.5 −39.6% R1 Llama 8B 47.7% −15.6 −76.2% +1.9 −39.0% R1 Qwen3 8B 60.8% −12.6 −73.6% +1.2 −27.4% Claude Opus 5 89.5% −0.9 −18.2% −0.4 −24.3% - The authors state that random fixed-size batching saves the most tokens while also lowering accuracy. In the Average row of that table, random batching is −10.5 percentage points and −60.9% tokens.
- The authors state that batching by measured fragility almost avoids this drop. The Average in the same table is +0.2 percentage points and −32.8% tokens. Qwen3 14B is the model with the largest accuracy drop in the measured-fragility column.
- The authors state in Section 4.1 that, except for AIME, an average of 43% tokens is saved across models and datasets with +0.6 percentage points accuracy. The contribution bullet in the introduction writes the saving as ∼43% and writes all datasets. The abstract states that Claude Opus 5 reduces generated tokens by 24% on GPQA-Diamond; the corresponding cell in Table 1 is −24.3% tokens and −0.4 percentage points, and the introduction states performance does not drop.
Contraction of thinking tokens
- What was measured: on open-source models, labels are used to assign thinking tokens to each question, and the change in token ratio with k is examined (Figure 4, Appendix A.1.2), with degradation examined by quantile of isolated trace length (Figure 5 and Appendix A.1.3). The degradation in Section 3 is for tasks that were all correct 3/3 in isolation.
- Numbers: the authors report that, except for R1 Qwen 7B on MATH-500, thinking tokens decrease monotonically as k increases. The median slope of the power law through the origin is m=−0.54, with range [−0.88, −0.04], and median R²=0.91; model-averaged R² ranges from 0.55 to 0.94. Degradation is larger for high-quantile isolated traces. Applying the composition budget to isolated solving and stopping thinking when the budget is reached usually produces a stronger drop, but the pattern that the drop rises as the reduction grows and is larger for long-trace tasks remains. The authors state that Claude Opus 5 drops by about 7 percentage points on GPQA-Diamond at k=10 (Figure 2).
- Authors' interpretation: the proportion cut from each question is roughly the same and does not vary systematically with isolated length. The authors believe short traces contain redundancy beyond what is needed to solve the problem, while long traces are closer to the lower bound needed to solve it, so the same proportional cut makes long-trace tasks fail. The authors call this the implicit thinking budget failing to generalize to composition.
Predictor, low-reasoning data, and post-training
- Low reasoning and AIME: the authors state that on OneWordQA and StrategyQA, fragility-aware batching is similar to random batching, saving 68–74% of output tokens with no accuracy loss relative to solving alone; on the remaining five datasets where random batching degrades, it saves about 32% while maintaining accuracy. On AIME, almost every question exceeds the 0.5% budget at k=3, so it falls back to k=1 (Appendix A.1.6).
- Linear predictor: the authors state that it limits accuracy loss on each dataset to at most 0.5 percentage points, saving an average of 31.0% tokens, and performs better when question text is short and plainly worded. Individual models in Table 1 can exceed 0.5 percentage points, such as R1 Qwen 7B at −2.4 and Claude Opus 5 at −2.0 on GPQA-Diamond. Claude's predictor saves almost no tokens (Table 1 is −0.5%).
- OLMo 3 7B: in Figure 6, the token ratio for SFT, DPO, and RLVR contracts at similar rates with k. The authors state that at similar token ratios, the final RLVR stage degrades less than SFT and DPO. On GPQA-Diamond, MATH-500, and MMLU-Redux, the de-attenuated Pearson for SFT and DPO is 1.03±0.35; RLVR versus SFT is 0.69±0.23, and versus DPO 0.89±0.26. Appendix A.2.3 states that the correlations are not truncated. The authors' conclusion is that RLVR mitigates the degradation but does not eliminate the thinking-budget mismatch.
Other ablations and analyses
- Position (MATH-500, k=20, Figure 22): the authors report that for most models, later positions have fewer thinking tokens and larger drops; Qwen3.8 27B does not show this position bias. The final dummy is excluded from the analysis.
- Truncation and parsing (Table 3, all models and k pooled): for most datasets, hitting the context limit is below 1%; for AIME it is 4.8% (worst in brackets 39%), and unparseable is 10.7% (brackets 47%). The authors state that neither can explain the composition degradation.
- Labels (Appendix A.2.1): 99.5% of labeled thinking traces named every question; GPQA-Diamond is 92.9%, mainly because R1 Qwen 7B is only 61.5% at k≥3.
- OneWordQA random k=6 (Table 2): most models increase in accuracy; R1 Qwen3 8B drops from 81.5% to 28.6%. The authors state that this model often does not follow the answering convention under composition, so it is excluded from that dataset's Average.
- StrategyQA random k=6: R1 Llama 8B goes from 58.9% to 65.6% (+6.7 percentage points), which the authors use as an upper-bound example of batching raising accuracy.
- Appendix A.1.2: Qwen3.8 27B has median slope m=−0.15 (mean R²=0.72), and R1 Llama 8B −0.68 (mean R²=0.59); R1 Qwen 7B on MATH-500 has an all-task fit of m=−0.04, R²=−0.43.
What are some points that can be further explored?
The authors state that it is not yet clear why the budget shrinks, and that the study is limited to independent tasks within the same dataset and to the thinking length of open-source models.
Limitations and future directions noted by the authors
- Driver unknown: The authors state that they have seen combining systematically reduce per-question reasoning and harm fragile tasks more, but do not yet know what drives this reduction (Limitations).
- Task relationships: The authors state that this study is limited to independent combinations within the same dataset (Limitations).
- Thinking length: The authors state that the detailed reasoning length analysis is limited to open-source models (Limitations).
- Future settings: The authors state that extending these results to mixed domains, dependency relationships, and proprietary model settings remains important future work (Limitations).
- Richer context: The authors call how this effect extends to irrelevant context, conversation history, or larger tasks an important question, and cite Rodionov et al. (2026) as saying that reasoning traces also become shorter in those situations (Discussion).
- Post-training: The authors believe post-training may mitigate the drop under combining, for example by putting budget management into the RL process or explicitly training on combined tasks (Discussion).
Experimental coverage
- Models: The open-source models in the accuracy experiments are Qwen3 4B Thinking, 8B, 14B, Qwen3.8 27B, R1 Qwen 7B, R1 Llama 8B, R1 Qwen3 8B, plus Claude Opus 5; the post-training comparison is OLMo 3 7B's SFT, DPO, RLVR (Section 2, 5).
- Data: The sizes of the eight datasets are Integrals 1,000, OneWordQA 1,548, GPQA-Diamond 196, GSM8K 1,319, MATH-500 500, MMLU-Redux 1,406, StrategyQA 687, AIME 60 (Section 2, Appendix A.2.6).
- Protocol: Combination sizes k∈{3,6,10,20}, with GPQA-Diamond and AIME excluding k=20; Section 3 screening is 3/3 when isolated, the drop defaults to 5 independent trials, and group-batching vulnerability uses 10 (Section 3, 4). Open-source models use temperature 0.6 and top-p 0.95.
- Scoring and attribution: Scoring follows the rules and sign test in Appendix A.2.6; thinking tokens are attributed using tags. 99.5% of tagged traces name each question, and 92.9% for GPQA-Diamond (Appendix A.2.1). The relevant intervals come from 5000 bootstraps over tasks, 95% percentile intervals (Appendix A.2.3). The paper does not report a significance test for the accuracy drop.
- Scope of Claude reporting: The Figure 7 legend includes Claude Opus 5 and gives the change in accuracy drop with k on each dataset; the main text only states its approximately 7 percentage point drop on GPQA-Diamond at k=10. In the group-batching table, Claude appears only for GPQA-Diamond, and with fewer trials than the open-source models (Appendix A.1.6). The per-question thinking length analysis does not include Claude (Limitations).
Summarize the main content of the paper
The authors report that per-question thinking tokens under composition shrink as a power law, and batch by fragility to save tokens while preserving accuracy.
Author's study: when multiple independent tasks of the same type are packed into one prompt, how does the language model's per-question accuracy and thinking tokens change, and can batching by fragility reduce token generation.
- Question: whether tasks that can be solved reliably in isolation can still be solved after sharing a prompt. The authors argue that looking only at single-question benchmarks may overestimate robustness under composition; error accumulation also cannot fully explain the degradation they observe.
- Method: select tasks that were all correct three times in isolation, concatenate them with a fixed template, with k set to 3, 6, 10, 20. Use labels to assign thinking traces to each question. Put fragile tasks into smaller compositions and the rest into larger compositions, with an accuracy-drop budget of 0.5%. Additionally, use a linear head on question-text embeddings to predict the fragility of unseen compositions.
- Degradation: the authors report that, except for OneWordQA and StrategyQA, concatenation itself causes a drop, and it is larger than predicted by the isolated error rate and cannot be explained by context truncation. The authors state that Claude Opus 5 drops by about 7 percentage points on GPQA-Diamond at k=10.
- Budget: the authors state that per-question thinking tokens shrink approximately as a power law in k, with a median slope of −0.54; the reduction ratio has no systematic relationship with isolated length, and the degradation is concentrated in tasks with longer isolated traces. The de-attenuated correlation across k for the same model is 0.81±0.04, and between models 0.24±0.03.
- Batching: the authors state in Section 4.1 that, except for AIME, an average of 43% tokens is saved with +0.6 percentage points accuracy. The introduction writes the same saving as ∼43% and writes all datasets. For Claude Opus 5 on GPQA-Diamond, the measured token change for fragility-aware batching is −24.3% (Table 1), while the main text separately writes a 24% saving; accuracy is −0.4 percentage points, and the introduction states performance does not drop.
- Authors' conclusion: the authors call the implicit budget a double-edged sword: under composition, fragile tasks fail due to insufficient reasoning, while in isolation non-fragile tasks reason too much and waste computation. RLVR mitigates the degradation, but the token contraction rate across the three stages remains similar, and the authors believe the mismatch is not eliminated.