Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Hang, Zhen, Yashengjiang, Yushan, Li, Junhui, Dong, Huanshuo, Wei, Yang, Hao, Zhezheng, Ma, Jiangtao, Bai, Songlin, Kai, Haozhong, Yue, Xihang, Si, Gangzong, Jiang, Dongming, Yao, Chao, Hu, Zhanhua, Zhang, Jiangqing, Liu, Pengwei, Shen, Yaomin, Ren, Xingyu, Liu, Lei, Xu, Zikang, Li, Han, Yao, Qingsong, Dong, Hande, Wang, Hong
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2605.09636
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910207277268992
author Hang, Zhen
Yashengjiang, Yushan
Li, Junhui
Dong, Huanshuo
Wei, Yang
Hao, Zhezheng
Ma, Jiangtao
Bai, Songlin
Kai, Haozhong
Yue, Xihang
Si, Gangzong
Jiang, Dongming
Yao, Chao
Hu, Zhanhua
Zhang, Jiangqing
Liu, Pengwei
Shen, Yaomin
Ren, Xingyu
Liu, Lei
Xu, Zikang
Li, Han
Yao, Qingsong
Dong, Hande
Wang, Hong
author_facet Hang, Zhen
Yashengjiang, Yushan
Li, Junhui
Dong, Huanshuo
Wei, Yang
Hao, Zhezheng
Ma, Jiangtao
Bai, Songlin
Kai, Haozhong
Yue, Xihang
Si, Gangzong
Jiang, Dongming
Yao, Chao
Hu, Zhanhua
Zhang, Jiangqing
Liu, Pengwei
Shen, Yaomin
Ren, Xingyu
Liu, Lei
Xu, Zikang
Li, Han
Yao, Qingsong
Dong, Hande
Wang, Hong
contents 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 first multi-metric, multi-library benchmark for PDE-to-solver code generation. PDEAgent-Bench contains 645 instances across 6 mathematical categories and 11 PDE families, with common FEM libraries for DOLFINx, Firedrake, and deal.II. Each instance provides an agent-facing problem specification, a reference solution on a prescribed evaluation grid, and case-specific accuracy and runtime targets. PDEAgent-Bench adopts a staged evaluation framework in which generated solvers must sequentially pass executability, numerical accuracy, and computational efficiency checks. Experiments with representative LLMs and code agents show that models can often produce runnable code, but their pass rate drops substantially once accuracy and efficiency requirements are enforced. These results indicate that current agents remain limited in producing numerically reliable and efficient PDE solvers, and that PDEAgent-Bench provides a reproducible testbed grounded in the practical requirements of numerical PDE solving.
format Preprint
id arxiv_https___arxiv_org_abs_2605_09636
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle PDEAgent-Bench: A Multi-Metric, Multi-Library Benchmark for PDE Solver Generation
Hang, Zhen
Yashengjiang, Yushan
Li, Junhui
Dong, Huanshuo
Wei, Yang
Hao, Zhezheng
Ma, Jiangtao
Bai, Songlin
Kai, Haozhong
Yue, Xihang
Si, Gangzong
Jiang, Dongming
Yao, Chao
Hu, Zhanhua
Zhang, Jiangqing
Liu, Pengwei
Shen, Yaomin
Ren, Xingyu
Liu, Lei
Xu, Zikang
Li, Han
Yao, Qingsong
Dong, Hande
Wang, Hong
Artificial Intelligence
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 first multi-metric, multi-library benchmark for PDE-to-solver code generation. PDEAgent-Bench contains 645 instances across 6 mathematical categories and 11 PDE families, with common FEM libraries for DOLFINx, Firedrake, and deal.II. Each instance provides an agent-facing problem specification, a reference solution on a prescribed evaluation grid, and case-specific accuracy and runtime targets. PDEAgent-Bench adopts a staged evaluation framework in which generated solvers must sequentially pass executability, numerical accuracy, and computational efficiency checks. Experiments with representative LLMs and code agents show that models can often produce runnable code, but their pass rate drops substantially once accuracy and efficiency requirements are enforced. These results indicate that current agents remain limited in producing numerically reliable and efficient PDE solvers, and that PDEAgent-Bench provides a reproducible testbed grounded in the practical requirements of numerical PDE solving.
title PDEAgent-Bench: A Multi-Metric, Multi-Library Benchmark for PDE Solver Generation
topic Artificial Intelligence
url https://arxiv.org/abs/2605.09636