Composite-CBF
A neural control barrier function: a smooth composition of safety constraints minus a non-negative MLP.
Reinforcement learning and control · 67 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 232.2K
- Operations
- 67
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2024
- Cited by
- 10 (as of 15 November 2026)
- Authors
- Lakshmideepakreddy Manda, Shaoru Chen, Mahyar Fazlyab
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m15400
- Graph hash
- 51d58d1abad73d75e1a17dc8d1cfd1c36da02e381271b50c6b1db2f84d8f0dc7
- Skeleton hash
- 4c85615f5e69d68299840920c33b0c1a73978dae9a3a56a5725df9cab8cbb716
- Architecture hash
- dd9667c0f8d781de121e744de4d12f8c3eca0afaa8fbecf330720b92bed755de
- Diagram SHA-256
- d1d4107374846ad2ef1a03e7818fc2edca5721f96e4a491d04fb63ca7d06405d
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
Composite-CBF learns a neural network control barrier function (CBF) that satisfies complex safety constraints, such as constraints combined by logical operations. A CBF yields an online safety filter, called CBF-QP, that corrects a reference controller so that the system remains in a safe control invariant set.
The constraints are first composed with min and max operators, and those operators are then replaced by smooth log-sum-exponential bounds. The CBF candidate is that smooth function minus a non-negative multi-layer perceptron, so its safe set sits inside the smoothed safe set by construction. The last layer starts at zero, so that training begins from the constraint function itself.
Training minimizes a physics-informed loss based on a Hamilton-Jacobi partial differential equation, designed to maximize the volume of the resulting control invariant set. Only sampled state points are needed, which is why the authors describe the training as self-supervised. The paper names the framework PINN-CBF and tests it on a 2D double integrator and a 7D fixed-wing aircraft system.
Key idea. The paper parameterizes a control barrier function as a smooth composition of safety constraints combined with a neural network and trains it with a Hamilton-Jacobi PDE loss.
- Composite-CBF
- PINN-CBF
- control barrier function
- neural CBF
- safety filter
- Hamilton-Jacobi reachability
- control invariant set
- CBF-QP
- safe control
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{manda2024learningperformanceorientedcontrolbarrier,
title={Learning Performance-Oriented Control Barrier Functions Under Complex Safety Constraints and Limited Actuation},
author={Lakshmideepakreddy Manda and Shaoru Chen and Mahyar Fazlyab},
year={2024},
eprint={2401.05629},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2401.05629},
}