# Blending Neural Control Density Functions for Stabilization and Safety

Blended density functions certify stability and safety where Lyapunov functions cannot

Sahil Chaudhary, Chaitanya Murti, Chiranjib Bhattacharyya · International Conference on Machine Learning · 2026-9-29

- **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 ↗](https://proceedings.mlr.press/v306/chaudhary26a.html)
- **What we show**: Paper info and commentary

[Original paper ↗](https://proceedings.mlr.press/v306/chaudhary26a.html)

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}
}
```

## Related papers

- [Safe Physical Interaction of All-Electric Heavy-Duty Robotic Manipulators via Control Barrier Functions and Variable Impedance Control](https://refivu.com/en/papers/70e5bef1-5121-4bd7-b62f-aeff21e77c5e-safe-physical-interaction-of-all-electric-heavy-duty.md)
- [SafeLab: An Interactive High-Fidelity Benchmark for Embodied Safety in Scientific Robotics](https://refivu.com/en/papers/be991429-89d9-451a-b63f-ed2c214300b0-safelab-an-interactive-high-fidelity-benchmark-for-embodied.md)

## Other paper commentary

- [Enforcing Ellipsoidal Constraints in Neural Networks with a Polynomial Safety Layer](https://refivu.com/en/papers/8a56d4c9-6361-4734-9055-b7d7f681f127-enforcing-ellipsoidal-constraints-in-neural-networks-with-a.md)
- [Concrete Problems in AI Safety](https://refivu.com/en/papers/a0a18b13-f86b-4c61-807b-da6798f08495-concrete-problems-in-ai-safety.md)
- [WebGPT: Browser-assisted question-answering with human feedback](https://refivu.com/en/papers/b41258c0-ce1e-478c-ad2b-6bccd936ae34-webgpt-browser-assisted-question-answering-with-human.md)
- [Constitutional AI: Harmlessness from AI Feedback](https://refivu.com/en/papers/91e9437c-36ce-49cd-965c-18d9ca4664d6-constitutional-ai-harmlessness-from-ai-feedback.md)
- [Direct Preference Optimization: Your Language Model is Secretly a Reward Model](https://refivu.com/en/papers/b96eaaaa-8c14-4a06-93bf-d13e70a14b14-direct-preference-optimization-your-language-model-is.md)
- [Effective Model Pruning : Measuring the Redundancy of Model Components](https://refivu.com/en/papers/1e8cd0f7-b3bc-4b55-a972-43c970121d81-effective-model-pruning-measuring-the-redundancy-of-model.md)
- [Parameterized Approximation Schemes for Fair-Range Clustering](https://refivu.com/en/papers/1e2cf97c-5ebf-4133-85a3-7501f564354d-parameterized-approximation-schemes-for-fair-range.md)
- [ProSST: Protein Language Modeling with Quantized Structure and Disentangled Attention](https://refivu.com/en/papers/1e763f88-1816-4af3-b7f6-f9f54f343798-prosst-protein-language-modeling-with-quantized-structure.md)
- [Guidance: Sentence-Level Citation Enforcement via Prefix-Tail Guidance during LLM Decoding](https://refivu.com/en/papers/c6e6fc4c-6baf-4bb3-a414-a5eba7ff863c-guidance-sentence-level-citation-enforcement-via-prefix-tail.md)
- [Beyond Rigid Hands: Deforming Skin into Contact-Consistent Hand Meshes](https://refivu.com/en/papers/0a4136c6-faea-47d3-8747-2cc7c563762d-beyond-rigid-hands-deforming-skin-into-contact-consistent.md)
- [Reproducing the Speech Labels of Qwen3-Omni's Talker: Mimi in bf16, and a Last-Frame Pitfall](https://refivu.com/en/papers/f3ee984a-ec3a-4882-9798-a3a6875352e6-reproducing-the-speech-labels-of-qwen3-omni-s.md)
- [Mind the Band: The Hidden Frequency Variable in Geometric RoPE](https://refivu.com/en/papers/ebeaeacb-f253-4b74-b2c3-d8a5163f9509-mind-the-band-the-hidden-frequency-variable-in.md)

## Terms in this paper

- [control barrier function](https://refivu.com/en/terms/d472eafafd6f-control-barrier-function)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/2b6e127e-d8b0-4e8d-b78b-426f1ca3ea83-blending-neural-control-density-functions-for-stabilization)
