TENG-BC: Unified Time-Evolving Natural Gradient for Neural PDE Solvers with General Boundary Conditions
Organizations: School of Mathematical Sciences, Peking University, Beijing, China · Department of Physics, Tsinghua University, Beijing, China · Institute of Advanced Study, Tsinghua University, Beijing, China
Abstract
Accurately solving time-dependent partial differential equations (PDEs) with neural networks remains challenging due to long-time error accumulation and the difficulty of enforcing general boundary conditions. We introduce TENG-BC, a high-precision neural PDE solver based on the Time-Evolving Natural Gradient, designed to perform under general boundary constraints. At each time step, TENG-BC performs a boundary-aware optimization that jointly enforces interior dynamics and boundary conditions, accommodating Dirichlet, Neumann, Robin, and mixed types within a unified framework. This formulation admits a natural-gradient interpretation, enabling stable time evolution without delicate penalty tuning. Across benchmarks over diffusion, transport, and nonlinear PDEs with various boundary conditions, TENG-BC achieves solver-level accuracy under comparable sampling budgets, outperforming conventional solvers and physics-informed neural network (PINN) baselines.
Figures & tables
| -error | Dirichlet | Neumann | Nonzero Neumann | Robin | Mixed |
|---|---|---|---|---|---|
| TENG-Euler | 2.17e-04 | 2.05e-04 | 9.04e-04 | 6.40e-04 | 1.25e-04 |
| TENG-Heun | 3.08e-06 | 3.60e-06 | 4.41e-06 | 2.42e-06 | 1.15e-05 |
| TENG-RK4 | 3.07e-06 | 1.14e-05 | 4.72e-06 | 5.00e-06 | 3.31e-06 |
| -error | ||||
|---|---|---|---|---|
| TENG-Euler | 2.97e-04 | 1.72e-03 | 1.28e-03 | 1.60e-03 |
| TENG-Heun | 2.24e-06 | 2.52e-05 | 1.15e-04 | 2.24e-04 |
| TENG-RK4 | 2.63e-06 | 2.94e-05 | 1.42e-04 | 3.21e-04 |
| FEM | 3.21e-06 | 1.11e-03 | 4.83e-03 | 4.50e-03 |
| PINN-BFGS | 1.28e-01 | 1.99e-01 | 2.08e-01 | 1.71e-01 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Neural PDE Solvers
Neural PDE solvers use trainable models to approximate solutions or solution operators for partial differential equations, often with physical constraints.
See all 269 papers