Physics-Informed Neural Networks with Hard Nonlinear Equality and Inequality Constraints
By: Ashfaq Iftakher , Rahul Golder , Bimol Nath Roy and more
Potential Business Impact:
Makes computer models follow rules perfectly.
Traditional physics-informed neural networks (PINNs) do not guarantee strict constraint satisfaction. This is problematic in engineering systems where minor violations of governing laws can degrade the reliability and consistency of model predictions. In this work, we introduce KKT-Hardnet, a neural network architecture that enforces linear and nonlinear equality and inequality constraints up to machine precision. It leverages a differentiable projection onto the feasible region by solving Karush-Kuhn-Tucker (KKT) conditions of a distance minimization problem. Furthermore, we reformulate the nonlinear KKT conditions via a log-exponential transformation to construct a sparse system with linear and exponential terms. We apply KKT-Hardnet to nonconvex pooling problem and a real-world chemical process simulation. Compared to multilayer perceptrons and PINNs, KKT-Hardnet achieves strict constraint satisfaction. It also circumvents the need to balance data and physics residuals in PINN training. This enables the integration of domain knowledge into machine learning towards reliable hybrid modeling of complex systems.
Similar Papers
Picard-KKT-hPINN: Enforcing Nonlinear Enthalpy Balances for Physically Consistent Neural Networks
Machine Learning (CS)
Makes computer models follow science rules.
KP-PINNs: Kernel Packet Accelerated Physics Informed Neural Networks
Computational Engineering, Finance, and Science
Solves hard math problems more reliably.
DAE-HardNet: A Physics Constrained Neural Network Enforcing Differential-Algebraic Hard Constraints
Machine Learning (CS)
Teaches computers to follow science rules exactly.