Repairs for Whom? Evaluator-Executor Mismatch in Selecting Repairs for Failed LLM Agents
Organizations: Independent Researcher · South China University of Technology
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. Between similar-sized models from different families, the losses appear in both directions in both environments (0.07-0.17). The scoring executor also changes repair-location labels and method rankings. Repairs should be verified with the executor that will run them, and repair labels should name their executor.
Figures & tables
| Evaluator | Practice it stands for | Departs in |
|---|---|---|
| Deployed executor, 1–5 rollouts | few-rollout verification | budget |
| Same model at temperature 0.3 | close decoding proxy | target |
| Greedy replay (temperature 0) | deterministic replay | target |
| Solvability oracle | oracle / planner checks | target |
| Oracle, ties broken by slack | strongest environment signal | target |
| Planner action at earliest position | planner-based repair | target |
| Pool (deployed) | Failures | Candidates | Rollouts per branch |
| Unscreened (primary) | |||
| ALFWorld, 7B | 60/82 | L, P, R (6.1) | 7B 10, 14B 20, Llama 10 |
| ALFWorld, Llama | 60/109 | L, P, R (6.0) | Llama 10, 7B 10 |
| WebShop, 7B | 60/72 | C, L, P, R (11.5) | 7B 10, 14B 20, Llama 10 |
| WebShop, Llama | 60/86 | C, L, P, R (10.1) | Llama 10, 7B 10 |
| Screened (controlled comparisons) | |||
| Evaluator | Gridworld (34) | ALFWorld (30) |
|---|---|---|
| Random (pos. control) | 0.66 [0.57, 0.74] | 0.75 [0.69, 0.81] |
| Same target, smaller budget or another rule | ||
| Deployed, 3 rollouts | 0.11 [0.06, 0.16] | 0.07 [0.03, 0.11] |
| Deployed, 10 rollouts | 0.01 [ 0.02, 0.04] | 0.02 [ 0.02, 0.05] |
| 2-of-3 acceptance | 0.32 [0.25, 0.39] | 0.23 [0.16, 0.30] |
| Single-replay flip | 0.43 [0.36, 0.50] | 0.28 [0.22, 0.35] |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Analysis | Pool | Pre-specified | Fresh | Reported as |
|---|---|---|---|---|
| C1–C3; C4–C6 | screened gridworld | yes | F | confirmatory (Holm, 3); secondary |
| Greedy with escape (E1, E2) | screened gridworld | yes, before running | R | secondary |
| B2–B4; B5–B9, informed judge | screened ALFWorld | yes | F | confirmatory (Holm, 3); secondary |
| Other executors X1, X2 (14B, flash) | both screened | yes, before running | R | secondary |
| Published decision rules | both screened | no | — | exploratory |
| Labels and rankings ( Section 6 ) | both screened | no | — | exploratory |
| Contrast | Estimate | Pre-specified | Bias-corrected | Rule | Decision | |
| Screened gridworld (34 trajectories) | ||||||
| PC | matched random | 0.656 | [0.548, 0.709] | [0.574, 0.735] | lower | pass |
| C1 | matched random solvable action, irreversible point | 0.308 | [0.193, 0.371] | [0.218, 0.396] | Holm | confirmed |
| C2 | matched greedy replay | 0.225 | [0.136, 0.284] | [0.152, 0.300] | Holm | confirmed |
| C3 | matched solvability oracle | 0.186 | [0.090, 0.235] | [0.115, 0.261] | Holm | confirmed |
| C4 | matched 3 rollouts | 0.109 | [0.044, 0.145] | [0.060, 0.161] | lower | detected |
| Evaluator | Gridworld | ALFWorld |
|---|---|---|
| Random (positive control) | 0.51 [0.43, 0.58] | 0.74 [0.68, 0.78] |
| Deployed agent, 3 rollouts | 0.10 [0.06, 0.14] | 0.05 [0.02, 0.07] |
| Deployed agent, 5 rollouts | 0.08 [0.04, 0.12] | 0.02 [ 0.00, 0.04] |
| Deployed agent, 10 rollouts | 0.02 [ 0.02, 0.05] | 0.01 [ 0.02, 0.02] |
| Same model, temperature 0.3 | 0.02 [ 0.03, 0.08] | — |
| Greedy replay | 0.19 [0.12, 0.25] | 0.14 [0.08, 0.20] |
| ALFWorld, 7B pool | ALFWorld, Llama pool | ||||
| 7B | 14B | Llama | Llama | 7B | |
| 1 | 0.63 | 0.38 | 0.55 | 0.68 | 0.57 |
| 2 | 0.77 | 0.49 | 0.67 | 0.82 | 0.68 |
| 3 | 0.80 | 0.53 | 0.72 | 0.85 | 0.74 |
| 5 | 0.82 | 0.57 | 0.75 | 0.87 | 0.77 |
| 10 | — | 0.60 | 0.78 | — | 0.79 |
| 14B, contested | 14B, control | Llama, contested | |
| Trajectories | 37 | 15 | 34 |
| 0.33 [0.23, 0.44] | 0.13 [0.05, 0.23] | 0.18 [0.10, 0.27] | |
| 0.18 [ 0.25, 0.11] | 0.12 [0.05, 0.20] | 0.02 [ 0.07, 0.03] | |
| Difference | 0.51 [0.38, 0.64] | 0.01 [ 0.08, 0.11] | 0.20 [0.12, 0.29] |
| Sig. opposite | 8 | 0 | 2 |
| Sig. aligned | 0 | 3 | 3 |
| Deployed Qwen2.5-7B | Deployed Llama-3.1-8B | |||
| Contrast | Reward | Success | Reward | Success † |
| Positive control: matched random | 0.163 [0.128, 0.200] | 0.169 [0.114, 0.229] | 0.314 [0.258, 0.373] | 0.149 [0.090, 0.210] |
| Matched greedy replay (P1w; H3w) | 0.061 [0.036, 0.086] | 0.040 [0.014, 0.069] | 0.131 [0.083, 0.181] | 0.094 [0.055, 0.136] |
| Other model, same budget (H1w; H2w) | 0.081 [0.046, 0.114] | 0.075 [0.042, 0.112] | 0.166 [0.117, 0.217] | 0.080 [0.040, 0.124] |
| Matched privileged action, earliest (S1w) | 0.144 [0.100, 0.190] | 0.161 [0.094, 0.230] | 0.248 [0.190, 0.305] | 0.094 [0.040, 0.156] |
| ALFWorld-style: matched greedy | 0.057 [0.032, 0.083] | 0.049 [0.021, 0.082] | 0.088 [0.057, 0.124] | 0.073 [0.040, 0.110] |
| Selection | Net gain | Rollouts |
|---|---|---|
| LLM locates and proposes; 2-of-3 check | 0.32 [0.22, 0.40] | 6 |
| no check (first proposal) | 0.22 [0.14, 0.30] | 0 |
| greedy check (first greedy success) | 0.31 [0.22, 0.40] | 2 (greedy) |
| more successes than the original action | 0.32 [0.23, 0.40] | 9 |
| better proposal in hindsight | 0.37 [0.29, 0.46] | — |
| LLM screen (first proposal per position), / 5 | 0.24 / 0.27 | 6 / 30 |
| Selection | Net gain | Rollouts |
| Human reads the log (one annotator) | 0.335 [0.247, 0.423] | 0 |
| Random candidate | 0.115 [0.099, 0.130] | 0 |
| LLM screen (first flash proposal), | 0.270 [0.187, 0.357] | 30 |
| Planner action, earliest position (privileged) | 0.682 [0.605, 0.757] | 0 |
| Greedy replay | 0.687 [0.618, 0.754] | 21 |
| Matched selection (5 rollouts) | 0.822 [0.762, 0.878] | 107 |
LLM Agent Evaluation
Large language model agent evaluation measures whether tool-using systems complete tasks reliably, safely, and efficiently.
See all 1,217 papers