Latent Representations for Control Design with Provable Stability and Safety Guarantees

Paul Lutkus, Kaiyuan Wang, Lars Lindemann, Stephen Tu · DOI

Introduction

In modern control theory, ensuring that a system is stable (converges to a desired state) and safe (avoids forbidden regions) is paramount. Traditionally, these properties are verified using "certificates"—mathematical constructs such as Lyapunov functions for stability and Control Barrier Functions (CBFs) for safety. However, as systems grow in complexity and dimensionality, finding these certificates becomes computationally intractable, often categorized as an NP-hard problem.

While machine learning has popularized the use of latent representations—compressing high-dimensional data into lower-dimensional manifolds via autoencoders—a critical gap remains. Most latent-space control methods are empirical; they lack the formal proofs required for safety-critical applications. This paper introduces a rigorous mathematical framework to bridge this gap, allowing controllers designed in simplified latent spaces to provide formal guarantees for the original high-dimensional systems.

The Framework: Approximate Dynamics Conjugacy

The central contribution of this work is the concept of Approximate Dynamics Conjugacy. This framework quantifies the relationship between the complex "real-world" dynamics and the simplified latent model. The authors define two primary types of conjugacy:

  1. Forward Conjugacy: This measures how well the latent model predicts the evolution of a state after it has been encoded from the original space.
  2. Backward Conjugacy: This measures how closely the real system's behavior matches the decoded trajectory of the latent model.

By bounding the "mismatch" or conjugacy error (denoted as $\gamma$), the authors derive Transfer Lemmas. These lemmas prove that if a controller possesses a stability or safety certificate in the latent space, those properties are preserved in the original space, subject to a calculable error margin.

Bridging the Gap: Transfer Lemmas and Practical Stability

A significant challenge in latent-space control is the existence of an encoder "nullspace," where multiple high-dimensional states map to a single latent point. Consequently, proving point-stability (returning to a single exact coordinate) is often impossible. Instead, the authors focus on Practical Stability. They prove that the system will converge to a set of states—specifically, the set of all points that the encoder maps to the origin.

To implement this, the researchers developed specialized loss functions for training neural network encoders and decoders. Unlike standard autoencoders that minimize reconstruction error, these loss functions specifically penalize the conjugacy errors that would invalidate the stability and safety proofs. This ensures that the learned geometry of the latent space is conducive to control design.

Experimental Evaluation

The framework was validated using two distinct simulated environments:

1. Stability in the Cartpole System

The authors applied their theory to the classic 4D cartpole balancing problem. By training a 2D latent representation, they successfully calculated a Region of Attraction in the original 4D space. This region represents the set of initial conditions from which the system is mathematically guaranteed to stabilize, demonstrating that complex 4D stability can be managed through a 2D proxy.

2. Safety in Multi-Vehicle Collision Avoidance

To test safety guarantees, a 6D system involving two vehicles was used. The goal was to maintain a minimum safety distance (collision avoidance). Using a structured encoder based on physical principles, the latent-space controller maintained safety even when subjected to adversarial disturbances—noise specifically designed to force a system failure.

Results and Insights

The study confirms that the theoretical "worst-case" bounds derived from the Transfer Lemmas are "reasonably tight." While the mathematical guarantees are inherently more conservative than empirical performance (i.e., the systems often performed better than the proofs required), the bounds provide a reliable engineering margin for real-world deployment.

The paper emphasizes that for these guarantees to hold, the latent space must preserve specific geometric properties. The Jacobian of the encoder must be well-behaved relative to the system dynamics, reinforcing the idea that "good-looking" reconstructions are insufficient for robust control.

Limitations and Future Work

Despite its success, the framework has limitations that pave the way for future research:

  • Conservatism: The current bounds, while useful, are still conservative. Future work aims to refine these proofs to reduce the gap between theoretical guarantees and actual performance.
  • Full Observability: The current model assumes the full state of the system is known. Extending this to partial observability—such as controlling a system directly from raw pixel data—is a high-priority next step.
  • Multi-step Error Analysis: The current conjugacy definitions are based on single-step transitions. Incorporating multi-step "look-ahead" errors during training could lead to tighter bounds and more robust controllers.
  • Stochasticity: Moving toward probabilistic conjugacy would allow the framework to handle inherent noise and uncertainty in learned models more effectively.

By providing a formal bridge between high-dimensional data and low-dimensional control, this work moves latent-space modeling from an empirical tool to a mathematically grounded methodology for safe and stable autonomous systems.

Summary updated

BibTeX
@inproceedings{lutkus2025latent,
  author = {Paul Lutkus and Kaiyuan Wang and Lars Lindemann and Stephen Tu},
  title = {{Latent Representations for Control Design with Provable Stability and Safety Guarantees}},
  booktitle = {CDC},
  year = {2025},
  doi = {10.1109/cdc57313.2025.11312739},
}
Figure