System stabilization with policy optimization on unstable latent manifolds

Steffen W. R. Werner, Benjamin Peherstorfer

This paper, recently published by researchers from Virginia Tech and NYU, tackles a fundamental headache in reinforcement learning (RL): how do you stabilize a complex, high-dimensional system when the system itself is so unstable that it "blows up" before you can collect enough data to learn anything?

TL;DR

The authors introduce Unstable Manifold Policy Optimization (UMPO), a method that restricts RL training to a minimal, low-dimensional "unstable latent manifold." By focusing only on the specific dynamical components that cause instability rather than trying to model the entire system, they achieve successful stabilization of complex physical models with significantly less data and up to 2.2x faster training than standard methods.

What Problem Does This Paper Address?

Stabilizing a dynamical system—like keeping a chemical reactor from overheating or a drone from crashing—is a classic control task. While RL has shown promise here, it faces three major hurdles:

  1. Data Scarcity: Unstable systems can only be queried for short bursts before they become chaotic or "meaningless," making it hard to gather informative trajectories.
  2. The Curse of Dimensionality: In high-dimensional systems (e.g., fluid flows or large-scale structures), the number of parameters in a policy network grows with the state dimension, requiring massive amounts of data to train.
  3. Latent Manifold Mismatch: Standard dimensionality reduction (like PCA or autoencoders) often fails because it prioritizes "high-energy" dynamics. In many systems, the unstable modes are initially "low-energy" and get ignored by generic latent models until it's too late.

Methods

The core idea is to identify the unstable latent manifold—the lowest-dimensional subspace that contains all the dynamics necessary for stabilization.

  • Manifold Identification: Instead of using trajectories (which are unstable), the authors use adjoint data. By computing vector-Jacobian products (using automatic differentiation tools like JAX), they find the left eigenvectors of the system's Jacobian at a steady state. These eigenvectors span the subspace $W$ where the instabilities live.
  • UMPO (Unstable Manifold Policy Optimization): The policy is designed to act only on the encoded latent state (dimension $n$) rather than the full state (dimension $N$). Since $n \ll N$, the policy network is much smaller and easier to train.
  • MF-UMPO (Multi-Fidelity UMPO): The authors take this further by creating a cheap, linear surrogate model of the unstable dynamics. They pre-train the policy on this "low-fidelity" model and then fine-tune it on the "high-fidelity" full system.
Figure 1: Comparison between standard RL (top) and the proposed UMPO/MF-UMPO methods (bottom). The proposed methods act on a low-dimensional unstable manifold, reducing task complexity.

Datasets

The authors evaluated their approach on three challenging physical simulations:

  1. Allen-Cahn Equation: A nonlinear reaction-diffusion problem ($N=1000$, $n=1$).
  2. Tubular Reactor Model: Simulating combustion inside a tube ($N=998$, $n=2$).
  3. Toda Lattice: Modeling the vibrational behavior of crystal clusters ($N=1000$, $n=2$).

These systems are discretized to have high-dimensional state spaces, providing a rigorous test for the efficiency of the manifold approach.

Key Insights and Ideas

  • Minimalism is Key: You don't need to understand the whole system to stop it from crashing. By ignoring stable dynamics that don't require control, the optimization space becomes much smaller.
  • The PCA Trap: The paper demonstrates that generic latent manifolds (like those from PCA) can be catastrophic. As shown in Figure 3, a PCA-based model might capture the unstable eigenvalue but fail to capture how the controller affects the true system, leading to oscillations or divergence.
  • Theoretical Guarantee: The authors provide a theorem (Theorem 1) proving that a policy which stabilizes the linear latent surrogate is guaranteed to locally stabilize the full, nonlinear high-dimensional system.
Figure 2: The dimension of the unstable manifold is often orders of magnitude lower than the full dynamics or even generic latent dynamics.

Key Results

  • Efficiency: UMPO and MF-UMPO achieved speedups of 1.7x to 2.2x in terms of system queries compared to direct DDPG (Deep Deterministic Policy Gradient).
  • Performance: In the tubular reactor example, MF-UMPO achieved a stabilization result with three orders of magnitude smaller deviation from the desired state than standard RL.
  • Scalability: As shown in Figure 10, the training time for the manifold-based approach remains nearly constant even as the full system dimension $N$ increases, whereas standard RL training time scales poorly.
Figure 10: Training time for UMPO-MA is independent of the state dimension N, demonstrating its power for high-dimensional systems.

Limitations and Future Work

  • Chaotic Systems: The authors note that for chaotic systems, the dimension of the unstable manifold might scale linearly with the state dimension $O(N)$. In such cases, this specific manifold approach may not offer significant dimensionality reduction.
  • Local vs. Global: The manifold is identified based on a linearization around a steady state. While it works for local stabilization, it might not hold for systems requiring large-scale global maneuvers far from the equilibrium point.
  • Future Directions: Extending this to systems where the steady state is unknown or where the manifold must be learned entirely from data (without adjoints) remains an open challenge.

Summary updated

BibTeX
@inproceedings{werner2024system,
  author = {Steffen W. R. Werner and Benjamin Peherstorfer},
  title = {{System stabilization with policy optimization on unstable latent manifolds}},
  booktitle = {Computer},
  year = {2024},
  doi = {10.1016/j.cma.2024.117483},
}
Figure