PDEAgent-Bench: PDE 솔버 생성을 위한 다중 지표·다중 라이브러리 벤치마크
PDEAgent-Bench: A Multi-Metric, Multi-Library Benchmark for PDE Solver Generation
한국어 초록
PDE-솔버 코드 생성은 편미분방정식(PDE) 명세로부터 실행 가능한 수치 솔버를 자동으로 합성하는 것을 목표로 한다. 이 과제는 PDE의 수학적 구조를 이해하는 것뿐 아니라 적절한 이산화 기법과 솔버 설정을 선택하고, 그 결과로 얻은 정식화를 유한요소법(FEM) 라이브러리에서 올바르게 구현하는 것을 요구한다. 기존 코드 생성 벤치마크는 주로 구문적 정확성이나 사전 정의된 테스트 케이스에서의 성공 여부를 평가한다. 우리가 아는 한 PDE-솔버 코드 생성을 위한 공개 벤치마크는 현재 존재하지 않으며, 범용 코드 벤치마크는 솔버 정확도, 효율성, 전문 FEM 라이브러리와의 호환성 확보와 같은 수치 PDE 해법 고유의 어려움을 충분히 반영하지 못한다. 본 논문은 우리가 아는 한 PDE-솔버 코드 생성을 위한 최초의 다중 지표·다중 라이브러리 벤치마크인 PDEAgent-Bench를 소개한다. PDEAgent-Bench는 6개 수학적 범주와 11개 PDE 계열에 걸친 645개 인스턴스를 포함하며, DOLFINx, Firedrake, deal.II 등 일반적인 FEM 라이브러리를 사용한다. 각 인스턴스는 에이전트에게 제공되는 문제 명세, 지정된 평가 격자 상의 참조 해, 그리고 사례별 정확도 및 실행 시간 목표를 제공한다. PDEAgent-Bench는 생성된 솔버가 실행 가능성, 수치 정확도, 계산 효율성 검사를 순차적으로 통과해야 하는 단계별 평가 프레임워크를 채택한다. 대표적인 LLM과 코드 에이전트를 대상으로 한 실험에서 모델이 실행 가능한 코드를 자주 생성할 수 있으나, 정확도와 효율성 요건이 적용되면 통과율이 크게 하락함을 보였다. 이러한 결과는 현재의 에이전트가 수치적으로 신뢰할 수 있고 효율적인 PDE 솔버를 생성하는 데 여전히 한계가 있음을 나타내며, PDEAgent-Bench가 수치 PDE 해법의 실제 요구 사항에 기반한 재현 가능한 테스트베드를 제공함을 시사한다.
원문 초록
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.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2605.09636v2제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.