A Tutorial on Physics Constrained Machine Learning for Hybrid Modeling, Optimization, and Control
Rahul Golder, Bimol Nath Roy, MM Faruque Hasan
Key points
From the paper's conclusion- We also provide a diverse set of benchmarking problems for PCML in engineering applications.
Abstract
Physics-constrained machine learning (PCML) integrates domain knowledge, first-principles, and physical constraints into AI/ML models. In this work, we present a step-by-step tutorial of a modular PCML framework, KKT-HardNet, and illustrate how it could be used for hybrid modeling, process simulation, optimization and model predictive control in a single platform. KKT-HardNet combines fast inference capabilities of neural networks with guaranteed satisfaction of algebraic constraints through differential projection. It can handle heterogeneous data and enforce both linear and nonlinear equality and inequality constraints. The modular design supports custom neural-network backbones and user-defined projection mechanisms for PCML. To enable efficient end-to-end training, KKT-HardNet exploits implicit function theorem to backpropagate through the projection layer. This avoids computationally expensive automatic differentiation. This work also introduces an exact reduced-order Fischer-Burmeister reformulation and a primal-dual interior-point method as an alternative projection solve strategy. We also provide a diverse set of benchmarking problems for PCML in engineering applications. KKT-HardNet achieves orders of magnitude better performance in terms of both constraint satisfaction and inference time. The KKT-HardNet code and the benchmark datasets are available at https://github.com/souls-tamu/kkt-hardnet .
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Physics-consistent machine learning with output projection onto physical manifoldsCommunications Physics · 2025
- Embedding Physics into Machine Learning: A Review of Physics Informed Neural Networks as Partial Differential Equation Forward SolversTsinghua Science & Technology · 2025
- Physics-Informed Machine Learning in Biomedical Science and EngineeringAnnual Review of Biomedical Engineering · 2026
- Hybrid physics-informed artificial intelligence for high-fidelity modeling and optimization of electrical systemsFrontiers in Artificial Intelligence · 2026
- KAPI-LM: kernel-adaptive physics-informed learning machines for PDEs.Neural networks : the official journal of the International Neural Network Society · 2026
- Physics-Informed Machine Learning in Design and Manufacturing: Status and ChallengesJournal of Computing and Information Science in Engineering · 2025