Paper commentary
Blending Neural Control Density Functions for Stabilization and Safety
Blended density functions certify stability and safety where Lyapunov functions cannot
- Problem Lyapunov certificates cannot be blended across different controller pairs, and they fail when a system has several stable and unstable equilibria. Neural controllers often rely on them anyway.
- Method Blending Neural Control Density Functions parametrizes the density exponentially, so the integrability condition holds by construction. Blended controllers sum the constituent densities and average the controls, and a falsifier adds counterexamples back to training.
- Results The authors prove that the blended controller's region of attraction contains the union of the constituent regions. The result does not guarantee non-positive divergence, so a Lyapunov function cannot always be recovered.
Why Lyapunov certificates fall short for blending
Neural controllers are often certified with Lyapunov functions, which can't be combined across different controller and certificate pairs. Lyapunov functions also fail when a system has several stable and unstable equilibria. Because of this, the authors look for a certificate that is easier to blend and that tolerates such equilibria.
Density functions and almost-everywhere stability
The certificate needs a non-negative density whose product with the vector field, divided by the norm of the state, is integrable outside the unit ball, and whose divergence is positive almost everywhere. For control synthesis, the divergence condition becomes linear in the pair of density and density-weighted control, which is why the search can be convex.
Making the integrability condition hold by construction
The authors write the density as a neural network a(x) divided by an exponential of the squared norm of x plus the squared norm of b(x), and the control weight in the same way with c(x). The exponential in the denominator grows faster than the vector field can, so the ratio stays integrable when the growth bounds in Proposition 5.1 hold. Since the bounds are met by bounded activations like tanh or sigmoid with Lipschitz dynamics, the authors argue the integrability condition is typically satisfied for this form.
Without this form, a plain learned product of networks can yield a non-negative density that still fails to stabilize the system.
The learning loop with a falsifier
Training minimizes a density risk over sampled states, penalizing negative density values and negative divergence of the density-weighted closed loop. After training, a falsifier searches for violating states with the SMT solver dReal, and any counterexample is added back to the training set. The loop repeats until the falsifier returns no violating state, at which point the density and control are output.
For the experiments, training used between 500 and 2000 samples, and the falsifier was called every 100 steps by default.
Why blending enlarges the region
The blended density is the sum of the constituent densities, and the blended control is their density-weighted average. Because the divergence condition is linear in the density, the blended system keeps a positive divergence wherever a constituent does. The authors prove that the union of the constituent sublevel regions lies inside the blended region of attraction.
The result doesn't mean the blended system has non-positive divergence, so a Lyapunov function can't always be recovered from the blended density.
Adding safety through control barrier functions
The authors combine the density condition with a control barrier function, so that the safe set is forward invariant. The Safe Density Loss adds to the density risk a penalty for states where the barrier condition fails. The falsifier then also reports counterexamples when the safety condition is violated outside a small neighbourhood of the origin.
What the experiments show
On the two-state system from Rantzer, the authors report that the neural density function certifies almost-everywhere stability, while a neural Lyapunov function fails. The system has four equilibria, which is why the authors treat it as a hard case. On path tracking the certified regions are comparable to those of Yang et al. (2024). On the three-state system with an unstable origin, the learned density pair is non-negative, which the authors present as an instability example.
Without the exponential parametrization the learned density is non-negative, but the controller does not stabilize the system.
For the inverted pendulum, the learning time was 3m 23s at a falsifier interval of 100 iterations and 3m 53s at 250. At 500 iterations it dropped to 23s, and at 750 it was 22.4s, so the time doesn't grow monotonically with the interval. For the Caltech ducted fan the learning time was 21m 24s, with the falsifier called every 100 iterations.
Limitations
The parametrization needs three neural networks to be optimized jointly, which can extend the time spent on falsification.
Paper info
- Authors
- Sahil Chaudhary, Chaitanya Murti, Chiranjib Bhattacharyya
- Venue
- International Conference on Machine Learning · Published
- First published
- 2026-9-29
- Added
- 2026-11-25
- Original paper terms
- Check in the original ↗
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Sahil Chaudhary, Chaitanya Murti, Chiranjib Bhattacharyya (2026). Blending Neural Control Density Functions for Stabilization and Safety. International Conference on Machine Learning. https://proceedings.mlr.press/v306/chaudhary26a.html
BibTeX
@article{chaudhary2026blending,
title = {{Blending Neural Control Density Functions for Stabilization and Safety}},
author = {Sahil Chaudhary and Chaitanya Murti and Chiranjib Bhattacharyya},
year = {2026},
journal = {International Conference on Machine Learning},
url = {https://proceedings.mlr.press/v306/chaudhary26a.html}
}