R468 · Agent architecture › Self-improvement and learning loops

Trading search breadth for failure detail: a greedy agent that beats evolutionary prompt optimization on five times fewer rollouts

Read the original

self-improvementagent-harnessevalsbenchmarksopen-sourcemeasuringclaim-checkingmcp

ReAPO, as described in its NeurIPS page, slides and released code rather than its summaries — what the design actually changes, the two places it loses, and the one claim circulating about it that the paper does not make.

What it is

An industrial research group replaced an evolutionary prompt optimizer with a single ReAct agent that runs, inspects and edits the target system through a tool server, and reports that it matches or surpasses two established optimizers using two to seven times fewer evaluation rollouts and lower optimization cost.

The loop, per round: evaluate the target system on its training split; read per-datapoint results and the traces of the failures; attribute the errors to specific modules; rewrite the prompts under the instruction "generalize, never copy"; re-evaluate on the full training set; accept or revert, keeping the best-on-train prompt set. A single greedy lineage, no evolutionary search, no archive. The budget is fixed in advance rather than convergence-based: R rounds, (R+1) × |D_train| rollouts in total.

The comparison that makes the point

Set the two optimizers' stage lists side by side, which is how the authors present it:

Evolutionary baselineThis work
Pareto samplingSingle lineage
Minibatch screeningFull training set
Round-robin module orderFailure attribution
Pareto archiveAccept or revert

Read that table carefully and the headline — simplicity — is the least interesting thing about it. Three independent changes are bundled together, and only one of them is a simplification:

  1. Greedy lineage instead of a Pareto population. This is the simplification, and it is the one with a cost (below).

  2. Full-train evaluation instead of minibatch screening. This is more work per round, not less. It buys a low-noise accept/revert decision, which is what makes greedy viable at all — a greedy chain on minibatch estimates would chase sampling noise.

  3. Failure attribution instead of round-robin module selection. This is the substantive addition. The optimizer reads traces of individual failures and decides which module caused them, rather than cycling through modules and comparing aggregate scores.

The transferable lesson is therefore not "simpler is enough." It is trade breadth of search for depth of per-failure information — fewer candidates, each chosen from evidence about why the last one failed. Fewer rollouts follow directly: you need less search when each step is better informed.

The authors' own ablation supports this reading rather than the simplicity reading. Without the analysis tools, they note, "the optimizer sees only the aggregate score" — i.e. the attribution tooling is load-bearing, not incidental.

The apparatus is not small

Worth correcting a characterization that travels with this work: the optimizer is described in circulation as a "plain" ReAct agent. The released code describes it as a ReAct agent that runs, inspects and edits the target agent through twenty tools exposed over a tool server, driven by a fixed natural-language skill prompt, with tool groups for agent inspection, agent execution, prompt editing, logging and results analysis.

The genuinely strong claim is the one about reuse: "[t]ools and protocol are reused unchanged across tasks." One tool surface and one skill prompt, no per-benchmark tuning of the optimizer itself. That is a much better property than minimalism, and it is the thing to copy — build the introspection surface once, point it at anything.

Numbers

What is published as text:

What is not published: per-benchmark test scores, totals, and the confidence intervals themselves exist only inside chart images. No dollar or token figure appears anywhere, despite the cost claim being central — and the released code records "token and dollar cost per run," so the number exists and was simply not reported.

Reusing the baseline's splits, programs and released artifacts is the right methodological call and is what makes the rollout comparison credible at all. It also means any saturation problem in those benchmarks is inherited rather than introduced.

Where it loses, in the authors' own words

Two honest negatives, and the second is the design's signature failure.

On one enterprise task: "Neither method changed the unoptimized prompt." A task where prompt optimization does nothing at all, for either optimizer. Useful to have in print.

On another: "An early erroneous ReAPO revision propagated to every later round." This is exactly what a single greedy lineage with no archive buys you. One bad accept poisons the remainder of the run and there is nothing to fall back to. The Pareto archive in the evolutionary baseline exists precisely to survive this. So "5× fewer rollouts" and "one bad accept ruins the run" are the same decision seen from two sides, and the right way to deploy this is with a cheap rollback — keep the per-round prompt sets, and treat a run whose trajectory degrades as a run to restart from an earlier accept rather than to finish.

Two further limits the authors state: aggregate scores "suffice on public benchmarks, not on specialized workflows," and — a sharp caveat on their own ablation — "[t]he optimizer's familiarity with a task can compensate for the absence of introspection." On well-known benchmarks a strong optimizer model can mask the value of the very tooling being ablated. That is a contamination argument against their own best evidence, and it is to their credit that it is on the slide.

The variance claim, stated correctly

The most quoted takeaway from this work is that single-run comparisons can rank optimizers in the wrong order. The paper does not say that.

What it says is that single-run evaluations on small benchmarks "can give a misleading picture of relative performance, since LLM variance may obscure true gains." Obscuring a gain is not reversing a ranking, and no ranking-flip example appears anywhere in the published material. The conclusion the authors draw is narrower and still worth having: "[a] reliable comparison requires confidence intervals and less saturated benchmarks."

The practical advice that has attached itself to this paper — run each optimizer several times before trusting a gap — is sound, and five runs with 95% intervals is better practice than most of this literature. But the evidence for the stronger version is not in print, and with the per-benchmark intervals locked inside chart images a reader cannot even see how wide they are. For a paper whose secondary contribution is a methodological critique of single-run comparison, the table is the thing that most needed publishing.

Independent corroboration worth knowing about

A separate workshop poster by different authors proposes a "lightweight single-lineage method that iteratively revises prompts using a teacher model with rollout feedback" and reports "comparable or better performance than GEPA with fewer rollouts." No ReAct loop, no tool server, no shared authors, and neither work cites the other. Same thesis, same comparator, arrived at independently — which is a stronger signal about the state of prompt optimization than either paper alone. That poster publishes no numbers at all.

Separately: beware the acronym. An unrelated 2026 paper on retry-aware policy optimization for LLM reasoning uses the same name.

Review checklist

Connections

See R468 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.