GPUPhysBench: Benchmarking Coding Agents for Correct and Efficient GPU Physics Simulation
Yuchen Sun, Jinjin He, Sinan Wang, Bo Zhu
Key points
From the paper's conclusion- We introduce GPUPhysBench, a benchmark of 50 tasks testing whether coding agents can meet these demands.
Abstract
Writing fast GPU code for physical simulation is difficult: implementations must preserve numerical accuracy while handling irregular data access, synchronization, and iterative solvers. We introduce GPUPhysBench, a benchmark of 50 tasks testing whether coding agents can meet these demands. Tasks cover fluids, deformable solids, and granular materials, from individual simulation operators to complete simulators. Agents write, compile, test, and optimize GPU code with access to a NVIDIA GPU under fixed time budgets. We report pass rates and runtime performance relative to expert-optimized reference implementations. In a single-attempt evaluation of six frontier model-harness pairs, the two strongest pass all 50 tasks, but even the fastest reaches at least 0.9 the reference speed on only 22% of them, and no submission is more than 5% faster than the reference. The largest gaps arise in collision detection, constraint solving, and iterative solvers. GPUPhysBench brings physical simulation workloads to coding-agent evaluation, testing both the ability to implement numerical methods correctly and the ability to make them run efficiently.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- WorldSolver: Can LLM Agents Simulate the Physical Dynamics via Solver Generation?arXiv · 2026
- CompoundingKernel: Self-Improving from Zero to FirstarXiv · 2026
- D2K-Bench: Can LLM Agents Turn Expert Designs into Efficient GPU Kernels?arXiv · 2026
- Accelerate Bench: Evaluating Agents for Application-Level Program OptimizationarXiv · 2026
- 4DCodeBench: Benchmarking Agents on Inverse Graphics of Dynamic ScenesarXiv · 2026
- CompMat-Bench: Benchmarking AI Agents for Computational Materials SciencearXiv · 2026