Safe Beyond the Horizon: Efficient Sampling-based MPC with Neural Control Barrier Functions

A common problem when using model predictive control (MPC) in practice is the satisfaction of safety specifications beyond the prediction horizon.While theoretical works have shown that safety can be guaranteed by enforcing a suitable terminal set constraint or a sufficiently long prediction horizon, these techniques are difficult to apply and thus are rarely used by practitioners, especially in the case of general nonlinear dynamics.To solve this problem, we impose a tradeoff between exact recursive feasibility, computational tractability, and applicability to "blackbox" dynamics by learning an approximate discrete-time control barrier function and incorporating it into a variational inference MPC (VIMPC), a sampling-based MPC paradigm.To handle the resulting state constraints, we further propose a new sampling strategy that greatly reduces the variance of the estimated optimal control, improving the sample efficiency, and enabling realtime planning on a CPU.The resulting Neural Shield-VIMPC (NS-VIMPC) controller yields substantial safety improvements compared to existing sampling-based MPC controllers, even under badly designed cost functions.We validate our approach in both simulation and real-world hardware experiments.Project website: https://mit-realm.github.io/ns-vimpc/. I. INTRODUCTIONModel Predictive Control (MPC) is a versatile control approach widely used in robotics applications such as autonomous driving [76], bio-inspired locomotion [12,35], or manipulation of deformable objects [59], to name just a few.These methods address safety by incorporating state and control constraints into the finite-horizon optimization problem, ensuring that the system remains safe over the prediction horizon [12,49,59,74].However, safety of the system beyond the prediction horizon is often overlooked by practitioners, potentially leading to the violations of safety constraints at future timesteps.This is a well-known problem in the field of MPC.The question of whether a sequence of safe control actions can always be found under an MPC controller has been studied extensively in the literature under the name of recursive feasibility [14,32,42,50,52].A simple method of achieving recursive feasibility is by enforcing a control-invariant terminal set constraint at the end of the prediction horizon [14,42].However, it is difficult to find such a control-invariant set for general nonlinear systems.Methods such as bounding the system dynamics [13,14,26] often result in over-conservative sets, while methods that numerically solve the Hamilton-Jacobi

Authors

Publication Details

Published
2025-06-21
DOI
https://doi.org/10.15607/rss.2025.xxi.112
Citations
1
Primary Topic
Advanced Control Systems Optimization
Type
article
Field-Weighted Citation Impact
1.21

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Safe Beyond the Horizon: Efficient Sampling-based MPC with Neural Control Barrier Functions

Chuchu Fan, Oswin So, Panagiotis Tsiotras, Ji Yin et al.
1 citations
Advanced Control Systems Optimization
1.21
article

Safe Beyond the Horizon: Efficient Sampling-based MPC with Neural Control Barrier Functions

Chuchu Fan, Oswin So, Panagiotis Tsiotras, Ji Yin, Eric Yu
article en
1 citations

Abstract

A common problem when using model predictive control (MPC) in practice is the satisfaction of safety specifications beyond the prediction horizon.While theoretical works have shown that safety can be guaranteed by enforcing a suitable terminal set constraint or a sufficiently long prediction horizon, these techniques are difficult to apply and thus are rarely used by practitioners, especially in the case of general nonlinear dynamics.To solve this problem, we impose a tradeoff between exact recursive feasibility, computational tractability, and applicability to "blackbox" dynamics by learning an approximate discrete-time control barrier function and incorporating it into a variational inference MPC (VIMPC), a sampling-based MPC paradigm.To handle the resulting state constraints, we further propose a new sampling strategy that greatly reduces the variance of the estimated optimal control, improving the sample efficiency, and enabling realtime planning on a CPU.The resulting Neural Shield-VIMPC (NS-VIMPC) controller yields substantial safety improvements compared to existing sampling-based MPC controllers, even under badly designed cost functions.We validate our approach in both simulation and real-world hardware experiments.Project website: https://mit-realm.github.io/ns-vimpc/. I. INTRODUCTIONModel Predictive Control (MPC) is a versatile control approach widely used in robotics applications such as autonomous driving [76], bio-inspired locomotion [12,35], or manipulation of deformable objects [59], to name just a few.These methods address safety by incorporating state and control constraints into the finite-horizon optimization problem, ensuring that the system remains safe over the prediction horizon [12,49,59,74].However, safety of the system beyond the prediction horizon is often overlooked by practitioners, potentially leading to the violations of safety constraints at future timesteps.This is a well-known problem in the field of MPC.The question of whether a sequence of safe control actions can always be found under an MPC controller has been studied extensively in the literature under the name of recursive feasibility [14,32,42,50,52].A simple method of achieving recursive feasibility is by enforcing a control-invariant terminal set constraint at the end of the prediction horizon [14,42].However, it is difficult to find such a control-invariant set for general nonlinear systems.Methods such as bounding the system dynamics [13,14,26] often result in over-conservative sets, while methods that numerically solve the Hamilton-Jacobi

National Science Foundation, Office of Naval Research
Openalex Percentile: Top 17%
Advanced Control Systems Optimization
1.21
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.