JOURNAL ARTICLE

BarrierNet: Differentiable Control Barrier Functions for Learning of Safe Robot Control

Wei XiaoTsun-Hsuan WangRamin HasaniMakram ChahineAlexander AminiXiao LiDaniela Rus

Year: 2023 Journal:   IEEE Transactions on Robotics Vol: 39 (3)Pages: 2289-2307   Publisher: Institute of Electrical and Electronics Engineers

Abstract

Many safety-critical applications of neural networks, such as robotic control, require safety guarantees. This article introduces a method for ensuring the safety of learned models for control using differentiable control barrier functions (dCBFs). dCBFs are end-to-end trainable and guarantee safety. They improve over classical control barrier functions (CBFs), which are usually overly conservative. Our dCBF solution relaxes the CBF definitions by: 1) using environmental dependencies; 2) embedding them into differentiable quadratic programs. These novel safety layers are called a BarrierNet. They can be used in conjunction with any neural network-based controller. They are trained by gradient descent. With BarrierNet, the safety constraints of a neural controller become adaptable to changing environments. We evaluate BarrierNet on the following several problems: 1) robot traffic merging; 2) robot navigation in 2-D and 3-D spaces; 3) end-to-end vision-based autonomous driving in a sim-to-real environment and in physical experiments; 4) demonstrate their effectiveness compared to state-of-the-art approaches.

Keywords:
Differentiable function Robot Controller (irrigation) Computer science Embedding Control engineering Artificial neural network Control theory (sociology) Control (management) Trajectory Gradient descent Robot control Robotics Artificial intelligence Mobile robot Engineering Mathematics

Metrics

83
Cited By
21.20
FWCI (Field Weighted Citation Impact)
72
Refs
0.99
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Adversarial Robustness in Machine Learning
Physical Sciences →  Computer Science →  Artificial Intelligence
Autonomous Vehicle Technology and Safety
Physical Sciences →  Engineering →  Automotive Engineering
Reinforcement Learning in Robotics
Physical Sciences →  Computer Science →  Artificial Intelligence
© 2026 ScienceGate Book Chapters — All rights reserved.