Safe Physics-Informed Machine Learning for Dynamics and Control

Ján Drgoňa, Truong X. Nghiem, Thomas Beckers, Mahyar Fazlyab, Enrique Mallada, Colin Jones, Draguna Vrabie, Steven L. Brunton, Rolf Findeisen · 2025

Read Safe Physics-Informed Machine Learning for Dynamics and Control by Ján Drgoňa, Truong X. Nghiem, Thomas Beckers, Mahyar Fazlyab, Enrique Mallada, Colin Jones, Draguna Vrabie, Steven L. Brunton, Rolf Findeisen (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-12952.txt.

Introduction

Ján Drgoňa and a team of co-authors give a tutorial in 2025 on safe machine learning for control of moving systems. Learning tools can model cars, robots, and power grids well, but they must not push those systems past safe limits. The paper shows how to join physical knowledge with learning while keeping safety checks in place.

The authors survey ways to build in limits, check reach, and test neural networks before use. They also cover how to state doubt in a model and prove that a control plan stays in bounds. Worked examples show how these parts fit into a full safe learning setup.

Catalog record

CREATORJán Drgoňa, Truong X. Nghiem, Thomas Beckers, Mahyar Fazlyab, Enrique Mallada, Colin Jones, Draguna Vrabie, Steven L. Brunton, Rolf Findeisen
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE70 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2504-12952

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Safe Physics-Informed Machine Learning for Dynamics and Control Ján Drgoňa, Truong X. Nghiem, Thomas Beckers, Mahyar Fazlyab, Enrique Mallada, Colin Jones, Draguna Vrabie, Steven L. Brunton, Rolf Findeisen Abstract This tutorial paper focuses on safe physics-informed machine learning in the context of dynamics and control, providing a comprehensive overview of how to integrate physical models and safety guarantees. As machine learning techniques enhance the modeling and control of complex dynamical systems, ensuring safety and stability remains a critical challenge, especially in safety-critical applications like autonomous vehicles, robotics, medical decision-making, and energy systems. We explore various approaches for embedding and ensuring safety constraints, including structural priors, Lyapunov and Control Barrier Functions, predictive control, projections, and robust optimization techniques. Additionally, we delve into methods for uncertainty quantification and safety verification, including reachability analysis and neural network verification tools, which help validate that control policies remain within safe operating bounds even in uncertain environments. The paper includes illustrative examples demonstrating the implementation aspects of safe learning frameworks that combine the strengths of data-driven approaches with the rigor of physical principles, offering a path toward the safe control of complex dynamical systems. I Introduction The integration of physics-informed machine learning (PIML) [ 1 , 2 , 3 ] with safe control strategies [ 4 , 5 , 6 , 7 ] has gained significant attention as a means to model and govern dynamical systems while ensuring stability, robustness, and constraint satisfaction. Traditional machine learning models excel at capturing patterns from data but often lack guarantees regarding physical consistency, generalizability, and safety. This limitation is particularly critical in domains such as robotics, autonomous systems, aerospace, and energy management, where violations of physical laws or unsafe control actions can lead to catastrophic consequences. By incorporating physical principles, safety constraints, and control-theoretic foundations into machine learning models, safe PIML provides a framework for ensuring that learned representations adhere to fundamental laws of physics while maintaining reliable and interpretable control policies. This tutorial explores methodologies for developing safe physics-informed machine-learning models for applications in dynamics and control. The discussion includes Section II on safe learning for dynamical systems with stability guarantees, constraint satisfaction, and uncertainty quantification; Section III on safe learning for control via learning-based model predictive control (MPC), control barrier, and Lyapunov function-based safety guarantees; and Section IV on safety verification methods via reachability analysis, constrained optimization methods, and sampling-based approaches. Through theoretical insights and practical examples, we demonstrate how safe PIML can be applied to real-world systems, bridging the gap between data-driven learning and physics-based modeling while ensuring compliance with safety-critical requirements. II Safe Learning for Dynamics Safe learning for dynamics refers to the process of acquiring accurate models of system behavior while maintaining constraints that prevent unstable or physically unrealistic behavior. Unlike traditional learning-based approaches that prioritize performance over safety, safe learning integrates control-theoretic principles, uncertainty quantification, and safety constraints to guide the model design. There are several choices to learn differential equation models, including dynamic mode decomposition (DMD) and Koopman operator [ 8 , 9 , 10 , 11 , 12 , 13 ] , neural ordinary differential equations (NODEs) [ 14 , 15 , 16 , 17 ] , explicit neural-time steppers [ 18 , 19 ] , neural state space models [ 20 , 21 ] , sparse identification of nonlinear dynamics (SINDy) [ 22 ] . In this section, we explore key methodologies for the safe and uncertainty-aware learning of dynamical systems, providing stability and constraint satisfaction guarantees. II-A Stability Guarantees It is important to be able to promote or enforce stability properties in learned models. This is a strong reason to employ learning techniques rooted in a state-space framework, as opposed to relying solely on deep learning. Promoting stability in learned models is crucial and favors state-space-based learning techniques over purely black-box deep learning. DMD fits a best-fit linear operator to time-series data, while SINDy identifies the sparsest nonlinear model from a library of candidate functions. Both use linear regression: DMD for high-dimensional state data under low-rank assumptions, and SINDy as an over-determined regression problem with sparsity-promoting regularization for interpretability. There are several approaches to incorporate physics and stability into these models. One of the unexpected benefits of the linear regression framework is that it is relatively straightforward to incorporate additional constraints on the regression variables, in this case, the model coefficients. Very often, physics manifests itself as conserved quantities, which result in symmetries in model coefficients. This was first recognized in the context of regression-based models by Jean-Christophe Loiseau, who made a simple modification of the SINDy algorithm to incorporate energy conservation as a constraint on the quadratic terms of the model [ 23 ] . Specifically, the coefficients of the quadratic terms must be skew-symmetric for energy conservation in an incompressible fluid. Since then, several other constraints and symmetries have been incorporated. Perhaps the most relevant for this discussion is the innovation by Kaptanoglu et al. [ 24 ] that adds additional regularization terms and constrained optimization to enforce the global stability of learned models. This is based on the global boundedness theorem of Schlegel and Noack [ 25 ] and holds for general quadratic systems. More general stability guarantees are the focus of ongoing work. In DMD, there are similar opportunities to enforce known physics and promote stable models. The optimized DMD [ 26 ] uses variable projection to enforce stability in the linear models, often dramatically improving performance. Physics-informed DMD, as explored by Baddoo et al. [ 27 ] , examines several approaches for promoting and enforcing known physics, with several canonical examples of symmetries and other physical constraints on the learned linear operator. Recent advances in Koopman operator theory have enabled data-driven analysis of nonlinear dynamical systems through spectral decomposition [ 28 , 29 ] , enabling the extraction of global stability information from data [ 30 ] . Together, these approaches offer principled tools for inferring nonlinear stability and invariant structures from data. While DMD regression can sometimes be modified to enforce manifold constraints via a Procrustes problem, in practice, regularization is often used to promote proximity to the desired physical manifold. Stability-Constrained Deep Koopman Operator (DeepKO) The DeepKO [ 31 , 32 , 33 , 34 ] is a popular data-driven approach that leverages deep learning to approximate the coordinate transformations in the Koopman operator, enabling the analysis and control of nonlinear dynamical systems in a linear framework. This tutorial demonstrates learning DeepKO with stability guarantees for system identification of nonlinear dynamical systems. The autonomous DeepKO has been recently extended to control-oriented DeepKO models by [ 35 , 36 , 37 ] . The general idea is to encode system observables y_{k} via a neural network \phi_{\theta_{1}} to compute latent states x_{k} in the linear coordinates. This coordinate transformation now allows the application of the linear Koopman operator K to obtain latent states at the next time step x_{k+1} . After the rollout over the given prediction horizon N , the generated latent trajectories X=\{x_{1},...,x_{N}\} are projected back to the observable space via the decoder neural network \phi^{-1}_{\theta_{3}} . Compactly, we can represent the DeepKO model as Encoder: \displaystyle{x}_{k}=\phi_{\theta_{1}}(y_{k}) (1a) Koopman Operator: \displaystyle{x}_{k+1}=K(x_{k}) (1b) Decoder: \displaystyle\hat{y}_{k+1}=\phi^{-1}_{\theta_{3}}(x_{k+1}) (1c) We assume the dataset of sampled

Read the complete text