arXiv(opens in a new tab)cs.CLSep 2026Cited by 6 papers on PaperVantage

Manuscript Offprint

arXiv:2609.02783

EarlyEval: Cheaper Agent Evaluation via Early Outcome Prediction

Yuling Shi, Zhensu Sun, Junsen Dong, Chengcheng Wan, David Lo, Xiaodong Gu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yuling Shi 1†^{1\dagger}, Zhensu Sun 2†^{2\dagger}, Junsen Dong 1^{1}, Chengcheng Wan 3,4^{3,4}, David Lo 2^{2}, Xiaodong Gu 1^{1}

1^{1}Shanghai Jiao Tong University, Shanghai, China 2^{2}Singapore Management University, Singapore

3^{3}East China Normal University, Shanghai, China 4^{4}Shanghai Innovation Institute, Shanghai, China

{yuling.shi, 171263615, xiaodong.gu}@sjtu.edu.cn {zssun, davidlo}@smu.edu.sg ccwan@sei.ecnu.edu.cn

Abstract—Evaluating LLM agents is essential for guiding their development, yet it has grown prohibitively expensive: a single pass of a frontier model over an agentic benchmark can cost hundreds to thousands of dollars, a price paid repeatedly across iterative development cycles. Prior efforts, centered on benchmark distillation, reduce the number of evaluation tasks but leave the cost of executing each retained task untouched. In this work, we introduce early outcome prediction, a complementary axis of efficiency that instead cuts cost within each task. Our key insight is that an agent's final outcome is often evident from its intermediate behavior well before execution completes. We instantiate this idea in EarlyEval, a lightweight framework that trains a pair of LightGBM success and failure classifiers over behavioral, textual, and reference-solution features, and halts an agent run the moment either classifier crosses a calibrated confidence threshold, adding negligible per-step overhead. Across three benchmarks, SWE-bench Verified, TerminalBench, and Toolathlon, EarlyEval can eliminate 13%–26% of agent steps and up to 44.1% input tokens and 29.4% output tokens at 89%–97% prediction accuracy, while perturbing per-agent resolve rates by only one to two percentage points on average.

I. INTRODUCTION

Evaluation is fundamental to the development of LLM agents [1], [2], [3]. It is not only a final verdict on whether a system performs well, but also a compass that guides the design of new ones, telling researchers and developers which changes help and which hurt [2], [4], [5], [6]. In practice this guidance is consumed repeatedly: a single development cycle may involve dozens of iterative benchmark runs as a team tunes prompts, adjusts scaffolding, and finetunes model variants [4].

However, the cost of running an agentic benchmark has risen sharply [4], [7]. On SWE-bench Verified [8], a single evaluation pass of a frontier model costs several hundred dollars, and benchmarks with longer rollouts run several times higher, reaching into the thousands of dollars per pass [9]. Costs of this magnitude pose a real resource barrier for agent development, putting frequent evaluation out of reach for many practitioners and slowing the iteration loop that drives progress [4].

To mitigate these costs, prior work has predominantly focused on benchmark distillation [7], which downsizes a benchmark into a smaller subset of representative tasks. Common approaches include selecting a handful of anchor tasks [10]

Figure

Fig. 1: Comparison between full evaluation and EarlyEval.

or constructing a compact proxy test set whose scores closely track those of the full suite [11]. While effective, this line of work exclusively reduces the number of tasks within a benchmark [7], [10], [11], leaving the per-task execution cost untouched. Consequently, the remaining tasks that must be retained remain as computationally and financially expensive to execute as before [4].

In this work, we approach the problem from a different angle. It is driven by a key insight: for most evaluation tasks, an agent does not need to run to completion for its final score to be accurately inferred (Figure 1). The ultimate outcome is often highly predictable from the agent's intermediate behavior long before the final answer is generated. Sometimes it is legible against a reference solution, i.e., the moment an agent applies the correct one-line edit, task resolution can be confidently anticipated, rendering subsequent steps such as running the test suite redundant. But such signals are frequently intrinsic to the trajectory itself, requiring no reference: an agent that repeatedly retries the same edit against an unchanging error message has, in effect, already announced its eventual failure. We exploit both, and, as our ablations show, lean primarily on these reference-free behavioral signals, allowing it to operate even on benchmarks that release no gold solutions.

Grounded in this observation, we propose EarlyEval, an ef-

†^{\dagger} Equal contribution.

Corresponding author.

fective paradigm that infers an agent's final evaluation outcome as soon as its behavioral trajectory exhibits a strong indicator of success or failure. Crucially, these indicators can be learned from the historical behavior of other agents on the same benchmark. Such historical trajectories are readily available in practice: agentic benchmarks are typically released alongside various runs, and their public leaderboards accumulate large pools of outcome-labeled submissions over time. Specifically, we collect the full trajectories of a diverse set of agents on the target benchmark, labeled with their ground-truth outcomes, and train two classifiers over the behavior accumulated up to any given step: a success classifier that triggers when a task can be confidently declared resolved, and a failure classifier that triggers when failure becomes highly certain. To evaluate a new agent, we apply both classifiers at each step of its execution. The moment either classifier crosses a predefined confidence threshold, we terminate the run and record the predicted outcome; if both remain below the threshold, the agent is permitted to proceed. The thresholds are fixed in advance and expose a tunable knob that trades off how early we stop against how reliably the predicted outcome matches the true one.

To evaluate the effectiveness of EarlyEval, we conduct experiments on three agentic benchmarks: SWE-bench Verified [8], TerminalBench [12], and Toolathlon [13], which span software issue resolution, shell automation, and tool use. Across these benchmarks we collect more than 21,000 outcome-labeled trajectories from 16, 37, and 22 distinct agents, where each agent is a scaffolding harness paired with a base LLM. To ensure EarlyEval judges an agent it has never seen, we adopt a leave-one-agent-out protocol that holds out one agent at a time and trains only on the remaining ones. The experimental results show that, on SWE-bench Verified, EarlyEval can halt roughly 35% of runs at 95% prediction accuracy, eliminating 26% of execution steps along with 33% of input and 29% of output tokens, while shifting each agent's measured resolve rate by only 1.1 percentage points on average. Furthermore, this early-stopped evaluation can largely reproduce the ranking of the full-run leaderboard, attaining a Spearman rank correlation of ρ=0.991\rho = 0.991 over all 16 agents, with only three adjacently ranked agents shifting position by a single rank. The same conclusions hold on TerminalBench and Toolathlon: even under the strict leakage controls, EarlyEval saves 13% to 25% of execution steps at 89% to 97% accuracy, keeps the average resolve-rate deviation within roughly two percentage points, and preserves rankings at ρ≥0.959\rho \geq 0.959.

In summary, we make the following contributions:

• We propose the concept of early outcome prediction, a new dimension of evaluation efficiency that reduces computational costs within individual tasks. By terminating an agent's rollout the moment its outcome becomes predictable, this approach complements, rather than replaces, existing benchmark distillation methods.

• We present EarlyEval, a lightweight and plug-and-play framework that trains LightGBM [14] success and failure classifiers over a rich feature space spanning behavioral trajectories, textual context, and reference-solution metadata. Coupled with a calibrated threshold-based halting rule, EarlyEval introduces negligible per-step inference overhead.

  • We conduct rigorous leave-one-agent-out evaluations across three diverse agentic benchmarks: SWE-bench Verified, TerminalBench, and Toolathlon. The results demonstrate that EarlyEval substantially reduces execution steps and token consumption while robustly preserving original per-agent resolve rates and overall leaderboard rankings.

References (44)