NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

KPC: Learning-Based Model Predictive Control with Deterministic Guarantees

Yuning Jiang, Emilio Tanowe Maddalena, Paul Scharnhorst, Yuning Jiang 0002, Colin N. Jones

Abstract

Kernel Predictive Control (KPC) is a novel learning-based control strategy designed to provide deterministic safety guarantees for unknown nonlinear systems. By training separate kernel-based models for every step in the prediction horizon, KPC sidesteps the "uncertainty explosion" typically caused by propagating error bounds through complex nonlinear maps. This paper outlines the KPC framework, which utilizes Kernel Ridge Regression (KRR) with deterministic error bounds and a Safe Relaxation Strategy (SRS) to ensure real-time feasibility and robust safety in high-stakes engineering applications.

Introduction

In modern robotics and industrial automation, controlling systems with complex, unknown physics often requires learning-based approaches. However, a significant hurdle remains: Safety. Standard Model Predictive Control (MPC) relies on mathematical models to ensure systems operate within safe constraints. When these models are learned from noisy data, they introduce errors. Existing methods frequently employ Gaussian Processes (GPs) to manage this uncertainty, but GPs only provide probabilistic guarantees (e.g., 99% safety). In safety-critical engineering, such as chemical processing or autonomous flight, probabilistic safety is often insufficient.

Furthermore, even with accurate one-step error bounds, "propagating" that uncertainty over a multi-step horizon is mathematically challenging. In recursive models, uncertainty sets typically grow so large and conservative that the controller becomes paralyzed, unable to find a feasible safe path. KPC addresses these issues by moving from recursive to direct multi-step prediction.

Methodology

The Kernel Predictive Control (KPC) framework is built upon three primary pillars designed to ensure robustness and computational tractability.

1. Kernel Ridge Regression (KRR) with Deterministic Bounds

Unlike the stochastic framework of GPs, KPC utilizes Kernel Ridge Regression. By assuming that noise in the training data is bounded rather than Gaussian, the authors leverage mathematical bounds to calculate a "worst-case" prediction error for any given input. This provides the deterministic foundation necessary for ironclad safety guarantees.

2. Multi-Step Predictors

This is the core innovation of KPC. Instead of learning a single model ($x_{t+1} = f(x_t, u_t)$) and looping it recursively, KPC learns $N$ distinct models. Each model is trained to predict a specific step in the future (e.g., one model for 1 step ahead, another for 2 steps, etc.). This allows the controller to build "confidence rectangles" around each future state directly.

Comparison between recursive prediction (grey) and KPC's direct multi-step prediction (black) with associated confidence sets.

As illustrated in the figure above, this direct approach avoids the need to push a set through a nonlinear function repeatedly, preventing the accumulation of approximation errors that typically leads to over-conservative control actions.

3. Safe Relaxation Strategy (SRS)

Optimization problems with strict safety constraints can be "brittle" and prone to infeasibility in real-time. The authors propose the Safe Relaxation Strategy, which uses data from previous successful control steps to safely "weaken" current constraints when necessary. This ensures the optimization problem remains solvable in real-time without sacrificing the underlying safety of the system.

Experimental Evaluation

The KPC method was evaluated using two classic simulated benchmarks in control theory:

  • Continuous Stirred-Tank Reactor (CSTR): A highly nonlinear chemical process where chemical concentrations must be strictly maintained within specific bounds to prevent hazardous outcomes.
  • Pendulum with a Rigid Rod: A mechanical system used to test the controller's ability to respect angular velocity limits during dynamic maneuvers.

For both benchmarks, the authors generated random datasets of 300–500 state-action pairs to train the kernel models, demonstrating that KPC can be effective even with relatively small datasets.

Key Results and Insights

  • Deterministic Safety: In the pendulum benchmark, a nominal controller ignoring uncertainty consistently violated safety constraints. In contrast, KPC successfully maintained the system within limits at every time step.
  • Robustness to Noise: The deterministic bounds held true even when training data was corrupted by noise, validating the KRR-based error estimation.
  • Computational Feasibility: By reformulating complex set-inclusion constraints into simple linear inequalities, the authors demonstrated that KPC is efficient enough to run on real-time hardware. The SRS further ensured that the optimization remained feasible as the system explored different regions of the state space.

Discussion and Future Work

While KPC offers a significant advancement in safe learning-based control, several areas for future research remain. The computational cost of kernel methods scales cubically with the number of data points, suggesting that sparsification or Support Vector Regression (SVR) may be necessary for larger-scale applications. Additionally, the error bounds rely on a complexity constant ($\Gamma$) of the true system; accurately estimating this from noisy data is critical, as underestimation could compromise safety guarantees. Finally, while the current work guarantees safety, formal proofs of convergence (stability) under all conditions represent a natural next step for the KPC framework.

Summary updated

BibTeX
@inproceedings{jiang2021kpc,
  author = {Yuning Jiang and Emilio Tanowe Maddalena and Paul Scharnhorst and Yuning Jiang and Colin N. Jones},
  title = {{KPC: Learning-Based Model Predictive Control with Deterministic Guarantees}},
  booktitle = {L4dc},
  year = {2021},
}
Figure