A Physics-Informed Machine Learning Framework for Safe and Optimal Control of Autonomous Systems

Manan Tayal, Aditya Singh, Shishir Kolathaya, Somil Bansal

Abstract

This paper presents a novel framework for solving state-constrained optimal control problems in high-dimensional autonomous systems. By combining an epigraph reformulation of the control problem with Physics-Informed Machine Learning (PIML) and conformal prediction, the authors develop a scalable controller that provides rigorous safety guarantees without the conservatism typical of formal methods. The approach is validated on systems up to 20 dimensions, demonstrating 100% safety rates and real-time inference capabilities.

1. Introduction

In the deployment of autonomous systems, such as self-driving vehicles and collaborative robotics, engineers face a fundamental trade-off between performance and safety. Current methodologies generally diverge into two categories: learning-based methods and formal methods. Learning-based approaches, such as Constrained Reinforcement Learning (RL), excel at performance but often treat safety as a "soft" constraint, failing to provide rigorous guarantees in critical scenarios. Conversely, formal methods like Hamilton-Jacobi (HJ) Reachability offer mathematical safety "shields" but are frequently too conservative for practical use and suffer from the "curse of dimensionality," limiting their application to low-dimensional systems.

This research introduces a framework designed to bridge this gap, offering a controller that is mathematically safe, highly performant, and computationally scalable to high-dimensional state spaces.

2. Methodology

The proposed framework rests on three methodological pillars that transform the constrained optimization problem into a scalable machine learning task.

2.1 Epigraph Reformulation

To handle state constraints effectively, the authors employ an epigraph form. This transformation introduces an auxiliary value function, $\hat{V}$, which tracks the minimum permissible cost a policy can incur while remaining within the safe set. By baking safety directly into the value function, the system identifies the precise boundary where performance must yield to safety requirements, treating safety as a hard constraint rather than a penalty term.

2.2 Physics-Informed Machine Learning (PIML)

Solving the Hamilton-Jacobi-Bellman (HJB) partial differential equations (PDEs) associated with optimal control is traditionally done using grid-based methods, which fail as the number of dimensions increases. The authors instead utilize Physics-Informed Machine Learning. A neural network is trained where the loss function is the PDE itself, allowing the model to learn the underlying physics of the control problem across high-dimensional spaces without the need for a discretized grid.

2.3 Conformal Prediction for Verification

Recognizing that neural network approximations may contain errors, the framework incorporates conformal prediction. This statistical tool calculates a safety margin ($\delta$), providing a probabilistic guarantee (e.g., 99.9% confidence) that the system will remain safe. This ensures that even with approximation errors, the system maintains a high-confidence safety buffer.

3. Experimental Evaluation

The framework was evaluated across three simulated environments of increasing complexity:

  1. 2D Boat Navigation: Navigating a river with state-dependent drift and circular obstacles.
  2. 8D Pursuer-Evader: An acceleration-driven vehicle tracking a moving target while navigating five obstacles.
  3. 20D Multi-Agent Navigation: Five agents reaching individual goals while proactively avoiding mutual collisions.

4. Key Results

4.1 Safety and Performance

In both the boat navigation and multi-agent scenarios, the proposed method achieved a 100% safety rate. In contrast, baseline methods like SAC-Lagrangian and MPPI frequently resulted in collisions. Furthermore, the method proved significantly less conservative than "safe" baselines like MPPI-CBF, achieving up to 50% lower cumulative costs in the boat navigation task.

4.2 Scalability and Real-Time Control

The PIML approach successfully broke the curse of dimensionality. While traditional solvers are limited to roughly 6 dimensions, this framework controlled a 20-dimensional system with sublinear increases in computation time relative to complexity. Once trained, the optimal policy can be computed in just 2ms, facilitating real-time application in high-frequency robotic systems.

4.3 Proactive Planning

Unlike reactive "safety filters" that intervene abruptly at the boundary of failure, this framework plans long-horizon trajectories. It proactively steers the system away from potential hazards while maintaining path efficiency, resulting in smoother and more optimal trajectories.

5. Discussion and Future Work

While the framework demonstrates significant advancements in safe control, it currently assumes that the system's mathematical dynamics are known. Future research will focus on rapid adaptation, allowing policies to adjust on-the-fly to environmental changes or unmodeled dynamics. Additionally, the authors aim to extend the framework to systems where the dynamics must be learned entirely from data. Despite the requirement for significant offline training (e.g., 400k epochs for the 20D case), the resulting high-speed inference and rigorous safety guarantees represent a major step forward for autonomous system deployment.

Summary updated

BibTeX
@inproceedings{tayal2025physics,
  author = {Manan Tayal and Aditya Singh and Shishir Kolathaya and Somil Bansal},
  title = {{A Physics-Informed Machine Learning Framework for Safe and Optimal Control of Autonomous Systems}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=SrfwiloGQF},
}
Figure