TRANSMISSION // 2611.39968v1

AI Agents Learn to Spend Reasoning Compute More Carefully

Source published

A study finds that code-based routers can improve an agent’s task performance, but often overspend. Feeding measured token costs back into revisions sharply reduced budget overruns in one test.

AI-generated conceptual illustration for AI Agents Learn to Spend Reasoning Compute More Carefully
AI-generated conceptual illustration; not documentary evidence.

Can an AI agent learn not just what to do, but when a task deserves more of its reasoning budget? Researchers tested code-based “compute routers” that vary a language model’s reasoning effort from turn to turn—and a feedback loop that revises routers when their measured token use is too high.

An AI agent’s behavior depends partly on its harness: the prompts and code that manage its reasoning, tool use and checks. Rather than retraining the model, researchers can change this surrounding software. In this study, the team asked whether an automated process could build a harness that assigns more reasoning effort to some moments and less to others—while keeping average output-token use within a set budget.

The experiments used a frozen open-weight model, gpt-oss-120b, as the task-solving agent, and τ-bench customer-service tasks. The researchers split tasks into separate search and held-out sets: the search tasks guided the harness-improvement process, while the held-out tasks tested performance on tasks not used for selection. The token budget was set at twice the initial harness’s average output-token use per episode.

The study compared several kinds of harness changes. Prompt guidelines and checks before database writes did not produce meaningful held-out gains; across the tested settings, reported changes ranged from a 3.0-percentage-point decline to a 0.2-point increase. By contrast, Python “compute routers” could select low, medium or high reasoning effort before a model response, and sometimes request a higher-effort regeneration before a tool call. Both the original and regenerated output counted toward the token budget.

Across five proposer models, 172 of 180 generated routers beat their starting harness on held-out tasks. But 109 of those 180 exceeded the token budget. That result highlights a practical problem: a strategy can improve accuracy while using too much compute to qualify for deployment.

The researchers’ proposed fix, called measure-then-revise, was to give the proposer measured token use at each reasoning level and let it revise an over-budget router instead of discarding it. A fast initial check could also stop evaluation early for an expensive draft, saving further search episodes. The revision process used search-task measurements, not held-out results, and aimed to reduce cost while preserving the router’s strategy.

In the main comparison, the team ran six independent GLM-5.3 search loops for each of two methods: measure-then-revise and discard-and-resample. Under search-only budget selection, over-budget candidates fell from 38 of 72 with discard-and-resample to 2 of 72 with measure-then-revise. The authors also report 53% fewer search episodes spent evaluating over-budget drafts. All six revised runs achieved positive held-out gains, averaging 11.6 percentage points, compared with 5.4 points for discard-and-resample. These are averages across runs, not guarantees for every task or deployment.

There is an important qualification to the accuracy result. The seed-level 95% confidence interval for the difference between methods included zero, even though a task-paired comparison favored revision. The study also reports substantial outcome noise: repeating the same initial harness sometimes changed whether a task succeeded. And candidate selection remained imperfect; more search rollouts recovered only part of the gap between the chosen router and the best eligible one observed in the archive.

The routers’ gains should not be read as proof that automated harness evolution beats simpler ways to allocate compute. On the main held-out retail tasks, uniform medium effort produced a 9.1-point gain at 1.64 times baseline output tokens. Measure-then-revise averaged an 11.6-point gain at 1.79 times baseline tokens, but the paired comparison did not establish a statistically significant difference in absolute accuracy. The authors’ conclusion is therefore narrower: in this setup, harness evolution could autonomously discover and calibrate routing strategies, reaching performance comparable to uniform medium effort without changing model weights.

The evidence is also bounded by its setting. The central experiments use a particular agent, benchmark, task domain and token accounting rule. A separate airline-domain test supports transfer of the open-loop routers, but also found frequent budget overruns; the budget-revision comparison is centered on the six GLM-5.3 seeds. Additional executor probes did not show consistent benefits from simply increasing reasoning effort, suggesting routing may depend on the model being used. The paper is a preprint, not a peer-reviewed publication, and its results need independent replication before broader claims are warranted. Read the paper.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • Can AI agents improve how they work, not just their answers?

    Supporting evidence: Both preprints report performance improvements associated with harness changes around frozen models in their respective tests: Sah et al. report held-out gains for compute routers on τ-bench, and the Flex-RSI authors report higher test scores when the improver edits the harness in six of seven paired runs. This supports only the bounded proposition that harness changes can help in these tested settings; the benchmarks, interventions and evaluation designs differ. The excerpts are selective, and this is not independent verification.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.39968v1 — Original paper

      Excerpt reference: static/papers/2611.39968v1.md:87-203
      Basis: Paper text
      Source file SHA-256: aee65e0972e898d428aa5174a2eb07bbb1a4782c345eba3a936d6e4b2f0cf88c

    • 2611.08946v1 — Original paper

      Excerpt reference: static/papers/2611.08946v1.md:1545-1603
      Basis: Paper text
      Source file SHA-256: f3abcb8c20c1998a95c8c615f58625d3dbe2aa77b395764e92e43dd859279d54

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.