EarlyEval: Cheaper Agent Evaluation via Early Outcome Prediction
Problem Statement
Running a frontier agent once over an agentic benchmark such as SWE-bench can cost hundreds to thousands of dollars, and teams pay that cost again in every development iteration. Prior work on benchmark distillation reduces how many tasks are run but does nothing about the cost of executing each remaining task. That leaves an efficiency axis within each task unaddressed.
Key Novelty
- Introduces early outcome prediction, a new axis of evaluation efficiency that saves cost within each task and complements task-subset selection or distillation.
- Pairs separate LightGBM success and failure classifiers with calibrated confidence thresholds, so a run halts as soon as either outcome becomes sufficiently certain.
- Builds a feature set combining behavioral signals (step patterns, tool use), textual signals from the trajectory, and reference-solution features, with negligible per-step overhead.
Evaluation Highlights
- Across SWE-bench Verified, TerminalBench and Toolathlon, it eliminates 13%-26% of agent steps and saves up to 44.1% of input tokens and 29.4% of output tokens.
- It reaches 89%-97% early-prediction accuracy while shifting per-agent resolve rates by only about 1-2 percentage points on average.
Signal Assessment
Methodology
- Collect agent trajectories on target benchmarks and label each with its final outcome (resolved or not).
- Extract per-step features: behavioral (actions, tool calls, step counts, error patterns), textual (content of agent outputs and observations), and reference-solution features (e.g., similarity of the agent's edits or state to the gold solution).
- Train two LightGBM classifiers, one predicting success and one predicting failure, from partial-trajectory features.
- Calibrate confidence thresholds on held-out data to trade off cost savings against prediction accuracy.
- During evaluation, run both classifiers after each step and halt the agent once either crosses its threshold, recording the predicted outcome.
- Measure step and token savings, prediction accuracy, and deviation of aggregate resolve rates from full runs.
System Components
LightGBM model that estimates from the partial trajectory whether the agent will eventually solve the task; triggers early termination with a 'success' label when confident.
LightGBM model that detects trajectories likely to fail (e.g., loops, repeated errors, drift from the solution); triggers early termination with a 'failure' label.
Structural signals from the agent's actions such as step count, tool usage patterns, repetition and error frequency.
Signals from the content of the agent's reasoning, outputs and environment observations.
Measures of how closely the agent's current progress aligns with the known gold solution available in benchmark settings.
Sets confidence cutoffs for each classifier to balance computational savings against accuracy and resolve-rate fidelity.
Results
| Metric/Benchmark | Baseline | This Paper | Delta |
|---|---|---|---|
| Agent steps executed (SWE-bench Verified, TerminalBench, Toolathlon) | 100% (full runs) | 74%-87% | -13% to -26% |
| Input tokens consumed | 100% (full runs) | As low as 55.9% | Up to -44.1% |
| Output tokens consumed | 100% (full runs) | As low as 70.6% | Up to -29.4% |
| Outcome prediction accuracy | N/A (ground truth from full run) | 89%-97% | 3%-11% misclassified |
| Per-agent resolve rate deviation | 0 pp (full evaluation) | ~1-2 pp on average | Small fidelity loss |
Key Takeaways
- Agent evaluation pipelines can add cheap early-stopping predictors to cut token costs by up to ~44%, with savings compounding across repeated development cycles.
- Early outcome prediction is orthogonal to benchmark distillation. Combining a reduced task set with in-task early termination should yield multiplicative savings.
- Using reference-solution features ties the approach to benchmarks with gold solutions, so it works best for offline evaluation rather than open-ended deployment.
- A 1-2 pp resolve-rate perturbation is fine for iterative development and relative comparisons, but may be too large when ranking closely matched frontier models. Use full runs for final leaderboard numbers.
- Failure classifiers that catch looping or stuck trajectories could also be reused at deployment time as runtime guards to abort unproductive agent runs.
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.