# Distilling Safety Filters for Filter-free Multi-agent RL

Srikar Babu Gadipudi, Somayeh Sojoudi, Claire J. Tomlin · arXiv · 2026-11-14

- **Problem** Filter-based training keeps robot teams collision-free, but the centralized quadratic program behind the filter grows with team size, and the filter also hides unsafe actions from learning, so removing it at deployment creates a train-deploy mismatch.
- **Method** Learns the policy only from executed safe actions with implicit Q-learning, distills the training filter into the actor at synthetic near-collision states, and deploys an attention-based actor on local observations with no filter.
- **Results** With local observation and no filter, the method recorded no collisions in 1,800 simulated test episodes across both dynamics models and three settings.

![Figure 3: Zero-shot scaling of the 3-agent DI policies (local sensing) to up to 20 agents with 2 obstacles, without the filter, in simulation. (a, b) Mean of 3…](https://refivu.com/papers/21f25915-d36f-4f26-a265-4e45ef0cc511/figures/figure-945b2a31ef5fc2472a445e2e966cafb8.png?thumb=512)

**Figure 3** : Zero-shot scaling of the 3-agent DI policies (local sensing) to up to 20 agents with 2 obstacles, without the filter, in simulation. (a, b) Mean of 3 seeds×100 episodes; band: per-seed range. (c) Median per-step compute on one CPU thread: agent’s policy versus joint CBF-QP.

[Original paper](https://arxiv.org/abs/2611.19190v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Srikar Babu Gadipudi, Somayeh Sojoudi, Claire J. Tomlin · Distilling Safety Filters for Filter-free Multi-agent RL · Original paper figure · Extracted the figure area from page 9 of the original PDF.

## Why a training filter cannot simply be dropped

Robot teams that learn by trial and error collide during training, and a control barrier function filter can prevent those collisions by correcting each proposed action before it is executed.

Removing the filter after training creates a distribution mismatch, because the policy was learned under filtered transitions and is then run under unfiltered ones.

The filter also hides what the policy has to learn. The cost of unsafe actions never appears in the data, and states close to a collision are kept out of the training set. The problem is therefore to keep the filter's safety during training while producing a policy that behaves safely without it.

## The centralized barrier filter

Each agent-obstacle constraint uses a barrier of the form \\(h\_{i,o}=\\lVert p\_i-c\_o\\rVert-(r\_o+r+\\rho)\\), where \\(c\_o\\) and \\(r\_o\\) are the obstacle centre and radius. Wall and agent-agent barriers follow the same pattern, with a separate margin \\(\\rho\_{\\text{pair}}\\) for pairs. The tightened safe set collects the states where every barrier is nonnegative, and a control barrier function condition keeps that set forward invariant along trajectories.

For single-integrator agents the condition becomes an affine constraint \\(a\_c(x)^{T}u\\ge b\_c(x)\\) on the joint control, with \\(a\_c=\\nabla h\_c\\) and \\(b\_c=-\\alpha h\_c\\). Double-integrator agents use a high-order version of the same idea. The filter solves a quadratic program that keeps the joint action close to the raw proposal, and only its solution is executed.

Under single-integrator dynamics the constraints are hard, whereas under double-integrator dynamics the authors add a penalized slack so that the program stays feasible when an agent is already heading toward an obstacle.

## Extracting the policy from executed safe actions

Because many raw actions produce one executed action and one transition, the critic cannot tell them apart, a effect the authors call action aliasing. An actor-critic method that maximizes over raw proposals can then favour proposals whose consequences the filter had already corrected. The authors therefore fit the critics only to executed safe actions, which are the only actions present in the replay buffer.

The centralized critics \\(Q^i\_{\\phi\_k}\\) are regressed on \\(r\_i+\\gamma V^i\_\\psi(o')\\), and the value functions \\(V^i\_\\psi\\) are fit with an expectile loss \\(\\ell\_\\tau(z)=\|\\tau-\\mathbf{1}\[z\<0\]\|z^2\\). The value therefore never maximizes over actions that are absent from the buffer. Because IQL bootstraps from \\(V\_\\psi(o')\\) rather than from policy-sampled next actions, it avoids the need for a joint filter at every bootstrap step, which other offline methods would require.

The actor is extracted by advantage-weighted regression: \\(\\tanh\\mu\_\\theta(o\_i)\\) is regressed onto \\(u^{\\text{safe}}\_i/u\_{\\max}\\) with weights \\(W\_i\\propto\\exp(\\beta A\_i)\\), where \\(A\_i=Q^i\_\\phi(o,u^{\\text{safe}})-V^i\_\\psi(o)\\).

## Supervising the actor at states the buffer lacks

The filter prevents collisions, so the replay buffer seldom holds the near-collision states that an unfiltered policy may reach. Off-support distillation draws states from a distribution \\(D\_q\\) that mixes synthetic boundary states (40%), buffer states (30%) and perturbed buffer states (30%).

Each sampled state is labelled by the training filter, \\(y(x)=\\Pi\_x(u^{\\text{ref}}(x))\\), where the reference controller is goal-directed and includes a tangential component against deadlock. The label is computed without executing any action, so the learner's own action is never applied in the environment, unlike in DAgger.

The OSFD loss averages, over the active agents, the squared difference between \\(\\tanh\\mu\_\\theta(o\_i)\\) and \\(y\_i(x)/u\_{\\max}\\). Agents held at their goals are excluded from the average.

## A local-observation actor with a team-size-independent size

Agent i senses the agents whose centres, and the obstacles whose surfaces, lie within the sensing radius R of its position.

For each sensed entity k, the actor receives a token \\(\\tau\_{ik}=(n\_{ik},h\_{ik},r\_k,v\_k-v\_i,\\chi\_k)\\), where \\(n\_{ik}\\) is the normal of the filter barrier and \\(h\_{ik}\\) its value, so the actor sees safety in the filter's coordinates.

The actor minimizes \\(\\beta\_d L\_{AWR}+wL\_{OSFD}\\), with gradients that never pass through the quadratic program. At deployment each agent executes \\(u\_i=u\_{\\max}\\tanh\\mu\_\\theta(o\_i)\\).

## How the distillation loss limits barrier violations

For each constraint the authors define a CBF residual \\(\\nu\_c(x)=\[b\_c(x)-a\_c(x)^{T}\\pi(x)\]\_+\\), the label error \\(e\_\\theta(x)=\\lVert\\pi(x)-y(x)\\rVert\\), and the label's own violation \\(\\epsilon\_c(x)=\[b\_c(x)-a\_c(x)^{T}y(x)\]\_+\\). The residual is closed-form and needs no quadratic program. Proposition 1 states that \\(\\nu\_c(x)\\le\\lVert a\_c\\rVert e\_\\theta(x)+\\epsilon\_c(x)\\) for every labelled state.

Taking root-mean-square norms over \\(D\_q\\) gives a bound by \\(\\lVert a\_c\\rVert u\_{\\max}\\sqrt{nL\_{OSFD}}\\) plus the label-violation term, where \\(\\lVert a\_c\\rVert\\) is 1 for obstacle and wall constraints and \\(\\sqrt{2}\\) for pair constraints.

Theorem 2 concerns the unfiltered single-integrator loop with \\(a=\\alpha\\Delta t\\in(0,1)\\). The barrier satisfies \\(h\_c(x\_t)\\ge(1-a)^t h\_c(x\_0)-\\Delta t\\sum\_{k=0}^{t-1}(1-a)^k\\nu\_c(x\_{t-1-k})\\). Because each past residual enters with a factor \\((1-a)^k\\), residuals do not accumulate without limit. Bounded residuals keep the barrier above a bounded negative level for any horizon, and a residual below \\(\\alpha\\rho\_c\\) prevents a collision during the first T steps.

Corollary 3 needs a coverage assumption: the deployed state distribution \\(d\_t\\) satisfies \\(d\_t(E)\\le C D\_q(E)\\) for every set E, where C is a concentrability coefficient that can be measured. Under this assumption and single-integrator dynamics, the probability that \\(h\_c(x\_t)\<-\\rho\_c\\) is bounded by \\(C\\,E\_{D\_q}\[\\nu\_c^2\]/(\\alpha\\rho\_c)^2\\), and the training loss enters through the right-hand side of Proposition 1.

## Checking the bound chain on 75 trained policies

The audit covers 75 policies: 21 single-integrator policies and 54 double-integrator policies from the ablation and hyperparameter tables and the two-obstacle setting. Each policy is run for 100 unfiltered episodes, with the label error, residual and barrier recorded at every step.

## Filter-free collisions on the training scenes

Each cell of Table 1 reports collisions and goals over 3 seeds of 100 simulated episodes, with the filter removed at test time.

## Zero-shot scaling to larger teams

The three-agent double-integrator policies are deployed without retraining on teams of up to 20 agents with 2 obstacles, and Figure 2 shows roll-outs on both layouts. In the circle stress test, collisions appear only beyond 12 agents, and mostly with obstacles.

Figure 3 plots collisions and goal reaching against team size and compares the per-step compute of the policy with that of the joint QP.

## Which components carry safety and goal reaching

The variant with OSFD and SAC has 13.0% zero-shot collisions against 7.0% for the in-support IQL policy, so IQL gives about half of SAC's zero-shot collisions.

OSFD alone imitates the filtered reference and gives no reward signal, which is why the RL term matters for goal reaching.

The authors therefore read w as the setting that determines how far safety extends beyond the training distribution.

## Hardware flights without a filter

Obstacles are declared with a larger radius than their physical size, and over the 18 flights an agent's disc entered a declared disc in four flights.

## Limits of the evidence

The bound on barrier violation is proved for single-integrator dynamics and under the coverage assumption, and the double-integrator safety is supported only by simulation and the flight tests. The discretization term for double-integrator dynamics can use most of the safety margin at the control step used, so the safety in that case is measured empirically.

The simulation results use 3 seeds of 100 episodes per cell, and the audit rows marked with one seed rest on a single training run.

The coverage constant was measured on the training scenes, and the study does not report it for the deployed states of the hardware flights.

## Paper info

- **Authors**: Srikar Babu Gadipudi, Somayeh Sojoudi, Claire J. Tomlin
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-14
- **Added**: 2026-11-17
- **Updated**: 2026-11-14
- **Version**: v1
- **arXiv**: 2611.19190
- **Category**: cs.RO
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.19190v1) · [PDF ↗](https://arxiv.org/pdf/2611.19190v1)

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.

## Abstract

Reinforcement learning (RL) can teach robot teams to navigate shared spaces, but trial and error causes collisions that real robots cannot afford. Control barrier function (CBF) safety filters prevent these collisions by correcting unsafe actions, yet in a team the filter becomes a centralized optimization whose number of constraints grows quadratically with the team size. We propose an approach that builds the filter's safety into the RL policy and examine how such a system behaves during filter-free deployment. However, the filter that keeps training safe also hides what the policy must learn: it masks the cost of unsafe actions, which actor-critic methods then overvalue, and it keeps near-collision states out of the training data. Our approach therefore learns only from executed safe actions with implicit Q-learning and distills the filter into the policy at synthetic near-collision states. We prove that filter distillation loss bounds the policy's constraint violation and hence how far agents can cross their safety margin, so errors never accumulate. When distillation states cover deployed states, the loss also bounds the collision probability at every step. Without a filter and acting only on local observations, our policies have no collisions in 1,800 test episodes with multiple agents. A policy trained with three agents transfers zero-shot to teams of twenty at constant per-agent computation and stays collision-free with up to eight agents. We test our policies on Crazyflie quadrotors with up to five flying at the same time.

## Quote from the paper

Srikar Babu Gadipudi, Somayeh Sojoudi, Claire J. Tomlin (2026). Distilling Safety Filters for Filter-free Multi-agent RL. arXiv:2611.19190v1. https://arxiv.org/abs/2611.19190v1

**BibTeX**

```
@misc{gadipudi2026distilling,
  title = {{Distilling Safety Filters for Filter-free Multi-agent RL}},
  author = {Srikar Babu Gadipudi and Somayeh Sojoudi and Claire J. Tomlin},
  year = {2026},
  eprint = {2611.19190},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.19190v1}
}
```

## Other paper commentary

- [Imitation Bootstrapped Multi-Agent Reinforcement Learning](https://refivu.com/en/papers/511a869c-410d-47b0-9d94-36dde9bb5cef-imitation-bootstrapped-multi-agent-reinforcement-learning.md)
- [Agentic AI for Discovering Fault-Tolerant Quantum Circuits](https://refivu.com/en/papers/e6680a5e-8c8b-48e6-aa57-a669a9a0c6a1-agentic-ai-for-discovering-fault-tolerant-quantum-circuits.md)
- [Experts Across Schemas: Agent-Guided Mixture-of-Relational-Experts for Cross-Database Generalization](https://refivu.com/en/papers/76b43bb6-c77c-4c61-9629-5e9b2ce3f959-experts-across-schemas-agent-guided-mixture-of-relational.md)
- [LuthorSQL: A One-Pass Text-to-SQL Model as System 1 for a Slower LLM Agent](https://refivu.com/en/papers/eb6f98aa-61fd-4f1c-bb6f-deff920d4f43-luthorsql-a-one-pass-text-to-sql-model.md)
- [Learn then Bet: Learning Interpretable Rules for Reliable Agent Intervention](https://refivu.com/en/papers/56ef761b-5bfc-4309-940f-242cd1192f01-learn-then-bet-learning-interpretable-rules-for-reliable.md)
- [Verifiable pXRD: Hill-climbing pXRD structure determination with LLM agents](https://refivu.com/en/papers/ac0271e9-392b-4197-8fd2-7a94703b5c28-verifiable-pxrd-hill-climbing-pxrd-structure-determination.md)
- [Certify, Then Select: Viability-Aware Runtime Steering of Frozen Diffusion Policies](https://refivu.com/en/papers/34e592c6-b4a7-48dc-bb53-b14507844807-certify-then-select-viability-aware-runtime-steering-of.md)
- [CLEAR: Legible and Steerable Recommendation via Grounded Natural-Language Interests](https://refivu.com/en/papers/2fa163bb-6806-45fb-bf55-7e557d1f4855-clear-legible-and-steerable-recommendation-via-grounded.md)
- [StreamEmbed: Real-Time Indexing from Pixels for Screenshot Retrieval](https://refivu.com/en/papers/62997798-538e-4c46-9f02-24c435620ff4-streamembed-real-time-indexing-from-pixels-for-screenshot.md)
- [MMFlash: Faster Speculative Decoding for Vision-Language Models](https://refivu.com/en/papers/0d74aa73-ffaa-49b3-a4c5-d25a28c93089-mmflash-faster-speculative-decoding-for-vision-language.md)
- [Interactive Program Induction with Language Model Priors](https://refivu.com/en/papers/92ea057b-2bf7-43ba-8d48-9e24e96e388c-interactive-program-induction-with-language-model-priors.md)
- [Explanations that Transfer: Interpreting Medical Retrieval with Sparse AutoEncoders](https://refivu.com/en/papers/fcc9b660-cb5e-4a36-99e8-e9d43824526d-explanations-that-transfer-interpreting-medical-retrieval.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/21f25915-d36f-4f26-a265-4e45ef0cc511-distilling-safety-filters-for-filter-free-multi-agent)
