PAC-Bayesian Optimal Control with Stability and Generalization Guarantees

Mahrokh Ghoddousi Boroujeni, Clara Lucía Galimberti, Andreas Krause, Giancarlo Ferrari-TrecatearXiv 2025 · DOI

Introduction

Stochastic Nonlinear Optimal Control (SNOC) represents a fundamental challenge in robotics and control theory: designing controllers for nonlinear systems that minimize costs across a spectrum of random disturbances. Traditionally, engineers rely on the empirical cost—the average performance over a finite set of noise samples. However, this approach risks overfitting, where a controller performs exceptionally well on training data but fails or becomes unstable when encountering novel real-world disturbances.

The PAC-SNOC Framework

To address these challenges, the authors introduce PAC-SNOC, a framework that provides rigorous generalization bounds. This ensures that a controller trained on finite data will perform reliably on unseen noise. The framework is built on three pillars:

  1. PAC-Bayesian Generalization Bounds: Adapting statistical learning theory to provide safety certificates for single controller instances sampled from a posterior distribution.
  2. Stability-by-Design: Utilizing neural architectures like Recurrent Equilibrium Networks (RENs) and Structured State-Space Models (SSMs) that are mathematically constrained to be stable. By defining the posterior distribution only over the space of stabilizing parameters, the authors ensure that the probability of an unstable controller is zero.
  3. Approximate Inference: Employing Stein Variational Gradient Descent (SVGD) and Normalizing Flows to make the calculation of optimal control distributions (the Gibbs posterior) computationally tractable.

Two-Stage Inference

A significant contribution of this work is the "two-stage" inference approach. In standard PAC-Bayesian settings, a prior is chosen before seeing any data. PAC-SNOC improves upon this by using a portion of the training data to learn a "data-driven prior," which is then used with the remaining data to compute the final posterior. This technique significantly tightens the resulting generalization bounds, making them more useful for practical engineering.

Comparison of single-stage and two-stage approaches for posterior estimation.

Key Results and Empirical Validation

The framework was tested on systems ranging from simple linear models to complex multi-agent navigation tasks involving high-dimensional controllers (over 10,000 parameters).

In the multi-agent navigation task, PAC-SNOC reduced collision rates from 5% (with standard empirical methods) to less than 1% on unseen data. Furthermore, the derived theoretical upper bounds were shown to be valid and increasingly tight as the number of training sequences ($s$) increased, providing a reliable safety certificate for deployment.

True cost and theoretical upper bounds as a function of training sample size.

Conclusion and Future Work

PAC-SNOC bridges the gap between high-capacity machine learning controllers and the rigorous safety requirements of control theory. By merging stability constraints directly into the probabilistic learning process, it provides a path toward deploying neural controllers with mathematical guarantees of reliability. Future work will look to extend these results to infinite-horizon tasks and further reduce the conservatism of the theoretical bounds to allow for even more confident real-world deployments.

Reference: Boroujeni, M. G., Galimberti, C. L., Krause, A., & Ferrari-Trecate, G. (2025). PAC-Bayesian Optimal Control with Stability and Generalization Guarantees. arXiv:2512.02858v1.

Summary updated

BibTeX
@misc{boroujeni2025pac,
  author = {Mahrokh Ghoddousi Boroujeni and Clara Lucía Galimberti and Andreas Krause and Giancarlo Ferrari-Trecate},
  title = {{PAC-Bayesian Optimal Control with Stability and Generalization Guarantees}},
  year = {2025},
  eprint = {2512.02858},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.02858},
}
Figure