PDEAgent-Bench: A Multi-Metric, Multi-Library Benchmark for PDE Solver Generation
Zhen Hang, Yushan Yashengjiang, Junhui Li, Huanshuo Dong, Yang Wei, Zhezheng Hao, Jiangtao Ma, Songlin Bai, Haozhong Kai, Xihang Yue, Gangzong Si, Dongming Jiang, Chao Yao, Zhanhua Hu, Jiangqing Zhang, Pengwei Liu, Yaomin Shen, Xingyu Ren, Lei Liu, Zikang Xu, Han Li

TL;DR
PDEAgent-Bench is a comprehensive benchmark designed to evaluate the ability of code generation models to produce accurate, efficient, and compatible PDE solvers across multiple libraries and mathematical categories.
Contribution
It introduces the first multi-metric, multi-library benchmark for PDE-to-solver code generation, covering 645 instances and staged evaluation criteria.
Findings
Models often produce runnable code but struggle with accuracy and efficiency.
Pass rates drop significantly when numerical and performance constraints are enforced.
Current agents are limited in generating reliable and efficient PDE solvers.
Abstract
PDE-to-solver code generation aims to automatically synthesize executable numerical solvers from partial differential equation (PDE) specifications. This task requires not only understanding the mathematical structure of PDEs, but also selecting appropriate discretization schemes and solver configurations, and correctly implementing the resulting formulations in finite-element method (FEM) libraries. Existing code generation benchmarks mainly evaluate syntactic correctness, or success on predefined test cases. To our knowledge, there is currently no publicly available benchmark specifically for PDE-to-solver code generation, and general-purpose code benchmarks do not fully capture the unique challenges of numerical PDE solution, such as ensuring solver accuracy, efficiency, and compatibility with professional FEM libraries. We introduce PDEAgent-Bench, to the best of our knowledge, the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
