Repairs for Whom? Evaluator-Executor Mismatch in Selecting Repairs for Failed LLM Agents
Abstract
When an LLM agent fails, repair methods choose which action to replace and what to put in its place. They often score candidate repairs with greedy replay, a stronger model, an environment oracle, or a judge that reads the failed log. We ask whether these evaluators pick repairs that help the agent that will actually execute them. Holding failed trajectories and candidate single-step repairs fixed, we label every candidate with independent rollouts of the deployed policy and measure how much deployment value each evaluator's choice loses. On failures not screened for repair value, pre-specified tests show that greedy replay loses 0.08-0.13 in expected net success gain in ALFWorld and 0.06-0.13 in net reward in WebShop, relative to selection with the deployed agent's own rollouts. At an equal rollout budget, selecting repairs for Qwen2.5-7B with Qwen2.5-14B rollouts loses 0.25 in ALFWorld and 0.07 in WebShop, twenty 14B rollouts per candidate are worth no more than two of the 7B agent's own, and fresh rollouts confirm that the two models prefer opposite repairs on selected disagreement cases. The agent's own fine-tuned successor is a worse evaluator still: after one round of training on verified repairs, its rollouts lose 0.55-0.60 when they select repairs for the agent it was trained from, as a pre-specified test confirms. Relative to what selection is worth, substitute models forgo 11-53%; on -bench, where selecting is worth only 0.10, they lose 0.03. Repairs should be verified with the executor that will run them, and repair labels should name their executor, including its training version.
Create a lesson
Metadata
- Categories
- cs.SE, cs.CL
- Comments
- 22 pages, 4 figures, 15 tables
Related papers
Safe Personal RSI: Evaluating and Repairing Personal-Agent Updates
Shared title terminologycs.SEJiapeng Pei, Yuhang Yao, Sitan Liu et al.
Improving Repair Agents with Cause-Chain Diagnoses
Shared title terminologycs.SEMarius Smytzek, Martin Eberlein, Lars Grunske et al.
RepoClean: Evaluating Coding Agents on Repository-Level Obsolete Code Cleanup
Shared title terminologycs.SEHongyixuan Yuan, Qixing Zhou, Pengcheng Huang et al.
SatMend: LLM Agents for Automated Software Repair in Satellite Constellations with Intermittent Ground Contact
Shared title terminologycs.SEPengcheng Luo, Zenghui Zhang, Genke Yang et al.
Fixed or Deleted? External Feedback Lets Cheaper AI Coding Agents Repair Rule Violations
Shared title terminologycs.SELaura Wynter
SkillBridge: Cost-Aware Diagnosis and Repair of Cross-OS Compatibility Defects in Agent Skills
Shared title terminologycs.SEAnjie Xu, Zixing Wang, Yifeng Cai et al.