Partial Differential Equations (PDEs) are central to modeling complex systems across physical, biological, and engineering domains, yet traditional numerical methods often struggle with high-dimensional or complex problems. Physics-Informed Neural Networks (PINNs) have emerged as an efficient alternative by embedding physics-based constraints into deep learning frameworks, but they face challenges in achieving high accuracy and handling complex boundary conditions. In this work, we extend the Time-Evolving Natural Gradient (TENG) framework to address Dirichlet boundary conditions, integrating natural gradient optimization with numerical time-stepping schemes, including Euler and Heun methods, to ensure both stability and accuracy. By incorporating boundary condition penalty terms into the loss function, the proposed approach enables precise enforcement of Dirichlet constraints. Experiments on the heat equation demonstrate the superior accuracy of the Heun method due to its second-order corrections and the computational efficiency of the Euler method for simpler scenarios. This work establishes a foundation for extending the framework to Neumann and mixed boundary conditions, as well as broader classes of PDEs, advancing the applicability of neural network-based solvers for real-world problems.
翻译:偏微分方程(PDEs)是物理、生物和工程领域复杂系统建模的核心工具,但传统数值方法在处理高维或复杂问题时常常面临困难。物理信息神经网络(PINNs)通过将物理约束嵌入深度学习框架,已成为一种有效的替代方案,但其在实现高精度和处理复杂边界条件方面仍存在挑战。本研究扩展了时间演化自然梯度(TENG)框架以处理Dirichlet边界条件,将自然梯度优化与数值时间步进方案(包括Euler法和Heun法)相结合,从而同时保证稳定性和精度。通过将边界条件惩罚项纳入损失函数,所提方法能够精确实施Dirichlet约束。在热传导方程上的实验表明,由于二阶修正,Heun法具有更高的精度,而Euler法在简单场景下则展现出更高的计算效率。本工作为将该框架扩展至Neumann边界条件、混合边界条件以及更广泛的偏微分方程类别奠定了基础,从而推进了基于神经网络的求解器在实际问题中的应用。