Papers
Accelerate Bench: Evaluating Agents for Application-Level Program Optimization
Accelerate Bench supplies 32 verifier-scored CPU optimization tasks, revealing a 25.5–67.4% agent score range and a 2x-speedup bar on 22+ tasks.

- arXiv
- 2611.20882 · Preprint · not peer-reviewed
- Published
- 2026-11-16
- Authors
- Bowen Liu, Yuhan Li, Nuo Chen, Weile Luo, Miao Peng, Qintong Zhang, Qifan Zhang, Jia Li, Ziqi Gao, Lydell Huang
In plain words
Coding agents can edit code, but application-level optimization is harder than fixing a local function: an agent must find where runtime is lost, decide which layer of the software stack to change, and verify that the whole program is still correct and faster.
AI summary
Overview
Research area: AI coding agents for software performance engineering and high-performance computing (HPC).
Technical level: Intermediate. The benchmark design and scoring are accessible, but familiarity with profiling, compiler flags, and parallel programming helps.
Scope: This paper introduces Accelerate Bench, a 32-task CPU benchmark that measures whether coding agents can make complete scientific applications run faster while preserving required outputs and behavior, and analyzes how those agents optimize.
What This Paper Is About
Coding agents can edit code, but application-level optimization is harder than fixing a local function: an agent must find where runtime is lost, decide which layer of the software stack to change, and verify that the whole program is still correct and faster. Accelerate Bench defines tasks by a working application plus the workload that must become faster, without providing a known optimization patch, and scores agents on end-to-end runtime savings under a private verifier. The paper evaluates 16 agents and also studies the process behind their results using 480 analyzed runs and controlled replays.
Key Contributions
-
A workload-defined optimization benchmark. Each of the 32 tasks fixes the computation, complete outputs, stateful checks such as checkpoint recovery, and timing boundaries. Public tests support iteration, while a separate private verifier scores the final submission. In 14 planned controls on two tasks, every valid variant passes and all eight invalid variants fail the check they violate.
-
An evaluation of 16 coding agents on benchmark v1.1. Correctness alone does not separate agents: each is correct on 26 to 32 of the 32 tasks, while Score@1 ranges from 25.5% to 67.4% and the number of tasks with at least a 2× speedup ranges from 8 to 17 for the fourteen non-leading agents, with the two leading agents at 22 or more.
-
An analysis of how agents optimize. From 480 runs of five agents on benchmark v1.0 and controlled replays of their programs, the authors find that agents mostly change the computation and rarely the build, even though build and runtime settings alone move one unchanged GROMACS program between 0.29× and 2.12×.
-
Evidence that optimization choices interact. One change in a QiboTN program is worth 1.01× on its own and 6.4× once another change is in place, showing that gains depend on the surrounding code and configuration.
Main Findings
-
Two Claude agents lead, but single runs do not order most others. Claude Sonnet 5.5 reaches a Score@1 of 67.4% and Claude Opus 5.5 reaches 59.4%, at least 10.2 points above GPT-6.1 Sol at 49.2%. Paired task-bootstrap intervals put Claude Sonnet 5.5 at least 13.4 points ahead of every non-Claude agent and Claude Opus 5.5 0.1–18.2 points ahead of GPT-6.1 Sol, but no two neighbors below them are separated.
-
Three Opus runs were stopped by provider safety classifiers. The runs on Graph sparsification, PRESTO, and VPIC were flagged as cybersecurity or biology content and count as failures. On its other 29 tasks, Claude Opus 5.5 scores 65.6%. Its geometric mean speedup, 3.94, is slightly above Claude Sonnet 5.5's 3.83 despite the lower Score@1.
-
Most programs are correct; speedup size separates agents. Of 512 agent–task outcomes, 472 pass correctness checks and 346 of those are also at least 1.25× faster. GPT-6.1 Terra is correct on all 32 tasks but scores 37.9%, below Kimi K3 at 42.5% with 28 correct tasks. The two leading agents are at least 2× faster on 22 or more tasks; the other fourteen reach 2× on 8 to 17 tasks and leave 125 of their 412 correct outcomes below 1.25×.
-
Timing calibration is tight. The unmodified programs of all 32 tasks, each judged once by the private verifier, measure between 0.923× and 1.017× (median 0.999×). Replays of unchanged source on three tasks measure within 2% of 1×. Using a fixed configuration-only baseline lowers each agent's Score@1 by 0.5–2.4 points.
-
Agents mostly change computation, rarely the build. Computation or reuse changes appear in 225 of 476 labeled runs across 29 tasks, and parallelism or vectorization in 132 runs across 22 tasks. Compiler and build tuning appears in only 40 runs.
-
Parallelism and vectorization correlate with the best outcomes. Of runs using them, 62.9% are correct and at least 1.25× faster, the highest rate among six technique categories, compared with 48.0% for computation or reuse changes. Both keep correctness near 88%. Adjusted for task and model, mean reward is 8.0 percentage points higher with computation or reuse changes (27 tasks; 95% interval [1.4, 15.9]) and 8.9 points higher with parallelism or vectorization (19 tasks; [1.9, 17.0]).
-
More testing does not guarantee success. Every agent's share of test calls rises from the early to the late third of its trajectory, but Hy3 has the highest late-stage share at 21.7% and reaches 1.25× in only 16 of 96 runs, the fewest.
-
Measuring performance helps, but the effect is uncertain after adjustment. Of 480 runs, 61 contain no detected timing or profiling command (P0), 251 contain timing without profiling (P1), and 168 contain profiling (P2). The fractions correct and at least 1.25× faster are 11.5%, 37.1%, and 44.6%. After adjusting for task and model, the P1–P0 reward difference is +4.4 percentage points with a 95% interval of [−4.0, 12.8].
-
Iteration helps unevenly. Across 31 version histories, the last correct candidate is more than 1.05× faster than the first in 19. Of 70 consecutive correct-candidate pairs with different source, 36 are faster than their predecessor, but only 26 set a new best. Restore or select operations appear in 206 of 480 trajectories, and 93.0% of the 583 turns containing them cite earlier feedback.
-
Identical source can run very differently under different settings. One GROMACS submission changes only build and runtime configuration. Replayed under four correct settings, it ranges from 0.289× to 2.123×: AVX2 vectorization reaches 2.123× with four threads but 0.709× with one.
-
Code changes can depend strongly on each other. In a DeepSeek-V4-Flash QiboTN program, deferred loading of tensor libraries improves runtime by only 1.01× alone, but by 6.3–6.4× once broader dispatch to a fast exact simulator is enabled. Together those two changes make the program 9.6–9.7× faster; reuse of a computed state adds nothing measurable.
-
Layered dependencies are common. A reviewer confirms a dependency in 34 of 40 flagged and 15 of 40 unflagged trajectories. Weighting the two strata, an estimated 72% of the 480 runs (95% interval 63–80%) show tool output where a change's effect or correctness depended on build settings, runtime settings, or the executed code path; in 52% (41–63%) the dependency concerns an optimization's speed or correctness.
-
Optimizations only count if the application executes them. In an HPL run, DeepSeek-V4-Flash optimizes
HPL_dgemm.c, then finds by comparing binaries that the executable is unchanged because the application callscblas_dgemm, and moves the optimization to that entry point.
Methodology in Plain English
The authors assembled 32 CPU optimization tasks from mature scientific applications used in six supercomputing competitions: ASC, PAC, the ACM-China International Parallel Computing Challenge, SCC at SC and ISC, and IndySCC. Twenty-nine tasks build on a competition's application, from full source trees to selected solver subtrees; three are workflows written around a competition's optimization theme. Competition workloads that normally run for hours on multi-node clusters were scaled down to single-node environments with four to eight cores and at most 32 GiB of memory, while retaining the main computational stages and numerical correctness criteria.
Each task provides a working baseline program, build and execution scripts, instructions, and a public testing interface in a container with fixed CPU and memory limits. During a run, an agent can repeatedly call the public test, which rebuilds the program, runs it on typically two public inputs, and checks outputs, runtime, and sometimes the baseline runtime or speedup. After the run, a separate private verifier rebuilds the submitted files and runs them on typically four private inputs, often larger or freshly randomized, and only the verifier's checks and repeated timings set the reward.
The reward is the fraction of baseline runtime saved: a correct program gets C_t(a) × max(0, 1 − T_t(a)/B_t), so a correct 2× speedup earns 0.5, and a correct but no-faster program earns zero. Score@1 is the mean reward across the 32 equally weighted tasks. The paper also reports the fraction of tasks correct and at least τ times faster for τ = 1.25 and 2, corresponding to runtime savings of at least 20% and 50%, and a geometric mean speedup where incorrect or unaccelerated outcomes count as 1×.
Each agent receives eight hours per task, and every agent runs once per task in v1.1, with the final program scored on the same machine: two AMD EPYC 9K84 processors, with the private sandbox pinned to the four or eight physical cores of one NUMA node. For the process analysis, five agents run three times on each of the 32 v1.0 tasks at high reasoning effort, giving 480 runs. GPT-5.6 Luna labels optimization techniques in 476 final submissions, and DeepSeek-V4.1-Flash annotates every tool call's action, reason, and cited feedback. The authors also replay submitted programs under controlled settings to isolate how build configuration, runtime configuration, and individual code changes affect runtime.
Why This Matters
Impact on research. Existing optimization benchmarks such as SWE-Perf, GSO, and SWE-fficiency anchor evaluation around known human optimization commits or pull requests. Accelerate Bench studies a complementary setting: the required behavior and workload are specified, but no known patch determines where or how an agent should intervene. It also pairs executable workloads with agents' programs and trajectories, so researchers can study both the gains and the process behind them. The interaction results challenge the assumption that an optimization's value can be judged in isolation.
Real-world applications:
-
Scientific simulation: Tasks such as SU2 airfoil flow, GROMACS molecular dynamics, and SIESTA illustrate how agents might accelerate established research codes without changing their numerical results.
-
High-performance computing operations: The benchmark targets compiler flags, thread counts, vectorization, and library choices, which are routine knobs in production HPC environments.
-
AI-assisted software engineering: The results show why correctness-only evaluation is insufficient for coding agents and why end-to-end timing under realistic constraints matters.
-
Workflows with state and recovery: Tasks such as paged language-model generation time model loading, decoding, checkpoint saving, and recovery in a new process, reflecting practical pipeline concerns beyond kernel speed.
Industry relevance. Organizations deploying coding agents need to know whether those agents produce real end-to-end gains rather than local edits that do not affect the full workflow. The finding that an estimated 52% of analyzed runs encounter dependencies affecting an optimization's speed or correctness is directly relevant to tooling: agents need to inspect build systems, runtime configuration, and actual execution paths, not just source files. The benchmark's public-test/private-verifier split also offers a template for evaluating agents without letting them overfit to visible checks.
Future Directions
-
Separate model capability from harness behavior. Each score combines a model with its harness, inference compute, and execution conditions. The authors note that separating these factors and measuring sensitivity to hardware placement are natural extensions supported by the retained programs and containers.
-
Evaluate at other scales and on other hardware. Results are limited to CPU workflows at the specified scales and resource budgets. Performance at larger scales, on different hardware, and in production environments requires separate evaluation, and some speedups exploit structure specific to the provided workload, such as the HPCG-derived operator admitting a direct solver.
-
Increase repeated runs and statistical power. Table 1 reports one run per agent, and repeated runs cover only GPT-6 Astra and Hy4-Preview, whose standard deviations are 2.5 and 4.4 points. More repetitions would help order agents that are only a few points apart.
-
Improve agent behavior around measurement and layered dependencies. Many runs do not profile, and most encounter dependencies across build settings, runtime settings, and executed code paths. Understanding how to make agents test, profile, and reason about these interactions more reliably is an open question the benchmark is designed to expose.
Target Audience
This paper is most useful to researchers building and evaluating coding agents, benchmark designers interested in performance rather than only correctness, and HPC or scientific-software engineers who want to understand where automated optimization succeeds and fails. It is also relevant to practitioners deploying agents for software performance work, and to readers interested in how agents coordinate changes across source code, build systems, and runtime configuration.
Authors’ abstract
Application optimization requires coding agents to discover useful changes and coordinate them across a complete program while preserving the required computation. We introduce Accelerate Bench, a benchmark of 32 CPU optimization tasks adapted from scientific applications and supercomputing competitions. Each task provides a working program and specifies the workload, correctness requirements, timing boundaries, and permitted edits, leaving agents to choose where and how to…
The full abstract on arXivRelated papers
- Scaling the Scaling Logic: Agentic Meta-Synthesis of Logic Reasoning 2026-01-23 · cs.AI · Also by Bowen Liu, Jia Li
- VeriWorld: A Verifiable Visual SWE-Bench for Spatial Reasoning in 3D Environments 2026-11-23 · cs.AI · Also by Nuo Chen
- Tools Need Not Speak in Text: Latent Context Compression for Agents 2026-11-04 · cs.AI · Also by Jia Li
- OSReward: Instituting Standardized Evaluation for Cross-Platform Computer-Use Reward Models 2026-07-30 · cs.AI · Also by Nuo Chen
- BrowseComp-$V^3$: A Visual, Vertical, and Verifiable Benchmark for Multimodal Browsing Agents 2026-02-13 · cs.AI · Also by Qintong Zhang