ZICQ
中 Log in / Sign up
Newsroom Paper Agentic #Harness Self-Improvement #Compute Routing #Token Budgeting #τ-bench #Frozen Models

Measure Then Revise: Budget-Aware Compute Routing for Self-Improving LLM Harnesses

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published:

中文阅读 (Chinese) English Version
Co-reading Select any sentence in the article to highlight, annotate, or copy a quote card. Join discussion ↓

Summary:Measure Then Revise studies harness self-improvement around frozen language models, where the searchable artifact is the prompt-and-code wrapper rather than the model weights. Across 75 full-loop runs, 966 harnesses, and more than 445,000 τ-bench conversations on unseen tasks, prompt guidelines and execution guards produced changes of only -3.0 to +0.2 percentage points. Python compute routers beat their initial harness in 172 of 180 cases, but 109 of 180 exceeded the executor's output-token bud


Measure Then Revise reframes LLM self-improvement as a systems problem rather than a prompt trick. The language model remains frozen while an outer loop searches over the prompts and Python code surrounding it. The objective is not simply to make the model think longer, but to allocate more computation to tasks that need deeper reasoning while enforcing a hard token budget.

Core finding: progress and overspending coexist

The study covers 75 complete self-improvement loops, 966 harnesses, and more than 445,000 τ-bench conversations. Evaluation uses unseen tasks and a 2× executor output-token budget. Prompt guidelines and execution guards change unseen-task performance by only -3.0 to +0.2 percentage points, indicating that rules discovered during search do not reliably generalize.

Python compute routers present a more complicated picture. Across five proposer models, 172 of 180 router variants, or 95.6%, outperform their initial harness, but 109 of 180, or 60.6%, exceed the token budget. Selecting harnesses solely on task reward therefore rewards candidates willing to spend more inference compute. Higher performance and deployability are not the same conclusion.

Mechanism: turning budget into router feedback

A router can be modeled as a policy that selects a reasoning level for an input: r_h(x) = ℓ. The execution cost can be written as C_h(x) = Σ_ℓ 𝟙[r_h(x)=ℓ] · c_ℓ(x), with a budget violation whenever C_h(x) > B. Crucially, c_ℓ(x) should come from actual executor measurements rather than estimates inferred from reasoning-level labels.

Measure Then Revise turns those measurements into a direct signal for code revision:

  1. A candidate harness runs on the task set, generating a Python router that selects reasoning levels.
  2. The executor records actual output tokens, task outcomes, and failures for each level.
  3. The system locates over-budget task branches and distinguishes excessive routing from abnormal consumption within a fixed level.
  4. The router code is locally revised by changing level selection or execution constraints rather than discarding the entire candidate.
  5. The revised candidate is scored again. Under the paper's search-only selection protocol, candidate selection relies on search signals, while the held-out set is used to report generalization gains.

Compared with discard-and-resample, this process preserves potentially useful task behavior inside an expensive router and patches only the part responsible for overspending. That reduces the need to repeatedly generate and evaluate near-duplicate candidates.

Measured results and engineering trade-offs

| Component or strategy | Reported result | Engineering interpretation | |---|---|---| | Prompt guidelines and execution guards | -3.0 to +0.2 percentage points on unseen tasks | Search-time rule improvements do not generalize reliably | | Dynamic compute routers | 172/180 variants beat the initial harness | Task performance improves | | Dynamic compute routers | 109/180 variants exceed the token budget | Score-only selection admits cost-uncontrolled solutions | | Discard and resample | Mean held-out gain of 5.4 ± 6.4 points | Useful candidates are repeatedly discarded and search is expensive | | Measure then revise | Mean held-out gain of 11.6 ± 2.9 points; all six seeds positive | Local revision preserves useful behavior and improves cross-seed stability | | Measure then revise | Violations fall from 38/72 to 2/72; wasted search drops 53% | Budget compliance and task gains improve together |

In the revision experiment, 38/72 corresponds to 52.8% and 2/72 to 2.8%, an absolute reduction of 50 percentage points and an approximately 94.7% relative reduction by simple count arithmetic. The 180-router and 72-case experiments are not presented as the same denominator, however, so the 60.6% figure should not be compared directly with 2/72.

The paper also compares the method with uniform-effort baselines and three reimplemented compute allocators. Its performance can be comparable to uniform medium effort, suggesting that the main value of dynamic routing is resource allocation rather than a higher peak score. The abstract does not quantify total-token savings against uniform medium effort or provide a complete performance-cost Pareto frontier.

Freezing model weights avoids gradient training and model-distribution costs, but offline search is not free. Seventy-five complete loops, 966 harnesses, and more than 445,000 conversations imply substantial experimental expenditure. A production implementation must also pay for task generation, candidate evaluation, router execution, and held-out validation.

Evaluation credibility and reproduction boundaries

Three aspects strengthen the evaluation. The study uses unseen tasks and reports held-out gains, reducing the risk of search-set overfitting. Dynamic-router results cover five proposer models. Finally, the revision method is compared with uniform-effort baselines and three other allocation strategies rather than being assessed in isolation.

Several limitations remain:

  • The central revision comparison is concentrated on six GLM-5.3 seeds. Stability across model families, task families, and benchmarks still requires validation.
  • The abstract does not state whether the reported ± values denote standard deviation, standard error, or a confidence interval, and it provides no significance test.
  • The budget concerns executor output tokens. The accounting scope for input tokens, cache hits, tool calls, retries, and the Python routing code itself is not stated.
  • Absolute task scores, end-to-end latency, dollar cost, hardware configuration, and total search cost are not disclosed, preventing a complete assessment of production value.
  • Unseen τ-bench tasks are not necessarily out-of-distribution tasks. Self-improvement loops may also exploit scorer noise or evaluation loopholes, making independent judging important.
  • The supplied material does not identify the authors' institutions or confirm code and license availability, leaving reproduction conditions uncertain.

Deployment guidance: treat routing as a controlled policy

  1. Enforce budgets in the executor. Do not rely on the router alone. Cancel streaming generation when the token limit is reached, and define timeouts, retry caps, and fallback levels.
  2. Record attributable costs. Telemetry should include input and output tokens, cache hits, reasoning level, retries, tool latency, and wall-clock time, with complete traces retained per task.
  3. Revise locally first. Identify the offending branch, patch thresholds or constraints, and retain a rollback version instead of discarding the entire router after one overrun.
  4. Use multi-objective acceptance. Track task success, budget-violation rate, P95 latency, total tokens, and rollback rate, then plot a performance-cost Pareto curve rather than relying on one average score.
  5. Isolate generated code. Because self-improvement generates and executes Python, production deployments need sandboxing, least privilege, network allowlists, deterministic resource quotas, and timeout termination.
  6. Validate generalization independently. Repeat multi-seed evaluation on unseen, out-of-distribution, and alternate-scorer tasks, while strictly separating the search set, model-selection set, and final held-out set.

Bottom line

The central contribution of Measure Then Revise is not a claim that prompts or harnesses can self-improve indefinitely. It turns compute cost into a measurable and locally repairable optimization variable. Dynamic routing can improve task performance, but without budget feedback the search naturally drifts toward expensive solutions. Measure-then-revise demonstrates a path to better performance, budget compliance, and search efficiency without training model weights.


Source: Hugging Face Daily Papers (2026-11-29)

— END —

Tags: #Harness Self-Improvement #Compute Routing #Token Budgeting #τ-bench #Frozen Models

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

What's your take on this story?
Explore & Submit Works

Community Comments

Loading live comments and annotations…