Papers

arXiv 论文提出证书机制验证 PDE 求解器与神经代理输出

Verifying the Outputs of PDE Solvers: From Finite Elements to Neural Surrogates

Why we picked it

做仿真或科学计算的人该看看这篇:FEniCSx、LLM 写的求解器、神经网络代理都能被同一套证书机制打上误差界。5 个精心埋的 bug 全过收敛测试却被证书抓住,连从不解方程但照样收敛的 LLM 代码也藏不住。

arXiv 论文《Verifying the Outputs of PDE Solvers: From Finite Elements to Neural Surrogates》提出一种"证书+独立检查器"机制,可在无人复核的情况下为物理仿真输出给出保证性误差界。在心脏脉冲电场消融问题中,证书由可容许电位与严格电荷守恒的电流构成,小型检查器据此对照物理规范给出误差上界。

Body

同一检查器能验证第三方求解器:FEniCSx 计算的场与作者自己的求解器获得相同误差界。实验中,一个正确求解器被植入 5 个貌似合理的 bug,其中一个距真实阻抗仅约 0.2%,全部通过网格收敛研究,但证书拒绝或反驳了全部 5 个。LLM 写的 3 个求解器中,1 个被认证误差到 0.1%,另有 1 个虽从未真正求解方程却照样收敛。

对学习型代理模型,预测降阶基系数的神经网络获得逐预测误差界:训练范围内误差界不超过 0.0021%,范围外为 0.3%–25%,而 90% conformal 区间在 14 个测试中无一覆盖。未调优的 Fourier neural operators 只能获得有效但无信息量的误差界,能量范数训练可将其区间收窄十倍。该方法对任意输出均适用,但只有当输出在能解析问题的网格上于能量范数下足够准确时才有信息量。

Original · arXiv cs.LG

Verifying the Outputs of PDE Solvers: From Finite Elements to Neural Surrogates

Physics simulation outputs increasingly come from solvers that no expert inspects, such as third-party packages in automated pipelines, programs written by large language models (LLMs), and learned surrogates. In earlier work on cardiac pulsed field ablation, we proposed that solvers return a certificate with their answers. The certificate consists of an admissible potential and an exactly charge-conserving current, and a small independent checker turns it into guaranteed error bounds against a written specification of the physics. Here, the same checker verifies the outputs of other solvers on the same problem. Specifically, FEniCSx computes both fields and receives the same bounds as our own solver. Five plausible bugs in a correct solver, one of them about 0.2% from the true impedance, all converge and pass a grid convergence study, yet the certificate rejects or refutes all five. Of three solvers written by LLMs, one is correct and certified to 0.1%, and one never solves the equation but converges. Neural networks that predict the coefficients of a reduced basis emit admissible fields and receive valid per-prediction bounds, at most 0.0021% wide inside their training range and 0.3-25% wide outside it, where 90% conformal intervals cover none of 14 tests. Untuned Fourier neural operators with free nodal outputs receive valid but uninformative bounds. On a uniform grid, interpolation onto the certificate grid limits them, and on the certificate grid, thin cells turn small nodal errors into large energy errors. Energy-norm training narrows the certified interval tenfold, and projecting the nodal-loss outputs onto the reduced basis narrows it by two to four orders of magnitude, still uninformative. The guarantee concerns the stated model and holds for any output, wherever its input lies. It is informative only when the output is accurate in energy on a grid that resolves the problem.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include PDE, FEniCSx, Fourier neural operators.

Source attribution: curated from arXiv cs.LG (@Konstantinos Dovelos).