Predictive safety filter using system level synthesis

Antoine Leeman, Johannes Köhler, Samir Bennani, Melanie N. Zeilinger

Abstract

Safety filters provide modular techniques to augment potentially unsafe control inputs (e.g., from learning-based controllers or humans) with safety guarantees in the form of constraint satisfaction. In this paper, we present an improved model predictive safety filter (MPSF) formulation, which incorporates system level synthesis (SLS) techniques in the design. The resulting SL-MPSF scheme ensures safety for linear systems subject to bounded disturbances in an enlarged safe set. It requires less severe and frequent modifications of potentially unsafe control inputs compared to existing MPSF formulations to certify safety. In addition, we propose an explicit variant of the SL-MPSF formulation, which maintains scalability and reduces the required online computational effort—the main drawback of the MPSF. The benefits of the proposed system level safety filter formulations compared to state-of-the-art MPSF formulations are demonstrated using a numerical example.

Introduction

As autonomous systems increasingly rely on learning-based controllers like Reinforcement Learning (RL) or human-in-the-loop operations, ensuring rigorous safety becomes a primary challenge. While these controllers offer high performance, they often lack formal guarantees for constraint satisfaction, which is critical in safety-critical domains like aerospace and robotics.

Safety filters address this by acting as a modular "guardian" between the controller and the system. The filter monitors the desired control input $u_{des}$. If the input is deemed safe, it is passed through; otherwise, the filter modifies it to the closest safe alternative. Traditional Model Predictive Safety Filters (MPSFs) often use fixed feedback gains to handle disturbances, which can lead to conservative behavior and a restricted safe operating range.

Methodology: System Level Synthesis for Safety

This research introduces two novel formulations based on System Level Synthesis (SLS), a framework that optimizes over the closed-loop response of a system rather than just the control inputs.

SL-MPSF (Online Optimization)

Unlike standard filters that rely on a pre-defined, rigid "tube" to account for disturbances, the SL-MPSF simultaneously optimizes the backup trajectory and the feedback policy at every time step. By treating the feedback policy as a decision variable, the filter can dynamically "shape" the system's response to noise. This flexibility significantly expands the set of states that can be mathematically certified as safe.

Explicit SL-MPSF (Offline Computation)

To overcome the computational overhead of online optimization, the authors developed an explicit version. By solving a Linear Program (LP) offline, they define a scalable safe set (an infinity-norm ball) and a corresponding backup control law. This reduces the runtime safety check to a simple arithmetic comparison, enabling high-speed application.

The decision logic of the safety filter determines whether to apply the desired input or a safe alternative based on the synthesized safety constraints.

Key Insights

  • Flexibility Reduces Conservativeness: By optimizing the feedback policy online, the SL-MPSF achieves a safe set that approaches the theoretical limit of the Robust Control Invariant (RCI) set.
  • Minimal Intervention: The increased flexibility allows the filter to interfere less with the primary controller, preserving the performance of the underlying RL agent or human operator.
  • Computational Trade-offs: The online SL-MPSF provides the largest safe set but is computationally intensive. The Explicit SL-MPSF offers a massive speedup (approx. 1,000x) at the cost of some conservativeness.

Results and Evaluation

The proposed methods were evaluated using a numerical simulation of a double integrator system, representing spacecraft rotation. The results highlight the trade-offs between safety set size and computational efficiency:

  • Safe Set Size: The SL-MPSF safe set was significantly larger than the standard MPSF set, covering almost the entire theoretically possible safe region.
  • Intervention Severity: The SL-MPSF required less aggressive modifications to control inputs, allowing the primary controller to maintain higher performance.
  • Computational Speed:
    • Standard MPSF: ~4.8 ms
    • SL-MPSF (Online): ~65.7 ms (roughly 10x slower than standard due to increased complexity).
  • Explicit SL-MPSF: ~0.031 ms (roughly 1,000x faster than the online version).

Conclusion and Future Work

The integration of System Level Synthesis into safety filtering provides a powerful tool for robust control. While currently limited to linear systems with bounded disturbances, the approach offers a clear path toward less conservative and more efficient safety guarantees. Future research aims to extend these SLS-based techniques to nonlinear systems, potentially leveraging advancements in nonlinear SLS to handle more complex dynamics like those found in agile robotics.

Summary updated

BibTeX
@inproceedings{leeman2023predictive,
  author = {Antoine Leeman and Johannes Köhler and Samir Bennani and Melanie N. Zeilinger},
  title = {{Predictive safety filter using system level synthesis}},
  booktitle = {L4DC},
  year = {2023},
  url = {https://openreview.net/forum?id=wqvNgX2Q4O},
}
Figure