Differentiable Predictive Control with Safety Guarantees: A Control Barrier Function Approach

Wenceslao Shaw Cortez, Jan Drgona, Aaron Tuor, Mahantesh Halappanavar, Draguna Vrabie
8/3/2022
eess.SYcs.LG

Official code: pnnl/neuromancer (1,397 stars, Python, PyTorch, last commit 2026-04-19).

Abstract

We develop a novel form of differentiable predictive control (DPC) with safety and robustness guarantees based on control barrier functions. DPC is an unsupervised learning-based method for obtaining approximate solutions to explicit model predictive control (MPC) problems.

Show full abstract

In DPC, the predictive control policy parametrized by a neural network is optimized offline via direct policy gradients obtained by automatic differentiation of the MPC problem. The proposed approach exploits a new form of sampled-data barrier function to enforce offline and online safety requirements in DPC settings while only interrupting the neural network-based controller near the boundary of the safe set. The effectiveness of the proposed approach is demonstrated in simulation.

View on arXivView PDF

Code Implementations(1)

pnnl/neuromancerOfficial100%
PyTorch

Pytorch-based framework for solving parametric constrained optimization problems, physics-informed system identification, and parametric model predictive control.

1,397189Python, CudaOct 14, 20207 months agoNOASSERTION
constrained-optimizationcontrol-systemsdeep-learningdifferentiable-controldifferentiable-optimization+6 more

Similar Papers

Cite this paper

@article{cortez2022differentiable,
  title  = {Differentiable Predictive Control with Safety Guarantees: A Control Barrier Function Approach},
  author = {Wenceslao Shaw Cortez and Jan Drgona and Aaron Tuor and Mahantesh Halappanavar and Draguna Vrabie},
  year   = {2022},
  eprint = {2208.02319},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.02319}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.02319.svg)](https://codeofpaper.com/paper/2208.02319)

Discussion