Safety analysis for robots that share space asks which joint configurations of all agents are already doomed to a collision, however well everyone steers afterwards. The tool for this is reachability analysis: one solves a partial differential equation (the Hamilton-Jacobi-Isaacs equation) for a "safety value" $V(x,t)$ over the full joint state $x$. States with negative value are unsafe. Grid solvers need $K^n$ grid points for $n$ state dimensions, so three planar vehicles (9 dimensions) are already out of reach. Neural solvers such as DeepReach train a network to satisfy the equation instead. They can be confidently wrong, and the most dangerous way to be wrong is optimism: labelling a doomed state as safe.
This note proposes building a hard ceiling into the network. For collision avoidance among $N$ agents, the joint safety value can never exceed the worst pairwise safety value, and every two-agent game lives in only 3 to 6 dimensions, where grids give near-exact answers. We therefore parameterize the network as "exact pairwise answer minus a learned non-negative multi-agent penalty." The cap is enforced by construction, the same way exact-boundary methods hard-wire boundary values. The network then only has to learn the part of the problem that is truly multi-agent: configurations where dodging one agent forces you into another. The result has two properties. The learned value can never be more optimistic than an exact low-dimensional analysis. And the learned quantity, the gap between the joint and pairwise values, directly measures how much interaction matters.
Core Claim
Let agent pair $(i,j)$ have failure margin $l_{ij}$, which is negative when the two agents are closer than the safe radius. The joint failure margin is $l = \min_{i<j} l_{ij}$. Let $V_{ij}$ be the value of the two-agent game for pair $(i,j)$ alone, solved on a grid. We propose the ansatz
$$V_\theta(x,t) = \min_{i<j} V_{ij}(x_i, x_j, t) \;-\; (T-t)\,\mathrm{softplus}\big(O_\theta(x,t)\big),$$
where $T$ is the time horizon and $O_\theta$ is an unconstrained network over the joint state $x$.
At $t=T$, every $V_{ij}$ equals $l_{ij}$, so $V_\theta(x,T)=l(x)$ holds identically. This recovers the terminal exactness of Imposing Exact Safety Specifications in Neural Reachable Tubes. For all $t$, the ansatz also guarantees $V_\theta \le \min V_{ij} \le l$.
The justification is a min-max exchange. The joint failure set is the union of the pairwise failure sets. The joint value is a best-response value over a minimum of pairwise margins, and that value is at most the minimum of the pairwise best-response values. This holds whether non-ego agents are cooperative controls or bounded adversaries. A first deliverable is a rigorous version of this lemma under the non-anticipative-strategy information pattern used in Hamilton-Jacobi games.
The claim is twofold. First, safety soundness: every state the exact pairwise analysis certifies as unsafe is labelled unsafe by the learned model, regardless of training quality. That includes every state inside the failure set. Second, accuracy: concentrating network capacity on the non-negative "interaction deficit" $\min V_{ij} - V$ should recover the joint unsafe set more accurately and more cheaply than learning $V$ from scratch, especially as $N$ grows.
Relation to Prior Work
The method comes from exact-boundary physics-informed networks. Physics-informed neural networks with hard constraints for inverse design writes solutions as "known boundary function plus distance-weighted network." Notes on Exact Boundary Values in Residual Minimisation proves why this matters: penalizing boundary errors in the loss caps how strongly the error estimate controls the solution, near boundaries in particular. ExactBC carried this idea into reachability, but only for the terminal time condition. With it, safe volume recovery rose from 0.4% to 33.4% on 6D rocket landing and from 41.4% to 61.1% on a 5D bicycle. It also evaluated a 9D three-aircraft problem. ExactBC is the closest work. It hard-codes an equality at a time boundary, while we hard-code a one-sided inequality over the whole space and time domain, built from exact low-dimensional sub-solutions. The terminal condition falls out as a special case.
The reachability side motivates the work. DeepReach solves the equation with sinusoidal networks up to 10D, with soft boundary losses and 16 to 25 hours of training. It also reports that pairwise decoupling misses coupled three-vehicle traps. We take that finding as the target of the learned penalty rather than as a reason to discard pairwise structure. MADR stabilizes training with labels from sampled model-predictive control rollouts and reaches 20D. Its supervision is soft, and its largest case has a single pair, where our cap gives nothing. Manifold-constrained Hamilton-Jacobi Reachability Learning for Decentralized Multi-Agent Motion Planning projects value gradients onto task manifolds and reports drift. Patching Neural Barrier Functions Using Hamilton-Jacobi Reachability repairs neural certificates with local grid updates but stops at 6D. We borrow its insight that exact grid computation is affordable when restricted. Our restriction is to agent pairs rather than active sets.
The interaction-modeling side constrains the scope and supplies the evaluation regime. GameFormer and Reasoning Multi-Agent Behavioral Topology for Interactive Autonomous Driving model reciprocal negotiation, but they enforce non-collision only through soft penalties. GameFormer still needs a downstream optimizer for collision-free closed-loop plans. We do not build a predictor. Instead, the learned deficit gives a quantity that interaction modelers lack: a measure of where joint reasoning is necessary because pairwise reasoning is provably insufficient.
We stay within worst-case or cooperative-control formulations. The non-zero-sum, socially reciprocal setting that MultiPath++ ties to "freezing robot" conservatism is out of scope here.
Research Program
The first component is theory. We will state and prove the pairwise-cap lemma for both control-only and control-versus-disturbance multi-agent games. We will also characterize when the deficit is identically zero, which should happen for well-separated agents. That result gives a sanity check and suggests sampling training points where the deficit can be positive.
The second component is the solver. For each pair type, we precompute $V_{ij}$ on a grid in relative coordinates. Planar Dubins pairs give the classic 3D relative-coordinate game; double-integrator pairs give 4D. The grids are differentiable through interpolation. The network $O_\theta$ is permutation-equivariant over agents and is trained only on the variational-inequality residual of $V_\theta$, with no boundary loss and no cap loss. We keep the hard minimum over pairs. A smooth soft-minimum would preserve the cap, because a soft-minimum lies below the true minimum, but it would break terminal exactness.
The third component is a scaling study over $N = 3,4,5,6$ planar aircraft, which gives 9, 12, 15, and 18 dimensions. It measures how the unsafe-set volume attributable to the deficit grows with $N$.
The fourth component is an interaction study. We will extract initial configurations from interactive driving scenes and project them onto a kinematic vehicle model. Sources are the Waymo Open Motion Dataset interaction subset used by GameFormer and BeTop (code at OpenDriveLab/BeTop) and nuPlan's Test14-Inter split. The question is how often real interactions fall in positive-deficit regions, which tells us whether pairwise reasoning suffices in practice.
Baselines
The naive reference is the pairwise minimum alone, $\min V_{ij}$, with no learning. It is cheap, exact per pair, and guaranteed optimistic. Any value of the proposal must show up as the joint unsafe volume this reference misses. We report that missed volume per $N$. If it is negligible, the learned component is unnecessary and we will say so.
The strongest existing method is ExactBC: same sinusoidal architecture, same sampling, same GPU-hour budget, and the same hyperparameter search size as ours. Comparisons use 9D three-aircraft volume recovery and false-safe rates. For the 9D ExactBC case, no reported result was found on Lacuna. The file says the number is truncated, so we rerun it. The reported anchors are ExactBC's 33.4% versus DeepReach's 0.4% safe volume recovery on 6D rocket landing. Beating ExactBC means a strictly lower false-safe volume at matched compute, with equal or better total intersection-over-union against the reference. For false-safe volume we expect the comparison to be one-sided by construction. The real contest is whether the overall error is also lower.
DeepReach, with its soft boundary loss and curriculum, is run under the same budget as a second baseline. It anchors to its reported Air3D mean squared error of $1.01\times10^{-4}$ and 0.43% volume error. That 3D benchmark is also the pairwise sub-problem, so it validates our grid sub-solutions.
MADR-style rollout supervision is added to both ExactBC and our model as an orthogonal ingredient. MADR reports an intersection-over-union of 0.997 on 6D Dubins pursuit-evasion, against 0.969 for vanilla DeepReach. We test whether the cap adds to rollout supervision or merely substitutes for it.
The key ablations isolate the ingredient. The first trains ExactBC and clips its output to $\min V_{ij}$ only at inference. The second feeds $\min V_{ij}$ to an ExactBC network as an extra input without the cap. The third adds the cap as a soft penalty rather than an architectural constraint.
Why not just…?
Why not just clip a trained ExactBC network to the pairwise minimum after training? This is the real threat, because post-hoc clipping gives exactly the same no-more-optimistic-than-pairwise guarantee. Our claim must therefore rest on accuracy and cost. A network trained with the cap in place puts all its capacity on the deficit, and its equation residual is evaluated on the function actually deployed. A post-hoc clip produces a function the network was never trained to make consistent, with kinks the residual never saw. The inference-only clipping ablation settles this. If it matches our intersection-over-union and controller safety at equal compute, the contribution narrows to "use exact pairwise grids as a cap." That is still worth publishing, and we would report it as such.
Why not just use the pairwise minimum, since DeepReach already handles 9D? The pairwise minimum is optimistic precisely in the coupled traps DeepReach identifies, where avoiding one vehicle forces a collision with another. The open question is how much volume these traps occupy, and how that grows with $N$ and in realistic traffic configurations. The scaling study and the driving-scene study measure exactly this. If that volume is small, it is a useful negative result for interaction modeling.
Why not just use exact pairwise values as soft supervision, as MADR uses rollout labels? A soft penalty leaves overestimation possible wherever the penalty is outweighed. Müller et al.'s analysis predicts weaker control of gradients near constraint boundaries under penalties, and safety controllers read exactly those gradients. The soft-cap ablation tests whether the gap appears in practice, through the false-safe rate and through closed-loop failures of the gradient-based controller.
Why not just add a filter on top of a learned interaction model like GameFormer? A filter needs a correct safe set to filter against, which is the object we compute. GameFormer's 1.98% open-loop collision rate, and its reliance on a secondary optimizer, show that soft repulsive penalties alone do not supply one. A safety filter with an unpatched neural barrier failed in up to 51% of adversarial rollouts in the HJ-PATCH study.
Proposed Experiments
The decisive check is on the 9D three-aircraft system, with matched compute against ExactBC, DeepReach, and the clipping ablation. The primary metric is false-safe volume: states the model calls safe from which a falsifier finds a collision. The falsifier uses sampled model-predictive control rollouts in the style of MADR. Secondary metrics are intersection-over-union against a rollout-based reference set and wall-clock training time.
Next we scale to 12, 15, and 18 dimensions. There, grid ground truth is impossible, so we report falsifier-found violations, closed-loop collision rates of the value-gradient controller under adversarial agents, and the fraction of states with positive learned deficit. A clean prediction follows from the zero-deficit result. The learned penalty should vanish, to within numerical tolerance, on states with all pairs well separated. Violating this signals a training failure that baselines cannot detect.
Finally, we evaluate on configurations drawn from the Waymo interaction subset and nuPlan Test14-Inter. We report the fraction of real interactive scenes with positive deficit, and whether those scenes coincide with the hardest interaction cases. As one test of that coincidence, we check whether they are the scenes where BeTop's braid crossings are dense.
The idea fails if any of three things happens: the clipping ablation matches it, the deficit volume is negligible at every $N$, or false-safe rates are not lower than ExactBC's at equal compute. Each of these outcomes is reported.
References
- Exact Imposition of Safety Boundary Conditions in Neural Reachable Tubes
- Physics-Informed Neural Networks with Hard Constraints for Inverse Design
- Notes on Exact Boundary Values in Residual Minimisation
- DeepReach: A Deep Learning Approach to High-Dimensional Reachability
- MADR: MPC-guided Adversarial DeepReach
- Manifold-constrained Hamilton-Jacobi Reachability Learning for Decentralized Multi-Agent Motion Planning
- Patching Neural Barrier Functions Using Hamilton-Jacobi Reachability
- GameFormer: Game-theoretic Modeling and Learning of Transformer-based Interactive Prediction and Planning for Autonomous Driving
- Reasoning Multi-Agent Behavioral Topology for Interactive Autonomous Driving
- MultiPath++: Efficient Information Fusion and Trajectory Aggregation for Behavior Prediction