arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.10752cs.AI
收藏

AutoPDE: 通过显式表示的求解器策略实现可靠的智能体PDE求解

AutoPDE: Reliable Agentic PDE Solving via Explicitly Represented Solver Strategies

University of Science and Technology of China(中国科学技术大学);Zhejiang University(浙江大学);University of the Chinese Academy of Sciences(中国科学院大学);Tsinghua University(清华大学);Eastern Institute of Technology, Ningbo(宁波东方理工大学)

Huanshuo Dong, Keyao Zhang, Hong Wang, Zhezheng Hao, Zhiwei Zhuang, Ziyan Liu, Jiacong Wang, Gengyuan Liu, Xin Jin

AI总结:

提出AutoPDE,一种将求解器策略作为显式对象维护的代码智能体,通过PDE分析、数值方法选择和自适应调优三阶段构建策略,在PDE Agent Bench上达到54.5%的通过率,比最强基线提升14.2个百分点。

摘要:

偏微分方程(PDE)的数值求解器是科学和工程中的核心计算工具。构建可靠的PDE求解器不仅需要可执行的代码,还需要一个数值求解器策略——一组关于离散化、稳定化、求解器配置和分辨率控制的决策,这些决策需与PDE结构相匹配。最近基于LLM的编码智能体通过生成和调试求解器实现,开始减轻编程负担。然而,它们通常直接从PDE问题跳到求解器代码,将求解器策略隐含在实现细节中。因此,求解失败的反馈被路由回代码编辑,而不是底层策略,导致数值决策在代码生成前难以检查,且在失败时难以利用数值证据进行修改。为解决这一局限,我们提出AutoPDE,一种在整个求解过程中将求解器策略作为显式表示对象维护的代码智能体:一个独立的、可检查的对象,在编写任何代码之前构建,并在求解失败时可根据数值证据进行修订。AutoPDE通过三个阶段构建和维护该对象,所有阶段均利用可重用的PDE求解技能库:PDE分析识别方程类型和代数结构;数值方法选择选择与分析结果匹配的数值方法,并确定离散化、稳定化和线性求解器;自适应调优运行低成本试算以在规定的精度和运行时间预算下校准分辨率和容差。我们在PDE Agent Bench上评估AutoPDE,实验结果表明,AutoPDE的通过率达到54.5%,比最强基线提高了14.2个百分点。

英文摘要:

Numerical solvers for partial differential equations (PDEs) are core computational tools in science and engineering. Building reliable PDE solvers requires not only executable code, but a numerical solver strategy, a set of decisions about discretization, stabilization, solver configuration, and resolution control, that matches the PDE structure. Recent LLM-based coding agents have begun to reduce the programming burden by generating and debugging solver implementations. However, they typically move directly from a PDE problem to solver code, leaving the solver strategy implicit in implementation details. Feedback from a failed solve is therefore routed back to code edits rather than to the underlying strategy, so numerical decisions remain hard to check before code is generated and hard to revise using numerical evidence when it fails. To address this limitation, we propose AutoPDE, a code agent that maintains the solver strategy as an explicitly represented object throughout the solving process: an independent, inspectable object that is built before any code is written and can be revised, using numerical evidence, whenever a solve fails. AutoPDE builds and maintains this object in three stages, all drawing from a library of reusable PDE-solving skills: PDE analysis identifies the equation type and algebraic structure; numerical method selection chooses a numerical method that matches the analysis result and commits to a discretization, stabilization, and linear solver accordingly; and adaptive tuning runs low-cost pilot solves to calibrate resolution and tolerances under the prescribed accuracy and runtime budget. We evaluate AutoPDE on the PDE Agent Bench, where experimental results show that AutoPDE achieves a pass rate of $54.5%$, improving over the strongest baseline by $14.2$ percentage points.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑