Related Experiment Video
Updated: Jun 21, 2025

Closed-loop Neuro-robotic Experiments to Test Computational Properties of Neuronal Networks
Published on: March 2, 2015
Quantifying local and global mass balance errors in physics-informed neural networks
M L Mamud1,2,3, M K Mudunuru4, S Karra5
1Subsurface Science Group, Pacific Northwest National Laboratory, Richland, 99352, WA, USA. lal.mamud@pnnl.gov.
Abstract:
Physics-informed neural networks (PINN) have recently become attractive for solving partial differential equations (PDEs) that describe physics laws. By including PDE-based loss functions, physics laws such as mass balance are enforced softly in PINN. This paper investigates how mass balance constraints are satisfied when PINN is used to solve the resulting PDEs. We investigate PINN's ability to solve the 1D saturated groundwater flow equations (diffusion equations) for homogeneous and heterogeneous media and evaluate the local and global mass balance errors. We compare the obtained PINN's solution and associated mass balance errors against a two-point finite volume numerical method and the corresponding analytical solution. We also evaluate the accuracy of PINN in solving the 1D saturated groundwater flow equation with and without incorporating hydraulic heads as training data. We demonstrate that PINN's local and global mass balance errors are significant compared to the finite volume approach. Tuning the PINN's hyperparameters, such as the number of collocation points, training data, hidden layers, nodes, epochs, and learning rate, did not improve the solution accuracy or the mass balance errors compared to the finite volume solution. Mass balance errors could considerably challenge the utility of PINN in applications where ensuring compliance with physical and mathematical properties is crucial.
Related Concept Videos
Estimation of the Physical Quantities
Conservation of Mass in Fixed, Nondeforming Control Volume
In the case of a sewer pipe, which can be modeled...
Conservation of Mass in Moving, Nondeforming Control Volume
In the context of a detention basin, the conservation of mass states that the total mass of water entering the basin must equal the mass leaving the basin plus any accumulation of...
Uncertainty in Measurement: Accuracy and Precision
Random and Systematic Errors
Conservation of Mass in Finite Cotrol Volume
A system is defined as a collection of unchanging contents, and the conservation of mass states that a system's mass is constant.

