HPCAgent-Bench: A Framework for Sound Benchmarking of Code-Optimizing Agents, Harnesses, and Skills
summary
The gist
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…
In short
HPCAgent-Bench is a comprehensive benchmark designed to reliably measure how well coding agents optimize code across various tasks and hardware. It tests agents' performance, including speedup and cost, by tracking specific interventions like adding tools or skills. This provides a transparent way to evaluate the true impact of agentic optimizations.
Key concepts
- Intervention Efficacy
- This metric measures how much an agent's success rate, speedup, and token cost change after making a specific modification, such as adding a new tool or skill. It helps researchers determine if an added capability actually leads to better performance or efficiency.
- Transparent Cost Metrics
- The framework reports every token count with explicit weightings (billed, effective, total). This allows users to directly compare the economic impact of different agent optimizations, showing how much speedup is achieved for a given cost.
- Validity Checks
- These are rigorous tests ensuring result trust. They use external judges and secret seeds to check if agents are cheating by hard-coding answers or reporting fabricated times, guaranteeing that reported speedups are genuine.
- Portability Testing
- This verifies if an agent's optimization skills work on different hardware. By running the final answer on a second machine, the benchmark confirms that improvements aren't tied to specific devices, showing real-world applicability.
Terminology used across episodes
This episode discusses
- HPCAgent-Bench: A Framework for Sound Benchmarking of Code-Optimizing Agents, Harnesses, and Skills · Paper Radio
- AlphaEvolve: A coding agent for scientific and algorithmic discovery
- PTXBench: Benchmarking and Adapting LLMs for GPU Kernel Optimization with Architecture-specific PTX · Paper Radio
- KernelGenBench: Can LLMs and Agents Write Efficient Kernels Across Operator Sources and Hardware Platforms? · Paper Radio
- SWE-Perf: Can Language Models Optimize Code Performance on Real-World Repositories?
- Rethinking Code Performance Benchmarks for LLMs
- Are Performance-Optimization Benchmarks Reliably Measuring Coding Agents?
- Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization
- KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?
- MultiKernelBench: A Multi-Platform Benchmark for Kernel Generation
- SWE-fficiency: Can Language Models Optimize Real-World Repositories on Real Workloads?
- CUDAHercules: Benchmarking Hardware-Aware Expert-level CUDA Optimization for LLMs · Paper Radio
- PerfCodeBench: Benchmarking LLMs for System-Level High-Performance Code Optimization
- FormulaCode: Evaluating Agentic Optimization on Large Codebases
- CommBench: Can LLMs Write Correct and Efficient GPU Communication Code?
- CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generation
- Evaluating Language Models for Efficient Code Generation
- SWE-Effi: Re-Evaluating Software AI Agent System Effectiveness Under Resource Constraints
- Claw-SWE-Bench: A Benchmark for Evaluating OpenClaw-style Agent Harnesses on Coding Tasks · Paper Radio
- NatureBench: Can Coding Agents Match the Published SOTA of Nature-Family Papers?
The paper
HPCAgent-Bench: A Framework for Sound Benchmarking of Code-Optimizing Agents, Harnesses, and Skills · Read on arXiv
Department of Computer Science, ETH Zurich, Switzerland · Institute of High Performance Computing (IHPC), A*STAR, Singapore
Transcript
Introduction to the show: ident: Computer Science. The day in computer science: software, systems and theory on arXiv.
Tom: We're looking at the paper: "HPCAgent-Bench: A Framework for Sound Benchmarking of Code-Optimizing Agents, Harnesses, and Skills".
Title and authors: Tom: We started with the title of this work, "HPCAgent-Bench: A Framework for Sound Benchmarking of Code-Optimizing Agents, Harnesses, and Skills," which really tells you what we're building here.
Jane: It points out that the whole point is to build a sound way to benchmark these agents and their tools across different settings so we can actually understand the results.
Lu: The authors are a group from ETH Zurich and A*STAR Singapore, involving ten researchers who cover model training, HPC, and high performance computing areas.
Meng: That’s a lot of expertise packed into one framework; I'm curious how they balanced the needs of training models with the needs of running actual code optimizations.
Lalam: The authors are focused on creating a tool that lets us break down agentic optimization into measurable parts instead of just getting one big, confusing result.
Tom: So they are aiming to provide a transparent way to see how much each part—the agent, the tools—is actually helping the performance and what that effort costs.
Jane: It’s about moving away from opaque testing methods where you can't tell if a speedup is real optimization or just some lucky guess by the agent.
Lu: They are establishing a way to test these agents across different hardware and programming models, which is crucial because if it only works on one setup, it doesn't really mean anything for real-world application.
The paper's summary: Tom: To go into the summary of "HPCAgent-Bench: A Framework for Sound Benchmarking of Code-Optimizing Agents, Harnesses, and Skills," they introduce a comprehensive benchmark covering everything from loop kernels on CPUs to scientific codes and distributed machine learning models running on GPUs.
Jane: The core idea is that previous benchmarks were too narrow because they fix one accelerator or programming model so they can't isolate what each component—the agent, the tools, the harness—is actually contributing to the performance gain.
Lu: To achieve this, they specify each kernel once in NumPy, then derive C and Fortran references for it and let submissions come through a shared C ABI or Python interface before running them on CPUs or GPUs on one node or multiple nodes.
Meng: That whole setup is orchestrated by an orchestrator that schedules episodes which means you can choose the tasks and lock in the optimizer, letting you decide between an LLM agent with its tools and skills, or a framework like Pluto to see how those different architectures perform against each other.
Lalam: The corpus they use has six hundred eighty nine representative kernels drawn from three tracks: loop-level reasoning challenges, scientific computing kernels from HPC codes, and machine learning models.
The paper's improvements: Tom: The authors point out several ways they improved this framework, starting with intervention efficacy scoring which lets you attribute changes in success rate, speedup, and token count to one intervention like adding a tool or skill.
Jane: That’s a big deal because it moves us beyond just seeing a single speedup number; we can now determine if adding that new skill actually improves the agent's optimization capabilities or if it just adds overhead.
Lu: They also state they provide transparent cost metrics by releasing every token count under explicit weightings like billed, billed, and total, which standardizes how we measure the economic impact of agentic optimization.
Meng: That standardization of costs is what makes it viable for real engineering use. When I look at my pipeline, I need to know if the token cost is worth the potential performance gain we're seeing before I commit resources to testing that agent.
Lalam: They also implemented robust validity checks using external judges that check correctness on hidden fuzzed inputs and timing submissions against a secret seed, which prevents agents from reporting their own times or cheating.
Tom: And they confirmed portability testing by grading the final answer on a second machine, showing that ninety-three to ninety-nine percent of answers without device-dependent code remain correct across those setups.
Jane: Plus, they have controlled comparison tests where you fix all other aspects and compare speedup and token count with an unchanged setup to isolate the effect of a single change, like a particular skill packet or harness.
Lu: That controlled comparison approach lets you systematically identify which component—like a skill packet or harness—is driving performance improvements by fixing everything else in the run.
Conclusion: Tom: So wrapping up the paper "HPCAgent-Bench: A Framework for Sound Benchmarking of Code-Optimizing Agents, Harnesses, and Skills," it provides a way to make agentic optimization measurable end to end across kernels, architectures, interventions, and distributed systems.
Jane: The implication is that we can finally get transparent cost metrics and know if adding a tool actually improves the agent's performance or just adds complexity. We also have much better confidence in the results because of those validity checks and portability tests.
Lu: It gives us a general benchmark that runs the same kernels in several languages and on several devices, extending past single-node HPC, which makes it more applicable to real-world scenarios beyond a single lab setup.
Meng: For me, this means having a systematic way to test deployment readiness before we even think about putting an agent into production where scale and cost are major concerns.
Lalam: So the HPCAgent-Bench framework is released under github at spcl slash HPCAgent-Bench, with all material released in one zip file, which includes the benchmark at the release tagged paper experiments and a reproducibility folder with every judge observation.
Tom: It’s a comprehensive way to measure performance critical code optimization reliably by checking five properties end to end: across kernels, architectures, interventions, and distributed systems. That's what we're hearing about this paper on HPCAgent-Bench.
Jane: It’s a powerful tool for anyone working with AI agents trying to make sure their tools are actually helping the optimization process in a measurable way.
More episodes
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2607.26500-Multi-Decoder OneRec: Controllable Generative Retrieval for Multi-Objective Industrial Recommendation
- 2607.27976-Load balancing in parallel infinite-server queues with action delay via phase representation
- 2607.28574-Finite Pinwheel Covering
- 2608.07026-PyFlow: An Inter-procedural Static Analysis Framework for Python
- 2608.09305-Dilatations of categories, via their lean formalization
- 2608.16406-SATisfying the High School Identities but not Wilkie's Identity
- 2609.02062-SPAR: Enhancing Industrial-Scale Generative POI Recommendation via Real-World Spatial Perception
- 2609.03661-Point&Spawn: Mid-Air Reference-Free Object Instantiation Using Gaze and Hand Gestures in Extended Reality