Guaranteeing Conservation of Integrals with Projection in Physics-Informed Neural Networks
Anthony Baez, Wang Zhang, Ziwen Ma, Lam Nguyen, Subhro Das, Luca Daniel

TL;DR
This paper introduces a projection method for Physics-Informed Neural Networks that ensures the exact conservation of integral quantities, significantly improving physical law adherence without sacrificing PDE solution accuracy.
Contribution
A novel projection technique for PINNs that guarantees conservation of integral quantities, enhancing physical fidelity and convergence.
Findings
Reduced conservation error by 3-4 orders of magnitude
Marginally improved PDE solution accuracy
Enhanced convergence through better loss landscape conditioning
Abstract
We propose a novel projection method that guarantees the conservation of integral quantities in Physics-Informed Neural Networks (PINNs). While the soft constraint that PINNs use to enforce the structure of partial differential equations (PDEs) enables necessary flexibility during training, it also permits the discovered solution to violate physical laws. To address this, we introduce a projection method that guarantees the conservation of the linear and quadratic integrals, both separately and jointly. We derived the projection formulae by solving constrained non-linear optimization problems and found that our PINN modified with the projection, which we call PINN-Proj, reduced the error in the conservation of these quantities by three to four orders of magnitude compared to the soft constraint and marginally reduced the PDE solution error. We also found evidence that the projection…
Peer Reviews
Decision·Submitted to ICLR 2026
The paper is well-written and is easy to follow. The proposed method is mathematically clear and easy to implement.
- One of the key strengths of PINN is its mesh-free property. Enforcing the constraint by projecting PINN to a uniform grid defeats the purpose of having PINN in the first place. If we are already projecting PINN to a uniform grid, why don't we use a finite element? Also, from Table 4, we see that PINN-proj is very slow, exactly due to the use of a uniform mesh. Also, this is just 1D; for 2D and 3D, it would be much worse. Furthermore, in real problems, the domain could be irregular, and uniform
+ The manuscript treats the imporant and timely problem of producing more physically plausible predictions with neural networks. + The manuscript gives a clean way to exactly impose conservation of linear and quadratic quantities.
+ Depth of the contribution: The manuscript proposes essentially a post-processing of the predictions. Whereas a slight improvement over vanilla PINNs is shown, it is not clear, whether this enables the application of PINNs to problems previously out of reach. + Ablation: The post-processing is used during training. An ablation study of training without the post-processing, but using it at evaluation is not presented. + The Complexity of the training procedure and training times are not discus
The paper addresses an important limitation of PINNs by proposing a projection method that guarantees the conservation of integral quantities. The formulation is mathematically well-motivated and provides a clear, closed-form projection for enforcing conservation for 1D uniform-grid cases. Empirical results demonstrate consistent improvements on standard benchmark problems.
1. It is unclear whether the observed improvement in PDE solution error is truly due to the enforcement of conservation constraints. The error reduction may result either from matching the integral quantities or from the projection improving training stability. An ablation study is needed to clarify this. 2. The post-hoc projection does not consider the PDE residual. Therefore, even if the conservation constraint is enforced, the solution may violate fundamental physical laws, such as mass, mom
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsModel Reduction and Neural Networks · Machine Learning in Materials Science · Neural Networks and Reservoir Computing
