Automated agent improvement often changes the prompts, tool code, and execution logic around a language model rather than updating the model’s weights. But a system that scores well during search may simply have adapted to the tasks it saw. And when inference cost is ignored, a performance gain can conceal an impractical increase in computation. A new study examines these concerns together, using a frozen language model and tests designed to measure both generalization and token use.
The researchers ran 75 full improvement loops, evaluated 966 harnesses, and analyzed more than 445,000 τ-bench conversations. Their tests used unseen task splits and a strict output-token budget set at twice the baseline. Simple prompt guidelines and pre-write execution guards did little to transfer: on unseen tasks, results ranged from a 3.0-percentage-point decline to a 0.2-point gain. One likely explanation is that rules designed to address failures during search can interfere with tasks the base model already handles correctly.
A more promising approach is a Python compute router. A proposer writes a function that chooses low, medium, or high reasoning effort based on the task and current context. Across five proposer models, 172 of 180 candidate routers beat their starting harness. Yet 109 of the 180 exceeded the token cap. The routers could improve task performance, but the generated policies did not reliably account for the cost of their choices. In a follow-up discussion, the authors noted that a high-effort turn used roughly seven times the tokens of a low-effort turn. Some routers applied high effort to routine steps, including tasks the low-effort model could already solve.
The proposed fix, “measure-then-revise,” avoids throwing away every over-budget router. Instead, the system measures token consumption at each reasoning level and gives that breakdown to the proposer, which can then revise its allocation policy. In a search-only comparison using six GLM-5.3 seeds per method, budget violations fell from 38 of 72 to 2 of 72, while wasted search episodes declined by 53%. All six revised seeds achieved positive held-out gains, averaging 11.6 ± 2.9 percentage points. The discard-and-resample comparison averaged 5.4 ± 6.4 points. The authors also reported that revisions cut high-effort turns by about 71%, from 2.7 to 0.8 per conversation.
The broader contribution is a practical feedback loop for agent design: measure not only whether a strategy works, but also what it costs, then use that evidence to improve the strategy. A router can reserve extra reasoning for situations such as tool errors or complex writes, while keeping routine requests on a cheaper path. That is not proof that automatic routing will work equally well across every model or task: the findings are tied to the tested benchmark, executor, and budget. But they make a strong case for evaluating agent improvements on unseen tasks and tracking tier-level inference costs, rather than judging them by search performance alone.
Source: Hugging Face Daily Papers
Comments
Checking sign-in status...
Loading comments...