← 研踪 PaperTrailarXiv:2610.20673 · v2
HPCAgent-Bench: A Framework for Sound Benchmarking of Code-Optimizing Agents, Harnesses, and Skills
首次提交 2026-10-14 21:22
版本更新 2026-11-23 21:02
雷达观测 2026-11-24 14:49
摘要
Coding agents are increasingly used to optimize code, but existing benchmarks fix one accelerator, programming model, or harness, so they cannot isolate what each component contributes or show whether added skills and tools repay their cost. We present HPCAgent-Bench with 722 kernels in three tracks: loop-level optimization challenges, kernels extracted from HPC codes, and machine-learning models. The framework specifies each kernel once in NumPy, derives C and Fortran references, accepts submissions through a common C ABI or Python interface, and runs them on CPUs or GPUs, on one or multiple nodes. An external judge checks correctness on hidden fuzzed inputs and times each submission, closing the paths agents use to exploit the testing system. We introduce a reporting protocol, intervention efficacy, which reports an intervention, such as adding a tool, through paired runs on speedup, success rate, and cost, and a metric, weighted token cost, which reports input, cached-input, and output tokens under explicit weights. Agents reach up to speedup over automatic parallelizers, and their optimizations transfer to another machine: 93--99% of answers without device-specific code remain correct, and per-kernel speedups keep a rank correlation of . Of 48 intervention comparisons, 6 change speed and 9 change token cost significantly, and 5 leave speed equivalent. Because token weighting decides whether a saving is significant, we state the weights and release every token count as a standard for cost reporting. HPCAgent-Bench is a broad, hardened benchmark for the sound evaluation of agentic optimization, with transparent cost metrics.
作者备注:23 pages, 9 figures, 21 tables
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v2 · 2026-11-23 21:02 · 最新观测版本
HPCAgent-Bench: A Framework for Sound Benchmarking of Code-Optimizing Agents, Harnesses, and Skills
Coding agents are increasingly used to optimize code, but existing benchmarks fix one accelerator, programming model, or harness, so they cannot isolate what each component contributes or show whether added skills and tools repay their cost. We present HPCAgent-Bench with 722 kernels in three tracks: loop-level optimization challenges, kernels extracted from HPC codes, and machine-learning models. The framework specifies each kernel once in NumPy, derives C and Fortran references, accepts submissions through a common C ABI or Python interface, and runs them on CPUs or GPUs, on one or multiple nodes. An external judge checks correctness on hidden fuzzed inputs and times each submission, closing the paths agents use to exploit the testing system. We introduce a reporting protocol, intervention efficacy, which reports an intervention, such as adding a tool, through paired runs on speedup, success rate, and cost, and a metric, weighted token cost, which reports input, cached-input, and output tokens under explicit weights. Agents reach up to speedup over automatic parallelizers, and their optimizations transfer to another machine: 93--99% of answers without device-specific code remain correct, and per-kernel speedups keep a rank correlation of . Of 48 intervention comparisons, 6 change speed and 9 change token cost significantly, and 5 leave speed equivalent. Because token weighting decides whether a saving is significant, we state the weights and release every token count as a standard for cost reporting. HPCAgent-Bench is a broad, hardened benchmark for the sound evaluation of agentic optimization, with transparent cost metrics.
查看此版本解读 →查看此版本原文 ↗