arXiv:2606.10752cs.AI2026-06

让AI显式规划求解策略,提高偏微分方程求解可靠性

AutoPDE: Reliable Agentic PDE Solving via Explicitly Represented Solver Strategies

论文配图:AutoPDE: Reliable Agentic PDE Solving via Explicitly Represented Solver Strategies
图 1 · 摘自论文原文
  • 将求解策略作为独立可查对象提前构建,而非隐藏在代码中
  • 三阶段策略生成:分析方程类型、选数值方法、用小规模试算调参
  • 在基准测试中成功率提升14.2个百分点,达54.5%

偏微分方程(PDE)的数值求解器是科学与工程的核心计算工具。构建可靠求解器不仅需要可运行代码,还需匹配方程结构的求解策略——包括离散化、稳定化、求解器配置和分辨率控制等决策。当前基于大模型的编码代理虽能自动生成调试代码,但通常直接从PDE问题跳到代码实现,使求解策略隐含于代码细节中。失败后的反馈只能回传至代码修改,难以在生成前验证数值决策,也难用数值证据修正策略。为此,我们提出AutoPDE,一种将求解策略显式表示并贯穿求解过程的代码代理:该策略作为独立、可检查的对象,在代码生成前建立,并可在求解失败时根据数值证据进行修订。AutoPDE通过三个阶段完成策略构建,均来自可复用的PDE求解技能库:1)PDE分析识别方程类型与代数结构;2)数值方法选择匹配分析结果,确定离散化、稳定化与线性求解器;3)自适应调参通过低成本预求解,校准分辨率与容差,满足精度与运行时间约束。在PDE Agent Bench上的实验表明,AutoPDE达到54.5%的通过率,优于最强基线14.2个百分点。

原文摘要 · Abstract (English)

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.

PDE求解智能代理数值方法策略规划

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。