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

Differentiable Predictive Control for Robotics: A Data-Driven Predictive Safety Filter Approach

John Viljoen, Wenceslao Shaw-Cortez, Ján Drgona, Sebastian East, Masayoshi Tomizuka, Draguna L. VrabiearXiv 2024 · DOI

Introduction

Model Predictive Control (MPC) is the industry standard for robotic navigation because it handles constraints—such as obstacle avoidance—effectively. However, MPC is computationally intensive, requiring the solution of complex optimization problems in real-time. Differentiable Predictive Control (DPC) addresses this by training a neural network offline to mimic MPC behavior, resulting in significantly faster execution.

Despite its speed, DPC faces two critical challenges: the "Safety Gap," where neural networks lack strict guarantees, and the "Learning Signal Problem," where complex dynamics (like a quadcopter's tilt-to-move requirement) make it difficult for networks to learn effective control laws. This paper presents a framework to overcome these hurdles using dynamics decomposition and a data-driven Predictive Safety Filter (PSF).

Methodology

The authors propose a three-tiered solution to enable reliable, high-speed control:

Dynamics Decomposition

The robot's physics are decomposed into two subsystems. This ensures the neural network handles a subsystem with a "well-defined" relationship between inputs and outputs, providing a clear gradient for learning, while a classical controller manages the remaining complexity.

Safe Set Generation and Safety Filtering

As shown in the system architecture (Figure 1), the framework generates a "safe set" from successful training trajectories. This set, represented as a convex hull, defines the operational boundaries where the controller is known to be effective.

Overview of the DPC framework architecture, illustrating the integration of dynamics decomposition, safe set generation, and the predictive safety filter.

The Predictive Safety Filter (PSF) serves as a real-time guardrail. If the DPC policy proposes an action that would lead the robot out of the safe set, the PSF intervenes. To maintain the speed advantages of DPC, the filter uses a first-order approximation (linearization) of the policy, allowing it to run nearly as fast as the neural network itself.

The Predictive Safety Filter uses hyperplane approximations to keep trajectories within the safe set boundaries.

Key Results and Insights

The framework was tested on a quadcopter in navigation and trajectory tracking tasks, including adversarial scenarios.

  • Speed: The DPC + PSF approach was three orders of magnitude (1,000x) faster than standard Nonlinear MPC (NMPC).
  • Safety: In adversarial navigation tests, the PSF successfully prevented crashes that occurred with standard DPC.
  • Efficiency: The learned policy achieved lower costs than traditional variable-timestep MPC, demonstrating high control quality.

Conclusion

By using training data to define safety boundaries and employing a fast, linearized safety filter, this approach makes DPC a viable and safe option for high-speed robotics. While current safety guarantees are practical rather than absolute due to convexity assumptions, the method significantly reduces the computational burden of safe control. Future research will explore real-world hardware implementation and more complex robotic systems.

Summary updated

BibTeX
@misc{viljoen2024differentiable,
  author = {John Viljoen and Wenceslao Shaw-Cortez and Ján Drgona and Sebastian East and Masayoshi Tomizuka and Draguna L. Vrabie},
  title = {{Differentiable Predictive Control for Robotics: A Data-Driven Predictive Safety Filter Approach}},
  year = {2024},
  eprint = {2409.13817},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.13817},
}
Figure