Manuscript Offprint

arXiv:2610.27190

On the Fragility of Tasks under Composition: Implicit Budgeting in Language Models

Chenpan Li, Thies Brockmoeller, Stefanie Jegelka, Sharut Gupta, Nikolaos Karalias

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Modern language models are increasingly asked to handle several tasks within a single prompt. Doing so requires solving each task correctly while integrating the resulting answers into a coherent response. In this paper, we identify a fundamental limitation in this process, where models make substantially more errors when tasks are composed, even when they can solve every constituent task reliably in isolation. This degradation cannot be fully explained by the accumulation of independent errors. Across both open-weight models and the frontier model Claude Opus 5, our findings instead point to an implicit thinking budget underlying this effect. In particular, under composition, models use substantially fewer tokens per task than in isolation, even when the full sequence remains well within the context window. Tasks that require longer solution traces in isolation are consequently more fragile under composition, i.e., models make more errors on prompts containing these tasks. In isolation, non-fragile tasks receive more reasoning than they need and waste compute. However, by grouping tasks according to their fragility, the implicit budgeting can be manipulated to reduce token usage by 43% across a range of math and linguistic tasks while also preserving accuracy.

Project page: https://chenpanli.github.io/fragility

Code: https://github.com/chenpanli/fragility

Task 1

Task 2

Task 3

Figure

Required reasoning

Reasoning overhead

Missing reasoning

Budgeting

Prompt

Figure 1: Composition reduces every task's reasoning by the same factor. When solved in isolation (top), each task receives more reasoning than it requires. When composed into a single prompt (bottom), the reasoning allocated to each task shrinks proportionally (yellow). Tasks with sufficient slack absorb this reduction and are still solved correctly, whereas the task that requires long reasoning falls below its requirement and thus fails.

∗^{*}denotes equal advisory role.

1 Introduction

A single prompt often asks a language model to do several things at once, such as answering a handful of questions, solving a set of math problems, or following a list of instructions before writing one response. Common benchmarks, however, still test models one task at a time [Rein et al., 2023, Hendrycks et al., 2021, Gema et al., 2025]. As scores on these benchmarks saturate, they may overstate how robust the underlying capabilities are. We ask whether a model that reliably solves a task on its own can still solve it when other tasks share the prompt.

One natural explanation is error accumulation. If each task fails with nonzero probability, solving many at once fails more often. Prior work has found this phenomenon when models are tasked to do familiar reasoning steps [Press et al., 2023, Dziri et al., 2023, Sinha et al., 2026] or follow several instructions at once [Harada et al., 2025, Vasileva, 2026]. However, accumulation is only half of the story. Because composition in these settings also changes the structure and token demands of the task, it remains unclear whether the model's ability to solve each constituent task degrades as well, and what mechanism drives that degradation.

To investigate the question, we analyze the effect of composition on each constituent task of a composition. We start by establishing that this per-task degradation exists at all. For that, we select tasks the model solves correctly in isolation, which establishes that the requisite capability is present. We then leave those tasks unchanged and simply concatenate them within a single prompt. This design separates degradation under increased task load from baseline solvability on the constituent tasks.

Across state-of-the-art open models, as well as the frontier model Claude Opus 5, we find substantial performance degradation when more previously solved tasks are concatenated within the same prompt. The drop in accuracy is substantially larger than what the constituent tasks' isolated error rates would predict, and is consistent across both mathematical and linguistic domains. We characterize this degradation along two dimensions. 1) Failures concentrate on a subset of fragile tasks that, for a given model, remains stable across sampling noise and composition sizes. These tasks also have longer reasoning traces in isolation. 2) As more tasks are presented together, models systematically reduce the reasoning tokens devoted to each task, even though no explicit per-task token constraint is imposed. This reduction follows a clear scaling pattern, with reasoning per task decreasing approximately as a power law with composition size. Together, these findings reveal an implicit thinking budget under composition, under which fragile tasks disproportionately lose accuracy as per-task reasoning decreases.

This mechanism also creates an opportunity for more efficient inference than solving every task separately. Non-fragile tasks can be grouped into larger batches, where the implicit thinking budget reduces per-task reasoning and token usage without impacting accuracy. Fragile tasks, in contrast, are placed in smaller batches so that each receives more reasoning and remains accurate. We demonstrate this with fragility-aware batching, a strategy that composes each task based on its fragility. By using empirical measurements of the fragility of tasks, it reduces token usage by 43% on average with no drop in performance compared to solving each task individually. Because it is entirely black-box, it also applies directly to proprietary models, reducing generated tokens by 24% on GPQA-Diamond with Claude Opus 5 without degrading performance.

Taken together, these results show that the failure of LLMs to generalize their reasoning budget management is a double-edged sword. Under composition, it causes fragile tasks to fail, whereas in isolation, it makes models overspend reasoning on non-fragile tasks, thus wasting compute during inference. Our key contributions and findings are:

• We show that simply concatenating tasks that are already solved correctly in isolation causes substantial accuracy degradation across both frontier and open models (Section 3).

• We identify an implicit per-task thinking budget that shrinks as a power law in the number of composed tasks (Section 3.1).

  • We show that this uniform reduction concentrates degradation on tasks with long isolated reasoning, a set that is stable within each model but differs between models (Sections 3.1 and 3.2). We refer to this set of tasks as fragile.

• We turn these findings into fragility-aware batching, a strategy that groups tasks according to their measured fragility. It reduces generated tokens by ∼43%\sim43\% across all datasets while preserving accuracy on both state-of-the-art open-weight models and proprietary frontier models (Section 4).

References (43)