Earth Science Frontiers ›› 2026, Vol. 33 ›› Issue (1): 500-510.DOI: 10.13745/j.esf.sf.2025.10.38

Previous Articles     Next Articles

Physics-informed neural networks with hard constraints for hydraulic conductivity field inversion

SHU Wei(), JIANG Jianguo, WU Jichun*()   

  1. Department of Water Sciences, School of Earth Sciences and Engineering, Nanjing University, Nanjing 210023, China
  • Received:2025-05-30 Revised:2025-08-29 Online:2026-01-25 Published:2025-11-10

Abstract:

In recent years, Physics-Informed Neural Networks (PINNs) have been widely applied to numerically solve partial differential equations and in computational fluid dynamics, having demonstrated promising potential for groundwater modeling. Existing studies typically handle boundary conditions in groundwater models using soft-constraint algorithms, which satisfy physical constraints approximately by minimizing the boundary condition error. However, the application of hard-constraint algorithms, which can enhance solving accuracy and stability by design, remains limited in groundwater modeling. To address this gap, this paper introduces a hard-constraint PINNs algorithm that simultaneously enforces constant-head and no-flow boundary conditions. Using the inverse problem of estimating the hydraulic conductivity field in a two-dimensional confined aquifer as a case study, we demonstrate the superior performance of the hard-constraint approach over its soft-constraint counterpart. The results show that the proposed method reduces the average relative inversion error by 75% compared to soft-constraint PINNs and by 60% compared to hard-constraint PINNs considering constant-head boundaries alone. Furthermore, the proposed method reduces the number of required training samples and alleviates the need for extensive manual hyperparameter tuning, thereby improving training efficiency and robustness. Therefore, the hard-constraint PINNs method proves to be a highly accurate and efficient approach for reconstructing hydraulic conductivity fields, demonstrating significant potential for broader application.

Key words: physics-informed neural networks, hard-constraint PINNs, hydraulic conductivity field inversion, groundwater modeling, confined aquifer

CLC Number: