arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.29702physics.comp-ph
收藏

用于物理信息学习和离散化PDE伴随的验证残差特定显式导数核

Verified residual-specific explicit derivative kernels for physics-informed learning and discretized PDE adjoints

Institute of AI for Industries, Chinese Academy of Sciences(中国科学院工业人工智能研究所);School of Aeronautics, Northwestern Polytechnical University(西北工业大学航空学院);International Joint Institute of Artificial Intelligence on Fluid Mechanics, Northwestern Polytechnical University(西北工业大学流体力学人工智能联合研究院);National Key Laboratory of Aircraft Configuration Design(飞机气动设计国家重点实验室)

Wenbo Cao, Zhe Lu, Weiwei Zhang

AI总结:

提出基于智能体辅助实现和严格数值验证的残差特定显式微分(ED)方法,用于物理信息神经网络(PINNs)和离散化PDE伴随,相比自动微分实现2-4倍加速并降低内存。

摘要:

导数计算是科学计算的核心,从物理信息神经网络(PINNs)中的时空导数到计算流体动力学(CFD)中的残差雅可比作用和离散伴随算子。通用自动微分(AD)减少了实现工作量,但对于高阶残差和复杂离散化算子,可能会产生大量的运行时和内存开销。显式导数核可以利用问题特定结构并提供高效、可控的评估,但其使用受到推导和实现成本的限制。本文重新审视显式微分(ED)作为一种残差特定且可验证的途径,通过智能体辅助实现和严格的数值验证。对于PINNs,我们提出了残差特定部分射流传播,该方法使目标PDE残差的导数状态闭合显式化,并通过专门的逐层核实现,而不是仅依赖嵌套AD或通用泰勒模式变换。与嵌套AD相比,生成的ED核在残差和参数梯度评估中达到浮点级一致性,并加速了完整的PINN训练,通常在大多数情况下达到2-4倍加速,同时降低峰值GPU内存。对于离散化PDE伴随,我们将相同的验证驱动策略应用于有限体积CFD残差。生成的切向作用和转置作用核通过了泰勒余项、内积和简化梯度一致性检查,并嵌入到基于GPU的离散伴随工作流中,用于自由流马赫数和攻角反演。这些结果表明,由智能体辅助实现支持的验证显式导数核可以作为通用AD在导数密集型科学计算中的实用、结构感知补充。

英文摘要:

Derivative computation is central to scientific computing, from space-time derivatives in physics-informed neural networks (PINNs) to residual Jacobian actions and discrete-adjoint operators in computational fluid dynamics (CFD). General-purpose automatic differentiation (AD) reduces implementation effort, but can incur substantial runtime and memory overhead for high-order residuals and complex discretized operators. Explicit derivative kernels can exploit problem-specific structure and provide efficient, controllable evaluations, but their use has been limited by derivation and implementation costs. This work revisits explicit differentiation (ED) as a residual-specific and verifiable route enabled by agent-assisted implementation and stringent numerical verification. For PINNs, we propose residual-specific partial-jet propagation, which makes the derivative-state closure of the target PDE residual explicit and realizes it through specialized layerwise kernels, rather than relying only on nested AD or a generic Taylor-mode transform. Relative to nested AD, the resulting ED kernels achieve floating-point-level agreement in residual and parameter-gradient evaluations and accelerate complete PINN training, often reaching 2-4x speedups while reducing peak GPU memory in most cases. For discretized PDE adjoints, we apply the same verification-driven strategy to a finite-volume CFD residual. The generated tangent-action and transpose-action kernels pass Taylor-remainder, inner-product, and reduced-gradient consistency checks, and are embedded into a GPU-resident discrete-adjoint workflow for freestream Mach-number and angle-of-attack inversion. These results suggest that verified explicit derivative kernels, supported by agent-assisted implementation, can serve as a practical, structure-aware complement to general-purpose AD for derivative-intensive scientific computing.

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

↑