Physics-Informed Neural Network Policy Iteration: Algorithms, Convergence, and Verification

Yiming Meng, Ruikun Zhou, Amartya Mukherjee, Maxwell Fitzsimmons, Christopher Song, Jun Liu

Optimal control is the backbone of modern robotics and automation, but solving it for complex, high-dimensional systems has long been a mathematical nightmare. A new paper from researchers at the University of Illinois Urbana-Champaign and the University of Waterloo, titled "Physics-Informed Neural Network Policy Iteration: Algorithms, Convergence, and Verification," proposes a powerful new way to tackle these problems using neural networks while maintaining the rigorous guarantees that engineers demand.

The Challenge of Nonlinear Optimal Control

At the heart of optimal control lies the Hamilton–Jacobi–Bellman (HJB) equation. If you can solve it, you have the perfect controller. The catch? For nonlinear systems, the HJB is notoriously difficult to solve directly.

Traditional Policy Iteration (PI) breaks this down into a sequence of easier, linear equations called Generalized HJB (GHJB) equations. However, standard numerical methods (like Galerkin approximations) fall victim to the curse of dimensionality—they work fine for a 2D pendulum but explode in computational complexity for a 12D drone. Furthermore, even when a neural network looks like it has converged to a solution, there is often no guarantee that the resulting controller won't crash the system in practice.

Proposed Methods: ELM-PI and PINN-PI

The authors introduce two neural-network-based algorithms that solve nonlinear optimal control problems by iteratively approximating the solutions to linear partial differential equations:

  1. ELM-PI (Extreme Learning Machine): This variant uses a single-layer neural network where the internal weights are randomized and fixed, and only the output weights are trained via linear least squares. It is incredibly fast and highly accurate for low-dimensional systems.
  2. PINN-PI (Physics-Informed Neural Network): This variant uses deeper architectures trained via gradient descent. By embedding the GHJB equation directly into the loss function, it scales much better to high-dimensional problems.

The "Secret Sauce" for Stability: To ensure the system remains stable, the authors added a specific loss term that forces the neural network to match the behavior of a stabilizing linear controller near the equilibrium point. They then used formal verification (specifically SMT solvers like dReal) to mathematically prove that the learned value function acts as a valid Lyapunov function, guaranteeing stability.

Key Insights and Results

The algorithms were tested on a variety of classic and challenging control environments, ranging from a standard 2D inverted pendulum to chaotic Lorenz systems and high-dimensional synthetic systems (up to 12 dimensions).

Speed and Scalability

The researchers compared their methods against traditional Successive Galerkin Approximations (SGA). On the inverted pendulum task, ELM-PI was massively faster than SGA while achieving similar or better accuracy and passing formal verification.

Performance comparison of SGA, ELM-PI, and PINN-PI on the inverted pendulum. ELM-PI shows a massive speed advantage for low-dimensional tasks.

While ELM-PI is the "speed demon" for low dimensions, PINN-PI is the "marathon runner." PINN-PI maintained a steady error rate up to 12 dimensions, whereas ELM-PI's performance degraded sharply after 4 dimensions. In complex environments like a 3D Quadrotor, PINN-PI successfully stabilized the system in under two seconds, outperforming standard Reinforcement Learning (RL) methods that often failed to achieve asymptotic stability.

Visual Convergence $\neq$ Stability

One of the most striking findings of the paper is that a neural network can appear to have perfectly converged to the optimal value function, yet still produce an unstable controller.

Value function projection for an ELM-PI model with m=100 hidden neurons, which was formally verified as stable.

For example, a network with $m=100$ hidden neurons (shown above) produces a value function that is formally verified as stable. However, the authors demonstrated that a smaller network ($m=50$) can produce a visually identical value function curve that completely fails stability verification. This highlights why formal verification is non-negotiable for safety-critical systems.

Limitations and Future Work

While a major step forward, the authors note a few remaining hurdles:

  • Initial Policy Requirement: Like all policy iteration methods, the algorithm requires a "good enough" (stabilizing) initial controller to kick off the process.
  • Verification Bottleneck: While the neural controllers scale well to high dimensions, the verification tools (SMT solvers) still struggle as dimensionality increases.
  • Unknown Systems: Currently, the algorithm requires a known mathematical model of the system dynamics. Future work aims to combine this approach with system identification to learn directly from raw data.

Ultimately, this research provides a robust bridge between the flexible power of deep learning and the rigorous safety requirements of control theory, paving the way for safer, more efficient autonomous systems.

Summary updated

BibTeX
@inproceedings{meng2024physics,
  author = {Yiming Meng and Ruikun Zhou and Amartya Mukherjee and Maxwell Fitzsimmons and Christopher Song and Jun Liu},
  title = {{Physics-Informed Neural Network Policy Iteration: Algorithms, Convergence, and Verification}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=sZla6SnooP},
}
Figure