2026-11-17 · 专家 · 机器学习 · 数据科学

Accelerate Bench: Evaluating Agents for Application-Level Program Optimization

这篇论文介绍了Accelerate Bench,一个用于评估应用级程序优化的基准,通过在32个CPU优化任务上评估16个编码代理,分析了代理优化应用程序的方式及其对性能的影响。

更新于 2026-11-23。作者:Bowen Liu、Yuhan Li、Nuo Chen、Weile Luo、Miao Peng、Qintong Zhang、Qifan Zhang、Jia Li、Ziqi Gao、Lydell Huang。

中文摘要

应用优化需要编码代理发现有用的更改,并在整个程序中协调这些更改,同时保持所需的计算。我们引入了Accelerate Bench,这是一个从科学应用和超级计算竞赛中改编的32个CPU优化任务的基准。每个任务都提供了一个工作程序,并指定了工作负载、正确性要求、时间边界和允许的编辑,让代理选择在哪里以及如何进行优化。公开测试支持迭代开发,而一个独立的验证器则对最终提交进行评分。在基准版本1.1中,我们评估了16个编码代理,每个代理都配对了一个模型和一个工具。它们的Score@1范围从25.5%到67.4%。大部分程序都是正确的,速度提升的大小将它们区分开来:前两个代理在22个或更多的32个任务上至少快2倍,而其他十四个代理在8到17个任务上达到2倍,但将412个正确结果中的125个留在了1.25倍以下。受控的重放显示了在整个应用程序中进行协调的重要性:相同的源代码运行速度在0.29倍到2.12倍之间,这仅取决于构建和运行时设置,而一个代码更改的价值取决于另一个,可能是1.01倍或6.4倍。Accelerate Bench将可执行的工作负载与代理的程序和轨迹配对,以评估它们的收益以及背后的过程。

英文摘要

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 optimize. Public testing supports iterative development, and a separate verifier scores the final submission. On benchmark version 1.1, we evaluate 16 coding agents, each pairing a model with a harness. Their Score@1 ranges from 25.5% to 67.4%. Most of their programs are correct, and the size of the speedup separates them: the two leading agents are at least 2x faster on 22 or more of the 32 tasks, while the other fourteen reach 2x on 8 to 17 and leave 125 of their 412 correct outcomes below 1.25x. Controlled replays show why coordination across an application matters: identical source code runs between 0.29x and 2.12x depending only on build and runtime settings, and one code change is worth 1.01x or 6.4x depending on another. Accelerate Bench pairs executable workloads with agents' programs and trajectories to evaluate both their gains and the process behind them.

解读

一句话总结

这篇论文介绍了Accelerate Bench,一个用于评估应用级程序优化的基准,通过在32个CPU优化任务上评估16个编码代理,分析了代理优化应用程序的方式及其对性能的影响。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源