Guaranteeing Conservation of Integrals with Projection in Physics-Informed Neural Networks
Anthony BaezWang ZhangZiwen MaSubhro DasLam M. NguyenLuca Daniel
Anthony Baez
Wang Zhang
Ziwen Ma
Subhro Das
Lam M. Nguyen
Luca Daniel
+6
We propose PINN-Proj, a projection method that guarantees conservation of linear and quadratic integrals, jointly or separately, in Physics-Informed Neural Networks (PINNs). Unlike soft PDE constraints that allow physical-law violations, our method derives projections from constrained nonlinear optimization. Applied after training or during it, PINN-Proj reduces integral-conservation error by three to four orders of magnitude, modestly improves PDE solution accuracy, and enhances convergence via better loss-landscape conditioning. The framework promises general applicability to any integral quantity whenever a tractable projection exists.

OpenReview ·
· September 19, 2025