加速基准:评估用于应用级程序优化的智能体

·

研究论文 · 2026/11/17

应用优化要求编码智能体在保持所需计算的同时,发现有用的更改并在整个程序中协调这些更改。我们推出了 Accelerate Bench,这是一个包含 32 个 CPU 优化任务的基准测试,任务改编自科学应用和超级计算竞赛。每个任务提供一个可运行的程序,并指定工作负载、正确性要求、时间限制和允许的编辑,让智能体选择优化位置和方式。公共测试支持迭代开发,单独的验证器对最终提交进行评分。在基准版本 1.1 上,我们评估了 16 个编码智能体,每个智能体将一个模型与一个测试框架配对。它们的 Score@1 范围从 25.5% 到 67.4%。大多数程序是正确的,加速比的大小将它们区分开来:两个领先的智能体在 32 个任务中的至少 22 个上实现了至少 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.

阅读原文

参与讨论