Manuscript Offprint
arXiv:2611.04096Online Hamilton-Jacobi Reachability Onboard the Robot Control Loop: A Real-Time GPU Solver for Safety-Critical Autonomy
Kevin Weekly
Mirror AI
Alexandre M. Bayen
University of California, Berkeley
Abstract—Hamilton–Jacobi (HJ) reachability provides certified backward reachable tubes (BRTs) for safety-critical robotic systems, but the level-set computation scales exponentially in the state dimension and has historically been performed offline. As autonomy stacks (ADAS/AV, humanoid robotics, and vision-language-action models) increasingly rely on black-box, probabilistic policies, a deterministic safety layer with formal guarantees is an essential complement. We present a CUDA implementation of the canonical WENO5 + TVD-RK3 + Lax-Friedrichs level-set Hamilton–Jacobi–Isaacs solver for 2D, 3D, and 4D dynamics that is fast enough to run inside a robot's control loop. In 32-bit floating point (FP32) on a single workstation GPU (NVIDIA RTX 4000 Ada), it computes the 3D Air3D BRT at 112 Hz, a 4D pursuit-evasion BRT at 61 Hz, and a 2D wind-affected drifter BRT at 74–147 Hz, 5.9–17.5× faster than the JAX reference hj_reachability at matched precision and 1.7–16× faster than a torch.compile reimplementation of the same scheme. In 64-bit floating point (FP64) it agrees with hj_reachability on eight benchmark cases, reproduces Mitchell's Air3D BRT to within 0.04% of the reference cell count, and runs 2.0–4.6× faster. On an embedded NVIDIA Jetson AGX Thor it computes Air3D at 66 Hz (N=41) and the 2D drifter at 54 Hz, 3.8–8.9× faster than hj_reachability on the same device. As a multi-agent application, an in-kernel label-propagation extension recovers the K-agent capture-basin Voronoi tessellation from a single combined HJ solve, independent of fleet size; it runs at 4.0 ms per tick in a closed-loop wildfire-response simulation of six quadcopters under time-varying, non-uniform wind.
Index Terms—Hamilton–Jacobi reachability, backward reachable tubes, level-set methods, real-time GPU computing, safety-critical control, deterministic safety layer, safety filter, ADAS and autonomous vehicles, humanoid robotics, vision-language-action policies, embedded GPU autonomy, multi-agent fleet dispatch, capture-basin Voronoi tessellation, in-kernel label propagation, wildfire response, time-varying wind fields, pursuit-evasion differential games.
I. INTRODUCTION
The next generation of autonomous robotics — advanced driver-assistance and self-driving vehicles (ADAS/AV), humanoid platforms, and vision-language-action (VLA) policies — pushes decision-making into large, learned, fundamentally probabilistically determined models whose worst-case behavior is case-dependent and whose safety properties cannot be certified by inspection. A deterministic, model-based safety layer with formal guarantees is therefore not optional but a structural enabler of these stacks: it is the mechanism by which a black-box upstream policy can be trusted in safety-critical deployment, and the only available complement that gives the overall system the worst-case behavior the upstream model cannot. Hamilton–Jacobi (HJ) reachability is the strongest available primitive for that role. The backward reachable tube (BRT) is the exact set of states from which a constraint violation cannot be avoided against the worst-case disturbance [1]–[3]. Three properties of the BRT make it the right object for safety, and keeping them distinct avoids a common confusion. First, depending on how it is computed, the BRT—or, more precisely, its boundary—delimits the set of states from which, regardless of the control, the worst-case disturbance can force the system into the target set (here, the unsafe set). Second, from any state outside the tube there always exists a control that keeps the system safe over the horizon. Third, on the boundary of the tube at least one control must be applied to stay safe: absent it, the disturbance can drive the system into the tube and ultimately into the unsafe set. A robot whose current state lies inside the BRT must either accept a failure outcome or apply the value-function-derived optimal control to escape, and so the BRT answers the most fundamental question a safety-critical autonomy stack can ask [4], [5]. A BRT-based safety filter can sit downstream of a learned planner and either certify its proposed action or override it with a provably safe one [4], [5], giving the deployed ADAS/AV, humanoid, or VLA stack a deterministic floor of behaviour that the upstream learned policy is not by itself required to provide.
The well-known drawback is that the level-set computation that delivers a guaranteed-fidelity BRT scales exponentially in the state dimension. The historical response has been to compute the BRT once offline and then use it as a fixed lookup in the control loop [6]–[8]. This is a critical limitation for next-generation autonomy: in any setting where the disturbance model, the obstacle set, or the dynamics are not known a priori — the operating regime of every real ADAS stack, every legged platform on unmodeled terrain, and every VLA policy in an unfamiliar environment — a stale offline BRT is a stale safety guarantee.
With the implementation presented in this article, we demonstrate that the boundary between offline and online BRT computation has moved. On a single workstation GPU (NVIDIA RTX 4000 Ada), the canonical Mitchell Air3D 3D pursuit-evasion BRT [2] solves in 9ms at 32-bit floating point (FP32) with the same numerical scheme used by the Stanford Autonomous Systems Laboratory (ASL) JAX reference hj_reachability [8], a 4D pursuit-evasion BRT at cells solves in 16ms, and the 2D drift-affected vehicle BRT solves at 74–147 Hz at WENO5 fidelity. These rates place the level-set solver inside the inner control loop of a robot, and shift the design question from how to live with a single BRT precomputed for an entire mission to how to use a BRT that is recomputed at every control tick.
Concretely, our solver implements the standard level-set HJI recipe on CUDA—fifth-order WENO (WENO5) reconstruction of the spatial gradient, total-variation-diminishing third-order Runge–Kutta (TVD-RK3) time integration, and a Lax–Friedrichs numerical Hamiltonian—with one fused kernel per RK3 stage (reconstruction, Hamiltonian, stage combine, and BRT clamp in-register), a division-lean WENO5 reconstruction, a host-static CFL step, and an FP32 precision mode that is the relevant regime for embedded robotic deployment. At matched 64-bit floating point (FP64) arithmetic (the academic-standard precision for verification studies) our solver agrees with hj_reachability on eight canonical benchmarking cases at 2.0–4.6× the speed on matched hardware, reproduces Mitchell’s Air3D BRT [2] to within 0.04% of the reference cell count at N=51, and is 1.3–1.4× faster than a torch.compile [9] reimplementation of the identical scheme, a maximally-tuned tensor-compiler baseline. In FP32 mode the solver is 21–33× faster than its own FP64 path with sub-grid BRT-set deviation, and 5.9–17.5× faster than the JAX reference at matched FP32 on the same hardware. To verify that these rates are not specific to a desktop-class GPU, we re-run the solver on an NVIDIA Jetson AGX Thor embedded developer kit and measure 27–66 Hz on the 3D Air3D and 2D drifter cases (3.8–8.9× faster than hj_reachability on the same device), with the closed-loop fleet solve drawing approximately 31 W of total system input power. As a multi-agent application we extend the 2D solver with an in-kernel label-propagation kernel, in the spirit of competitive fast marching [10], that recovers the K-agent capture-basin Voronoi tessellation from a single combined HJ solve whose cost is independent of fleet size, with 99.5% label agreement with a per-agent argmin reference. We demonstrate the latter on a closed-loop wildfire-response fleet of six quadcopters defending a 20×20 km region under time-varying, non-uniform wind.
The rest of this article is organized as follows. Section II reviews the HJ reachability formulation and the level-set discretization recipe we use. Section III positions our solver against the classical-fidelity offline tools and the learned-value online approximators at the two ends of the existing literature. Section IV describes the CUDA implementation, the FP32 precision mode, and the boundary and obstacle postprocessors. Section V describes the verification protocol against hj_reachability, and Section VI reports cross-library agreement, the equi-accuracy comparison, and the FP32 real-time envelope. Section VII presents the multi-agent wildfire-response Voronoi demonstration. Section VIII discusses the dimensional ceiling, the FP32 fidelity floor, embedded-platform performance on Jetson AGX Thor, and future work. Section IX concludes.
(1)
the set of initial states from which the disturbance can force entry into within the horizon regardless of the control [1], [2]. Mitchell, Bayen, and Tomlin [2] showed that the BRT is the zero-sublevel set of the value function , which satisfies the Hamilton–Jacobi–Isaacs (HJI) partial differential equation
integrated backward in time from the terminal condition [11], with the Isaacs-form Hamiltonian
encoding the worst-case control-disturbance choice. The level-set formulation then handles all of: minimum-time arrival to a target, maximum-time avoidance of an obstacle, and reach-while-avoid [2], [12]. Subsequent applications by Bayen, Mitchell, Oishi, and Tomlin [13] (aircraft autolander reach-set analysis), by Weekly, Tinka, Anderson, and Bayen [14] (HJ-based optimal-control navigation of underactuated drifters under spatially-varying flow), and the FaSTrack framework of Herbert, Fisac, Tomlin, and colleagues [15] (real-time guaranteed-safe motion planning via a precomputed HJ tracking bound) demonstrated that the same level-set primitive transfers to operational robotic control once the fidelity-versus-runtime tradeoff is acceptable; historically, that tradeoff has restricted the primitive to offline mission planning.
We solve (2) on a uniform Cartesian grid by the standard recipe [16]–[18]: WENO5 spatial reconstruction of , TVD-RK3 time integration, Lax–Friedrichs numerical Hamiltonian, and a CFL-limited time step. We apply Mitchell's BRT-clamp in-kernel so that V is monotonically non-increasing under backward integration, the same role played by the backwards_reachable_tube postprocessor of hj_reachability [8].
III. RELATED WORK
Classical level-set HJ tooling. Hamilton–Jacobi reachability was historically demonstrated at scale for control by Mitchell's level-set formulation [2], [19], [20], and the ToolboxLS MATLAB library [6] together with its MATLAB wrapper helperOC and C++/CUDA port BEACLS [7] are still in use today. OptimizedDP [21] compiles the level-set HJ stencil to parallel multi-core CPU code via HeteroCL and reports order-of-magnitude speedups over ToolboxLS, making higher state dimensions tractable on the CPU. The Stanford ASL hj_reachability library [8] is a modern JAX/XLA rewrite that exposes the same numerical primitives and is the closest sibling of our solver; a PyTorch counterpart, hj_reachability_torch of Choi et al. [22], provides similar primitives in eager PyTorch at first-order accuracy. We treat the JAX library as the reference implementation in Section VI. A like-for-like tensor-compiler comparison, however, needs the identical high-order scheme under torch.compile — which hj_reachability_torch, being first-order and eager-mode, does not provide — so we additionally benchmark our own PyTorch reimplementation of the same WENO5 + TVD-RK3 step compiled with torch.compile [9], as a maximally-tuned baseline.
HJ for safe robotics. The reachability-based safety-filter pattern (i.e., run a nominal controller and fall back to the HJ-optimal control when the safety value function predicts imminent failure) was formalized in [4], [23], surveyed in [3], [5], [24], and applied to aircraft autolander reach-set analysis [13], HJ-based optimal-control navigation of underactuated drifters under spatially-varying flow [14], fast tracking (FaSTrack [15]), robust tracking under model mismatch [25], and human-robot vehicle interactions [26]. Bayen's line of work in particular [2], [13], [14] established the level-set HJ primitive as the right object for operational reach-set computation in flow-affected and underactuated robotics settings, and is the methodological lineage of the wind-affected drifter cases and the wildfire-response demonstration we report in Sections VI and VII. All of these works pay an offline computational cost for the BRT (typically minutes to hours per case) and use it as a fixed lookup in the control loop.
Approximations to escape the dimension limit. DeepReach [27] and follow-up work train a neural value function on the HJI residual to amortize the BRT solve across many initial conditions. The trade-off is well known: the neural value is fast to query but harder to certify, and the training pass replaces the per-instance level-set solve. Follow-up work conditions the learned value on parameters or observations so the reachable set adapts online [28], [29] or refine an approximate value function online via warm-started local grid HJ updates [30], and related efforts synthesize fast grid-based safety filters [31]. Adversarial-actor-critic methods such as ISAACS [32] take a complementary angle by learning a robust controller against a learned worst-case disturbance.
Grid-free and pointwise reachability. A complementary line of work sidesteps the grid entirely, solving reachability pointwise through Hopf-type formulas rather than over a dense array [33], [34]. Recent methods extend this to nonlinear systems by bounding the linearization error and treating it as an adversary, recovering conservative guarantees at high state dimension [35]–[38]; an iterative Hopf method evaluates the value pointwise without a grid [39], and ellipsoidal methods outer-approximate forward reachable sets in real time [40]. These approaches trade the dense grid—and with it the full BRT surface—for fast pointwise queries or conservative set approximations; our solver instead retains the full grid and makes the whole-surface solve itself real-time.
Predictive safety filters. A parallel literature builds MPC-based predictive safety filters that guarantee constraint satisfaction without explicitly computing the BRT [41], [42]. These filters trade a smaller online optimization for tighter modeling assumptions; they are complementary to ours in that the BRT can serve as the terminal safe set.
Combined classical+sampling. DualGuard MPPI [43] pairs a sampling-based MPC controller with a precomputed BRT used as a hard constraint, and is the recent practitioner-oriented precedent closest in spirit to this work. Our contribution is upstream of theirs: our solver delivers the BRT fast enough for the precompute step to be replaced with an online recompute, enabling the constraint to track shifts in the disturbance model or robot dynamics during operation. Sampling-based reachability estimators are another practitioner-oriented approach in this vein [44].
Numerical foundations. Our discretization is standard: WENO5 [16], [17], TVD-RK3 [18], and Lax-Friedrichs dissipation. The GPU implementation departs from the classical shared-memory stencil patterns [45], [46]: at control-rate grid sizes the working set is L2-resident on current GPUs, and we measure direct cache-served stencil fetches to be substantially faster than shared-memory tiling (Section IV).
This work in context. The classical HJ tools provide provably convergent numerical approximation of the reachable set; the approximation methods provide online queries with weaker guarantees. Our solver occupies the underserved intersection: classical-fidelity solves at robotics control time scales on commodity GPU hardware. By robotics control time scales we mean recomputing the BRT within the time over which the robot's dynamics, constraints, or disturbance model meaningfully change—on the order of tens of milliseconds for an inner-loop safety filter, up to roughly a second for a tactical dispatch loop—rather than once per mission.
IV. SOLVER
We integrate the Hamilton–Jacobi–Isaacs equation (2) backward from to over a uniform Cartesian grid in . A possible terminal cost is the signed distance to the target or failure set, and the Isaacs-form Hamiltonian (3) encodes the worst-case dynamics under the Isaacs formulation [2], [3]. We compute the backward reachable tube (BRT), following Mitchell's approach, by clamping the value after each time step, , so that is monotonically non-increasing in . This plays the role of hj_reachability's backwards_reachable_tube Hamiltonian postprocessor, which clamps per RK substage instead (Section V).
A. Discretization
Spatial derivatives in each direction are reconstructed with the fifth-order weighted essentially non-oscillatory (WENO5) scheme of Jiang and Peng [17], using a six-cell stencil per dimension. The numerical Hamiltonian uses Lax–Friedrichs dissipation [16]; we support global, local, and local-local variants. Time integration uses the total-variation diminishing third-order Runge–Kutta scheme of Shu and Osher [18], with the time step controlled to keep .
B. GPU kernel structure
The 2D, 3D, and 4D solvers are implemented as CUDA kernels templated on the floating-point type Real ∈ {float, double} so that precision is selected at runtime via a single SolveOptions::precision field. Each TVD-RK3 stage is a single fused kernel: per-axis WENO5 reconstruction, the Lax–Friedrichs Hamiltonian, the RK3 stage combine, and (on the final stage) the BRT clamp and value-postprocessors all execute in-register, so the stage RHS never round-trips through global memory. The third stage writes V in place — the stencil source is the second-stage buffer, and the start-of-step value is only read pointwise — which also eliminates the per-step copy. Stencil values are fetched directly from global memory with boundary handling (periodic wrap or linear extrapolation) inlined into the fetch: at the grid sizes of interest the entire field is L2-resident on current GPUs ( FP32 is 4 MB against a 40 MB L2), which makes both padded ghost-cell buffers and shared-memory tiles strictly slower than letting the cache serve the stencil overlap: a shared-memory-tiled 3D stencil pays a halo load amplification, a block-wide barrier, and per-load boundary branching for no benefit once the working set is L2-resident, and runs at roughly one third the throughput of the direct-fetch kernel.
Two scheme-level invariants remove all per-step synchronization. First, the WENO5 weight normalization is algebraically restructured so that one reconstruction costs a single floating-point division (the textbook form costs 13): divides-by-constant become compile-time reciprocal multiplies, and the three nonlinear weights are cross-multiplied by the complementary smoothness denominators so only the final normalization divides. This is identical up to round-off and matters because consumer GPUs execute FP64 division in software at a 1:64 ALU ratio. Second, for every Hamiltonian in this paper the Lax–Friedrichs wavespeed bound is time-invariant and either constant or additively separable in the state coordinates, so the CFL-limited is computed once on the host instead of a full-grid wavespeed write plus device reduction per RK stage. The 3D solver additionally captures its whole step (three stage kernels plus a one-thread clamp) into a CUDA graph replayed once per step.
The first-order (RK1 + upwind) accuracy mode used by the real-time fleet demonstration of Section VII is fused the same way: a single kernel per step does the direct-fetch upwind derivatives, the Hamiltonian, the Euler update, the BRT clamp, the postprocessors, and the time-to-reach update, ping-ponging between two buffers with no per-step ghost-fill, reduction, or synchronization. At the demonstration's grid the per-tick solve runs hundreds of these steps, so reducing the step to a single launch is what keeps the closed-loop solve inside its control budget (Section VII-E).
C. Boundary conditions and constraints
Per-dimension boundary conditions are either Neumann extrapolate or periodic; periodic dimensions use the grid spacing , i.e., the per-dimension spatial discretization of the domain into N cells, to wrap correctly. Two value-postprocessors are exposed as drop-in options, matching the semantics of hj_reachability [8]:
• Static obstacle: where g is the signed distance to the obstacle set.
• Reach-while-avoid: for target and obstacle g, the standard reach-while-avoid value function for differential games [12].
Both are applied by a single shared post-step kernel on the same templated Real.
V. VERIFICATION METHODOLOGY
We verify the solver against the Stanford ASL JAX library hj_reachability [8], the de facto modern reference for HJ reachability computation. Eight benchmarking cases spanning 2D, 3D, and 4D dynamics are defined in shared JSON specifications consumed by both libraries (Section VI); each case is solved at three to five grid resolutions per backend.
For each case we run both libraries with identical scheme configuration: WENO5 spatial reconstruction, TVD-RK3 time integration, global Lax–Friedrichs dissipation (except on the 4D cases, see below), CFL factor 0.75, FP64 arithmetic, and the same signed-distance initial value evaluated on the shared grid. Both libraries make monotonically non-increasing under backward integration, but with different discrete operators. Our restrictUpdate flag applies once per full TVD-RK3 step, in the epilogue of the third stage, at every grid node (a multi-index over the -dimensional grid, with the time-step index). hj_reachability's backwards_reachable_tube instead clamps the numerical Hamiltonian, in its sign convention, inside each of the three Euler substages. The two operators coincide for a forward-Euler step but not for TVD-RK3; the agreement reported below is measured with this difference in place. Periodic dimensions are wrapped with the same convention on both sides. The JAX reference is forced to FP64 via jax.config.update("jax_enable_x64", True) so that the single-call wall-clock measurement is comparable to ours-FP64; without this, JAX silently defaults to FP32, whose ALU throughput on non-datacenter Ada Lovelace silicon (64:1 over FP64 on the RTX 4000 Ada) would understate JAX's FP64 time by an order of magnitude.
Two scheme choices differ between the libraries on the 4D pursuit–evasion cases, and together they account for the cross-library gap there. First, our 4D kernel uses a gradient-local Lax–Friedrichs coefficient, , rather than the global bound . Second, non-periodic dimensions are extended by linear extrapolation in our solver, whereas hj_reachability's default boundary condition extrapolates away from zero; the 4D capture set touches the domain boundary, so this choice is visible there (on Air3D the target is interior). With the default settings our 4D BRT is 7.1–7.5% smaller than the reference at at either precision. Switching the reference to linear extrapolation shrinks its BRT by 5.6%, and switching our kernel to the global coefficient grows ours by 2.1–2.3%. With both aligned, the cell counts agree to within 0.6%, 0.4% and 0.3% at and 51.
The reference postprocessor is set to hj_solver.backwards_reachable_tube, which clamps the Hamiltonian update so that is monotonically non-increasing under backward integration. Without this clamp, hj_reachability computes the unclamped HJI value function, which permits to grow at safe states and is a different object from the BRT. For cases with static obstacles or reach-while-avoid semantics (Section IV), the reference value-postprocessor composes the wall-mask, obstacle-clamp, and target-clamp stages in the same order as ours.
For each (CASE, , BACKEND) tuple we record the single-call wall-clock time, peak GPU memory via JAX memory_stats() or cudaMemGetInfo, and the full stack of snapshots and times for downstream level-crossing time-to-reach (TTR) extraction. The comparison driver computes and differences pointwise over the interior domain, TTR-field differences cell-by-cell, and convergence orders by log-log regression of disagreement versus . All hardware (NVIDIA RTX 4000 Ada, 20GB, driver 580.178.04) is shared between backends to keep timing comparisons hardware-neutral.
VI. RESULTS
The eight benchmarking cases (Table I) span 2D holonomic and double-integrator dynamics, 2D drift-affected autonomous vehicles, the canonical 3D Mitchell–Air3D pursuit–evasion, and 4D two-vehicle pursuit–evasion with and without state-space walls.
A. Cross-library agreement
We compare against two compiled GPU references: the JAX/XLA library hj_reachability, and our own PyTorch reimplementation of the identical scheme (WENO5, TVD-RK3, Lax–Friedrichs, the same ghost-cell and BRT-clamp operators) compiled with torch.compile [9]. Both are JIT-compiled, so the comparison is compiled-against-compiled rather than an eager-versus-compiled artifact, and both reproduce our BRT to the tolerance summarized in Table II: pointwise disagreement on the 2D cases and in the -range for the 4D pursuit–evasion cases. This disagreement is dominated by smearing of the non-smooth BRT boundary, not
TABLE I BENCHMARKING CASES. SHORT LABELS USED IN TABLES II–IV. HERE IS THE EUCLIDEAN NORM AND THE MAGNITUDE OF A SCALAR CONTROL.
| Case | State | Dynamics |
|---|---|---|
| holonomic_l2 | 2D | holonomic, |
| double_int. | 2D | |
| drifter_const | 2D | constant-wind drifter |
| drifter_wg | 2D | spatial-wind drifter |
| drifter_obs | 2D | drifter + static obstacle |
| air3d | 3D | Mitchell Air3D [19] |
| pe_4d | 4D | 4D pursuit–evasion |
| pe_4d_walls | 4D | 4D PE + wall mask |
smooth-region truncation error: all three apply the Mitchell cumulative-min clamp, which introduces a non-differentiable front that WENO5 cannot reconstruct at its formal fifth order — a known limitation of high-order WENO schemes for HJ equations [6]. Six of the eight cases are distinct dynamics; the remaining two, drifter_obs and pe_4d_walls, reuse the drifter_const and pe_4d dynamics and exist to verify the static-obstacle clamp and wall-mask value-postprocessors that the reach-avoid and keep-out applications of Section VII depend on. They are checked for accuracy here (Table II) but, sharing the base-case stencil, are excluded from the timing comparisons.
Figure 1 reports FP64 single-call wall-clock for the six distinct dynamics at the largest matched grid. Our handwritten CUDA solver is 2.0–4.6× faster than JAX and 1.3–1.4× faster than torch.compile, both run at their best settings (ours: nvcc -O3 --use_fast_math, sm_89; torch.compile at its default mode, which we found faster here than max-autotune). The compiled baseline is strong — a tensor compiler emits many small, high-occupancy elementwise kernels — and we still lead it on every case by exploiting scheme-level structure it cannot assume, analyzed in Section VIII-D.
B. Air3D reproduction
Figure 2 reproduces Mitchell's canonical 3D pursuit–evasion BRT [2], [19] at s with m/s, rad/s,
TABLE II CROSS-LIBRARY POINTWISE AGREEMENT AT THE LARGEST MATCHED GRID. OURS VERSUS HJ_REACHABILITY JAX-GPU, BOTH AT FP64, WENO5 + TVD-RK3 + GLOBAL LAX–FRIEDRICHS DISSIPATION, CFL 0.75. TTR ( IN S) IS DERIVED FROM A LEVEL-CROSSING TIME INTERPOLATION ON THE SNAPSHOT STACK.
| Case | N | L∞(V) | L2(V) | L∞(TTR, s) |
|---|---|---|---|---|
| air3d | 101 | 0.0223 | 0.000 396 | 0.0471 |
| double_int. | 200 | 0.00659 | 0.000 109 | 0.0467 |
| drifter_const | 200 | 0.00439 | 0.000 130 | 0.00548 |
| drifter_wg | 200 | 0.0130 | 0.000 650 | 0.209 |
| drifter_obs | 200 | 0.0112 | 0.000 442 | 0.0174 |
| holonomic_l2 | 200 | 0.00217 | 0.000 140 | 0.00157 |
| pe_4d | 51 | 0.347 | 0.0214 | 0.282 |
| pe_4d_walls | 51 | 0.347 | 0.0219 | 0.550 |

Fig. 1. FP64 single-call wall-clock at the largest matched grid for the six distinct dynamics: our CUDA solver, the hj_reachability JAX-GPU reference, and our PyTorch reimplementation of the identical WENO5+TVD-RK3 scheme compiled with torch.compile, on an NVIDIA RTX 4000 Ada; medians of gated runs (5 ours, 3 JAX, 5 torch.compile). Ours is 2.0–4.6× faster than JAX and 1.3–1.4× faster than torch.compile; the largest gains over JAX appear on the drifter and 4D cases, where the fused per-stage kernels, in-kernel BRT clamping, and host-static CFL step remove the most per-step work relative to JAX/XLA's per-stage materialization. (The drifter_obs and pe_4d_walls postprocessor variants reuse the drifter_const / pe_4d stencil, so they duplicate those timings; their accuracy is in Table II. JAX-CPU wall-clock is in Table III.)

Fig. 2. Mitchell Air3D BRT at s reproduced by our solver (top row) and hj_reachability [8] (bottom row) at three relative-heading slices. Green dashed: the 5 m collision cylinder. Black contour: the BRT boundary . BRT cell counts agree to within 0.04% at .
and a 5 m collision cylinder. Three relative-heading slices show the BRT boundary as the zero level set of . At our solver and hj_reachability agree on the number of BRT cells to four cells out of , or 0.04%.
C. Equi-accuracy speedup
Wall-clock at a fixed grid is one comparison; the other is to ask, at the same target accuracy, which library reaches it first. Because both libraries converge to the same continuous
TABLE III
EQUI-ACCURACY SPEEDUP. WALL-CLOCK AT THE SMALLEST GRID WHERE FOR EACH BACKEND. ALL FP64; MEDIANS OF GATED RUNS (5 OURS, 3 JAX-GPU, 3 JAX-CPU).
| Case | ours-GPU (s) | JAX-GPU (s) | JAX-CPU (s) | vs JAX-GPU | |
|---|---|---|---|---|---|
| air3d | 0.05 | 0.0969 | 0.362 | 1.15 | 3.7× |
| double_int. | 0.02 | 0.00929 | 0.0285 | 0.0386 | 3.1× |
| drifter_const | 0.02 | 0.0102 | 0.0428 | 0.0354 | 4.2× |
| drifter_wg | 0.05 | 0.0205 | 0.0766 | 0.0978 | 3.7× |
| holonomic_l2 | 0.01 | 0.00475 | 0.0233 | 0.0283 | 4.9× |
| pe_4d | 0.4 | 0.543 | 2.02 | 10.8 | 3.7× |
| pe_4d_walls | 0.4 | 0.550 | 2.03 | 10.8 | 3.7× |
solution as the grid refines, their pointwise difference shrinks monotonically with resolution. Table III reports, for each case, the smallest grid at which the cross-library falls below a target , and the wall-clock at that grid. The relative ranking is unchanged: ours is 3.1–4.9× faster at the same target accuracy on every case.
These FP64 wall-clocks establish cross-library parity for verification; the rates relevant to closed-loop robot operation are the single-call FP32 times of Section VI-D and Figure 3.
D. Real-time FP32 mode
On non-datacenter Ada Lovelace silicon FP64 runs at a small fraction of the FP32 rate; the peak ALU ratio on the RTX 4000 Ada is 64:1. With the division-lean reconstruction of Section IV the FP64 path is limited by FP64 arithmetic throughput while the FP32 path is cache- and bandwidth-limited, and the realized FP32 advantage is 21–33×, below the peak ratio because the FP32 path is no longer arithmetic-bound. FP32 is in any case the practical mode for closed-loop robotics where a BRT must refresh at 10–100 Hz. Table IV reports the FP32 single-call wall-clock of our solver against both compiled references on identical hardware — hj_reachability (JAX/XLA) and our torch.compile reimplementation — together with the achievable BRT-refresh rate. At FP32 our solver is 5.9–17.5× faster than JAX and 1.7–16× faster than torch.compile, the widest torch.compile margins falling on the small, cache-resident 2D grids that fit a real-time budget. At FP32 our BRT is set-identical to our FP64 BRT on the 2D and 3D cases and within 0.1% of its cells on the 4D cases (Section VIII-B); the cross-library 4D gap is a scheme difference, not a precision effect (Section V).
Figure 3 casts the same data as a real-time envelope: single-call FP32 wall-clock as a function of total grid cells, for both our solver and the JAX reference, with horizontal bands at the 100 Hz (10 ms), 30 Hz (33 ms), 10 Hz (100 ms), 5 Hz (200 ms), and 1 Hz (1 s) closed-loop control budgets. Every point is a gated median (7 runs ours, 3 JAX) over the resolution sweep of Section V. Our FP32 solver is inside the 30 Hz budget for Air3D up to ( cells, 36 Hz), 4D pursuit-evasion up to ( cells, 61 Hz), and the 2D drifter up to ( cells, 74–147 Hz, WENO5+RK3); the 100 Hz budget covers Air3D to (8.9 ms) and the constant-wind drifter to . Against hj_reachability
TABLE IV
FP32 SINGLE-CALL WALL-CLOCK AND BRT-REFRESH RATE ON THE NVIDIA RTX 4000 ADA, AGAINST BOTH COMPILED REFERENCES: HJ_REACHABILITY (JAX/XLA) AND OUR TORCH.COMPILE REIMPLEMENTATION OF THE IDENTICAL SCHEME. rate is 1/tOURS ROUNDED TO THE NEAREST INTEGER Hz. ours AND JAX ARE MEDIAN OF 9 AND 5 SINGLE-CALL RUNS (DRIVER 580.178.04), EACH RUN GATED ON AN IDLE HOST AND GPU; THE 3D SOLVER REPLAYS ITS CUDA-GRAPH STEP WITHOUT PER-STEP HOST SYNCHRONIZATION (SECTION IV). TORCH.COMPILE (PYTORCH 2.6.0, TORCHINDUCTOR DEFAULT MODE) IS THE MEDIAN OF 5 TIMED SOLVES AFTER COMPILATION, GATED THE SAME WAY. ALL RECOVER THE SAME BRT TO THE TOLERANCE OF TABLE II.
| Case | N | ours (ms) | rate (Hz) | JAX (ms) | torch.comp. (ms) |
|---|---|---|---|---|---|
| air3d | 51 | 8.91 | 112 | 52.3 | 50.0 |
| air3d | 101 | 102 | 9.8 | 804 | 178 |
| drifter_const | 200 | 6.82 | 147 | 86.4 | 107 |
| drifter_wg | 200 | 13.6 | 74 | 159 | 223 |
| pe_4d | 31 | 16.4 | 61 | 150 | 27.6 |
| pe_4d | 51 | 222 | 4.5 | 3885 | 573 |

Fig. 3. Real-time operating envelope (the largest grid solvable within each control-rate budget): single-call FP32 wall-clock versus total grid cell count for three representative cases. Solid lines with filled markers are our solver; dashed lines with open markers are hj_reachability on the same hardware. Horizontal bands mark the 100 Hz (10 ms), 30 Hz (33 ms), 10 Hz (100 ms), 5 Hz (200 ms), and 1 Hz (1 s) closed-loop control budgets. The crossing of each curve with a budget line is the largest grid at which the BRT can be recomputed every control tick on commodity GPU hardware.
at matched FP32, our solver is 5.7–17× faster at every grid of the sweep, with the largest ratios on the wind-affected drifter and 4D pursuit–evasion cases. JAX/XLA does not aggressively schedule FP32 stencil ops for this style of compute, so the FP32-mode ratio is wider than the 3.1–4.9× FP64-mode ratio of Table III. The crossing of each case curve with each control-rate line is the grid at which an online safety filter at that rate becomes feasible on commodity GPU hardware.
VII. ONLINE HJ CAPTURE-BASIN VORONOI FOR A QUADCOPTER WILDFIRE-RESPONSE FLEET
The compute-budget numbers in Section VI-D unlock a problem class that has stayed offline: multi-agent operational
dispatch under time-varying, non-uniform disturbance. The multi-agent control literature has long used Voronoi-style partitions as the basic dispatch primitive — coverage control via Voronoi partitions of agent positions [47], Apollonius and reach-avoid game geometry for pursuit-evasion [11], [48], [49] — but these constructions are either closed-form only under uniform disturbance or computed once per mission from fixed agent homes. We instantiate the time-varying, spatially-varying-flow extension here, namely a homogeneous fleet of quadcopters tasked with suppressing wildfires in a 20 × 20 km region under realistic shifting wind, and show that the joint HJ time-to-reach Voronoi tessellation can be recomputed at robot rates from the fleet's live positions, so that the dispatch decision reflects the actual current state of the fleet (including drones already in transit).
A. Problem statement
Let be the positions of homogeneous holonomic agents (i.e., quadcopters in plan view) with dynamics , , cruise speed , and known time-varying spatial wind . Given a tactical dispatch horizon , the operational question at every control tick is: which drone can reach each cell first, and which cells are unreachable by any drone within ? We define the forward time-to-reach (TTR) field for agent via the level-set problem
where is the agent footprint. The capture-basin Voronoi tessellation under horizon is then intersected with the reachable set , and the unreachable complement is .
B. Why a level-set treatment is required
For uniform wind on an unbounded domain, the bisector between two agents reduces to a classical anisotropic Apollonius-like curve. Apollonius circles and their generalizations are the canonical geometric primitive in pursuit–evasion differential games [11], [48], [49], and their equal-speed special case, the Euclidean Voronoi partition, underlies multi-agent coverage control [47]. Spatially-varying wind eliminates that closed form: the time-optimal trajectory between two points is no longer straight, the bisector curves in ways that follow the curl and divergence of , and the unreachable-set boundary depends on the global wind field through the Eikonal equation [10], [50]. Numerical level-set propagation under the actual is the only general method, and is the same primitive Weekly et al. [14] used for underactuated drifter navigation in spatially-varying flow.
C. In-kernel label propagation: agents at the cost of one solve
The naive approach, i.e., independent TTR solves followed by an argmin postprocess, scales linearly in fleet size. For homogeneous agents we exploit the min-preservation property of HJ semigroups: the combined field

Fig. 4. Closed-loop wildfire-response fleet under time-varying, non-uniform wind. Six homogeneous quadcopters defend a km region (cruise m/s) against three fires. The joint HJ capture-basin Voronoi tessellation, computed via in-kernel label propagation from each drone's current position, is refreshed at every 10 Hz outer-loop tick. Colored basins are each drone's 10-minute reachable region; red diagonal hatch marks cells unreachable within the horizon by any drone. White curves are basin bisectors. Triangles mark drones en route (with the MM:SS predicted-arrival countdown); inverted triangles, returning; circles, patrolling at home. Red X marks a burning fire, gray X a suppressed fire. (a) Initial state: drones at homes, basins anisotropic with the prevailing NE wind. (b) The Center drone en route to Fire #1 (NE region); its basin has followed it east through the domain. (c) Fire #2 (SW region) en route during the gust, with the wind rotated. (d) Late phase ( s), wind rotated further: a pocket in the upwind direction is unreachable in the 10-min window.
satisfies the same HJ equation (4) as each individual , with initial condition . A single combined solve produces . To recover the assignment , we propagate an integer label field inside the solver kernel: at every time step, each cell whose front has just arrived (i.e., has just crossed zero) inherits
the label of its 4-neighbor with the smallest V among labeled neighbors. That neighbor is the cell from which the front delivered the assignment. The labeled combined solve costs roughly a single-agent solve. Cells where V > 0 at the end of the solver horizon stay at a sentinel value and constitute . A majority postprocessor on the label field at save time removes residual 1-cell discretization artifacts along bisectors.
This reduces -agent capture-basin Voronoi to the cost of a single TTR solve regardless of fleet size, provided the agents share dynamics. We validated the combined-solve labels against ground-truth argmin over independent solves at on a grid: the combined solve takes 15–17 ms versus 69–77 ms for the six separate solves on the RTX 4000 Ada (calm and gusty wind, medians of 7 gated runs), a speedup against the theoretical ceiling. Label agreement with the argmin reference is 99.5%; the 0.5% disagreement is a 1-cell stripe along Voronoi bisectors. To our knowledge this is the first reported in-kernel Voronoi-from-HJ implementation in a level-set HJ solver at GPU rates (the label kernel supports both the WENO5+TVD-RK3 and the first-order modes; the results here use the first-order mode of Section IV). Competitive fast-marching for Voronoi tessellation is classical [10], but to date has not been done inside an inner-loop-rate level-set HJ solver.
D. Demonstration setup
We simulate quadcopters at four perimeter and two interior staging stations on the km region. Cruise speed m/s. The wind field combines (i) a synoptic background rotating from NE to NW over the 15-minute simulation at 12 m/s magnitude (within the documented active-fire-spread range of 8.3–27.7 m/s) and (ii) a cyclonic plume rotor whose center walks slowly NE and whose tangential speed peaks at 30 m/s during an 80-second gust window centered at s, matching the documented Santa-Ana extreme-gust regime. The tactical horizon is min. Three fires appear at scripted times s at scattered locations.
The dispatch policy proceeds as follows. When a fire appears we look up the label field at the fire's cell. If the cell is unreachable within the horizon (i.e., the label is the invalid sentinel), no drone is dispatched and the fire stays pending until either the wind shifts or a drone repositions such that some basin covers the cell. If the live owner of the cell is currently suppressing another fire, the new fire likewise waits. We do not include a fallback to nearest-by-straight-line-distance dispatch. Note that a drone whose 10-minute basin does not currently cover the fire is, by definition, not going to arrive at the fire within 10 minutes under the assumed wind field, so such a fallback would assign a drone we already know cannot complete the task within .
E. Closed-loop result
The combined solve takes 4.0 ms per tick (mean over the 9000-tick run; median of 5 gated runs) on the RTX 4000 Ada at FP32 under the 10-minute horizon, giving an approximately 250 Hz Voronoi-refresh ceiling against the 10 Hz outer loop. All three fires are suppressed within the simulation window. Figure 4 shows four representative frames.
The qualitative payoff is visible in Figure 4(b–d). As the Center drone leaves home to suppress the NE fire, its basin (orange) extends east through the domain following the drone, so any fire appearing in the central-east region during that transit would be assigned to the Center drone rather than to whichever drone's home station happened to be closest. In practice, this is what it means for the Voronoi partition to be recomputed from live positions rather than from static homes: the partition tracks the fleet as it moves.
F. Comparison with classical multi-agent dispatch
Voronoi partitioning of agent positions is the basic primitive of coverage control [47]; its common dispatch instantiation is a static-home Voronoi (Euclidean or wind-anisotropic, computed once per mission from each drone's home station). It is closed-form, but cannot accommodate in-transit drones or time-varying wind without re-solving, which puts it back in the same regime as ours. Distributed sampling-based path planners (e.g., RRT* and its relatives) handle anisotropic flow but do not produce a globally consistent partition. Linear MPC over the fleet handles bounded disturbance, but the curse of dimensionality precludes joint multi-agent optimization in a time-varying flow field. Online HJ via in-kernel Voronoi delivers the global partition under arbitrary at robot rates, and the unreachable-set emerges from the same solve at no extra cost.
VIII. DISCUSSION AND FUTURE WORK
A. The 4D ceiling
The exponential scaling in state dimension is unchanged by this work. At FP32 a -cell 4D solve takes 0.22 s, nearly the 30 Hz control budget; the -cell solve fits in 16 ms but with coarse spatial resolution. State-space decomposition and learned-value approximations [15], [27] remain the appropriate tools above 4D; we only move the constants.
B. FP32 fidelity floor
On the 2D and 3D cases the FP32 BRT is set-identical to ours-FP64 to the last cell; on the 4D pursuit-evasion cases it differs by up to 0.1% of cells, well below the inherent cross-library disagreement at the same resolution ( in a -range of ). A thin band along the BRT boundary will flip safe/unsafe relative to the FP64 ground truth and should be treated as a band of uncertain classification rather than a hard boundary.
C. Embedded platform performance
The desktop benchmarks use an RTX 4000 Ada Generation GPU (20 GB GDDR6 ECC, 130 W TDP, sm_89). For deployment we target an NVIDIA Jetson AGX Thor developer kit (T5000 module: 2560-core Blackwell GPU, 128 GB LPDDR5X unified memory, sm_110) at the 120 W power-mode cap. The same source builds for both architectures with a single code path: the fused per-stage kernels of Section IV carry no architecture-conditional dispatch, the CFL-limited time step is either host-static or kept on device by a single-thread compute_dt kernel, and the 3D RK3 step is captured into a CUDA graph and replayed back to back, with no per-step host synchronization, on both devices.
On single solves Thor is 2.7–3.5× slower than the desktop (Table V): Air3D at 66 Hz at N=41 and 35 Hz at N=51, the 2D drifter at N=200 at 54 Hz (constant wind) and 27 Hz (spatially-varying wind), and 4D pursuit–evasion at N=31 at 19 Hz, real-time for a typical 5–20 Hz robot outer loop. The multi-agent wildfire Voronoi solve (Section VII, N=200, in-kernel labels) runs at 9.69 ms per tick on Thor (103 Hz, mean over the 9000-tick closed-loop simulation, 3 runs) with clocks pinned, all three fires suppressed in every run; total system input power on the Jetson VIN rail averaged 34.4 W (sampled at 1 Hz by tegrastats). Under the default dynamic clocking the same run (three runs, not idle-gated, host load average 0.3–1.0) takes 10.35 ms per tick at 31.1 W, the figure we quote for deployment. Against the same hj_reachability reference on the same device, our solver runs 3.8–8.9× faster at FP32. XLA's autotuner cannot run on sm_110 with jaxlib 0.10.0 (its profiling kernels have no sm_110 image), so the Thor JAX column uses XLA's default, untuned fusion configurations (--xla_gpu_autotune_level=0).
TABLE V
MEASURED WALL-CLOCK ON JETSON AGX THOR (120 W POWER-MODE CAP, FP32), VERSUS HJ_REACHABILITY JAX-GPU ON THE SAME DEVICE, WITH THE DESKTOP-CLASS RTX 4000 ADA (130 W TDP, FP32) BASELINE FOR CONTEXT. THOR: 7-RUN MEDIANS OF SINGLE_CALL_S WITH GPU CLOCKS PINNED (GPC 1386 MHz), EACH RUN GATED ON AN IDLE HOST; JAX IS UNTUNED XLA (SEE TEXT). ADA: THE GATED MEDIANS OF TABLE IV (9 RUNS). †FLEET_VORONOI IS THE CLOSED-LOOP VORONOI+TTR PER-TICK MEAN OF SECTION VII (9000-TICK RUN; MEDIAN OF THE PER-RUN MEANS OVER 3 RUNS ON THOR AND 5 GATED RUNS ON ADA).
| Case | N | Ada-ours (ms) | Thor-ours (ms) | Thor-JAX (ms) | ours/JAX on Thor |
|---|---|---|---|---|---|
| air3d | 41 | 4.95 | 15.1 | 68.5 | 4.5× |
| air3d | 51 | 8.91 | 28.9 | 110 | 3.8× |
| air3d | 101 | 102 | 355 | 1848 | 5.2× |
| drifter_const | 200 | 6.82 | 18.6 | 167 | 8.9× |
| drifter_wg | 200 | 13.6 | 37.1 | 289 | 7.8× |
| pe_4d | 31 | 16.4 | 53.9 | 392 | 7.3× |
| fleet_voronoi | 200 | 4.04 | 9.69 | - | - |
D. Hand-written kernels versus a tensor compiler
Our lead over torch.compile (Table IV, Fig. 1) comes from scheme-level information that a general-purpose tensor compiler cannot assume. The compiler's schedule — many small, low-register, high-occupancy elementwise kernels that materialize intermediates in memory — is competitive with a kernel that is merely fused, but four properties of the discretization let a hand-written kernel go further. First, the WENO5 weight normalization can be cross-multiplied into a single division because the weights appear only as a convex ratio; the change is exact up to round-off, but it is an algebraic identity, not a graph rewrite a compiler may apply under IEEE semantics, and it matters because consumer Ada runs FP64 at a 1:64 ALU rate and --use_fast_math does not apply to doubles. Second, the CFL wavespeed bound is time-invariant and additively separable for every Hamiltonian here, so the per-stage full-grid reduction can be deleted, not just fused. Third, the SSP-RK3 final stage may write V in place because the stencil reads come from the second-stage buffer — a dataflow fact about the integrator, not about any one kernel. Fourth, at the grid sizes that fit a control budget the whole field is L2-resident, so ghost-cell materialization (the compiler's concatenate) and shared-memory tiling are both strictly worse than letting the cache serve the stencil overlap. Together these put our solver ahead on every case in both precisions (1.3–1.4× at FP64, 1.7–16× at FP32) while the BRT is unchanged to the verification tolerance.
For the real-time deployment regime this paper targets, the hand-written CUDA route wins on both axes — it is faster on every tested case and it ships as a dependency-free C++/CUDA library that links directly into a robot stack with no Python runtime, no JIT warm-up on the first control tick, and deterministic per-tick latency. The torch.compile route remains attractive on different grounds: it is far easier to author and modify, and it brings automatic differentiation for learning-in-the-loop. The two are complementary, with the crossover governed by whether the discretization exposes structure (a time-invariant CFL bound, an algebraic weight identity, an in-place integrator stage) that a hand-written kernel can exploit and a compiler cannot.
E. Future work and applications
Online BRT computation at robot rates opens an application surface that the historical offline-only regime closed off. We see four near-term application classes that the rates in Sections VI–VII make possible, plus several solver-side extensions.
Safety filter for VLA and learned policies — a BRT recomputed each control tick is a natural deterministic guardrail downstream of a vision-language-action stack or any learned controller: at every tick the value function V certifies the proposed action or the gradient supplies a provably safe override, regardless of how the upstream policy was trained. This is the safety-filter pattern of [4], [5] without the requirement that the disturbance model be known at training time.
ADAS and AV pre-crash control — the 2D drifter and 3D Air3D cases are the canonical primitives for ground-vehicle reach-avoid against a worst-case adversary; an online BRT lets the safety boundary track the actual current friction coefficient, road geometry, and worst-case other-vehicle behavior rather than a precomputed nominal.
Humanoid robotics — contact-rich locomotion induces fast-changing dynamics from terrain and payload; an online BRT can certify balance and footstep regions against a worst-case ground disturbance and worst-case push, recomputed under the current estimated contact model.
Multi-agent dispatch under non-stationary disturbance — the wildfire-response demonstration in Section VII generalizes to any homogeneous multi-agent dispatch problem under a time-varying flow field, e.g., search-and-rescue UAV fleets in shifting winds, surface-vehicle fleets in tidal currents, or perimeter defense against incoming threats with time-varying intercept geometry.
Solver-side extensions: persisting device buffers across the per-tick solver calls in the closed-loop fleet demonstration (each tick currently re-allocates and re-uploads the static flow field); and Tensor Core kernels for FP16/BF16 stencil compute, combined with mixed-precision error bounds, which could extend the real-time envelope (Fig. 3) toward the 100 Hz regime on 4D problems. The most direct test of the central proposition — that the boundary between offline and online BRT computation has moved — is a quantitative closed-loop study of an online-recomputed BRT in a safety-filter role, measured against the same robot under offline-precomputed and neural-approximator baselines in a regime where the disturbance model shifts during the mission.
IX. CONCLUSION
We have presented a CUDA implementation of the canonical WENO5+TVD-RK3+Lax-Friedrichs level-set Hamilton-Jacobi-Isaacs solver that runs at robot control time scales on a single workstation GPU, and on a Jetson AGX Thor embedded SoC at 31 W. The pointwise output matches the Stanford ASL JAX reference hj_reachability on eight benchmarking cases at FP64 while running 2.0–4.6× faster, and the solver outperforms a torch.compile reimplementation of the identical scheme on every case in both precisions — the fused per-stage kernels exploit scheme-level structure (a time-invariant CFL bound, an algebraically restructured WENO5 normalization, an in-place final RK3 stage) that a general-purpose tensor compiler cannot assume. At FP32 the solver clears the 30 Hz bar with margin on the canonical 3D Air3D (112 Hz) and 4D pursuit-evasion (61 Hz) problems that have historically been precomputed offline. An in-kernel label-propagation extension delivers the K-agent capture-basin Voronoi tessellation at the cost of a single combined solve, which we demonstrated on a closed-loop multi-quadcopter wildfire-response simulation under time-varying, non-uniform wind. These rates put a deterministic, formally-guaranteed safety primitive inside the inner loop of the autonomy stacks — ADAS/AV, humanoid robotics, and VLA-driven policies — that otherwise have no such guarantee available at deployment time.
ACKNOWLEDGMENT
The authors thank Claire Tomlin, Sylvia Herbert, Somil Bansal, Jason J. Choi, and Donggun Lee for helpful discussions and pointers to related work, and Donna Weekly, CEO of Mirror AI, for supporting this work.
Generative AI was used extensively in preparing this article. Claude (Anthropic), a large language model, assisted in drafting and revising the text of all sections, in writing and optimizing the CUDA/C++ solver, benchmarking, and figure-generation code, and in checking bibliographic metadata and citation contexts. The authors directed the work, reviewed and edited all AI-assisted text and code, re-ran every reported measurement, and verified each reference against its source; they take full responsibility for the paper's content.
REFERENCES
[1] J. Lygeros, "On reachability and minimum cost optimal control," Automatica, vol. 40, no. 6, pp. 917–927, 2004, doi: 10.1016/j.automatica.2004.01.012. [2] I. M. Mitchell, A. M. Bayen, and C. J. Tomlin, "A time-dependent Hamilton–Jacobi formulation of reachable sets for continuous dynamic games," IEEE Transactions on Automatic Control, vol. 50, no. 7, pp. 947–957, 2005, doi: 10.1109/TAC.2005.851439. [3] S. Bansal, M. Chen, S. Herbert, and C. J. Tomlin, "Hamilton–Jacobi reachability: A brief overview and recent advances," in Proc. IEEE Conf. Decision and Control (CDC), 2017, pp. 2242–2253, arXiv:1709.07523, doi: 10.1109/CDC.2017.8263977. [4] J. F. Fisac, A. K. Akametalu, M. N. Zeilinger, S. Kaynama, J. H. Gillula, and C. J. Tomlin, "A general safety framework for learning-based control in uncertain robotic systems," IEEE Transactions on Automatic Control, vol. 64, no. 7, pp. 2737–2752, 2019, arXiv:1705.01292, doi: 10.1109/TAC.2018.2876389. [5] K.-C. Hsu, H. Hu, and J. F. Fisac, "The safety filter: A unified view of safety-critical control in autonomous systems," Annual Review of Control, Robotics, and Autonomous Systems, vol. 7, pp. 47–72, 2024, arXiv:2309.05837, doi: 10.1146/annurev-control-071723-102940. [6] I. M. Mitchell, "The flexible, extensible and efficient toolbox of level set methods," Journal of Scientific Computing, vol. 35, no. 2–3, pp. 300–329, 2008, doi: 10.1007/s10915-007-9174-4. [7] HJReachability, "helperOC and BEACLS: MATLAB and C++ toolboxes for Hamilton–Jacobi reachability," https://github.com/HJReachability/helperoOC, 2023, accessed 2026-05-13. [8] Stanford ASL, "hj_reachability: Hamilton–Jacobi reachability analysis in JAX," https://github.com/StanfordASL/hj_reachability, 2024, accessed 2026-05-13. [9] J. Ansel, E. Yang, H. He, N. Gimelshein, A. Jain, M. Voznesensky, B. Bao, P. Bell, D. Gerard, E. Burovski et al., "PyTorch 2: Faster machine learning through dynamic Python bytecode transformation and graph compilation," in Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), Volume 2, 2024, pp. 929–947, doi: 10.1145/3620665.3640366. [10] J. A. Sethian, "A fast marching level set method for monotonically advancing fronts," Proceedings of the National Academy of Sciences, vol. 93, no. 4, pp. 1591–1595, 1996, doi: 10.1073/pnas.93.4.1591. [11] R. Isaacs, Differential Games: A Mathematical Theory with Applications to Warfare and Pursuit, Control and Optimization. New York: John Wiley & Sons, 1965. [12] K. Margellos and J. Lygeros, "Hamilton–Jacobi formulation for reach-avoid differential games," IEEE Transactions on Automatic Control, vol. 56, no. 8, pp. 1849–1861, 2011, doi: 10.1109/TAC.2011.2105730. [13] A. M. Bayen, I. M. Mitchell, M. M. K. Oishi, and C. J. Tomlin, "Aircraft autolander safety analysis through optimal control-based reach set computation," Journal of Guidance, Control, and Dynamics, vol. 30, no. 1, pp. 68–77, 2007, doi: 10.2514/1.21562. [14] K. Weekly, A. Tinka, L. Anderson, and A. M. Bayen, "Autonomous river navigation using the Hamilton–Jacobi framework for underactuated vehicles," IEEE Transactions on Robotics, vol. 30, no. 5, pp. 1250–1255, 2014, doi: 10.1109/TRO.2014.2327288. [15] S. L. Herbert, M. Chen, S. Han, S. Bansal, J. F. Fisac, and C. J. Tomlin, "FaSTrack: A modular framework for fast and guaranteed safe motion planning," in Proc. IEEE Conf. Decision and Control (CDC), 2017, pp. 1517–1522, doi: 10.1109/CDC.2017.8263867. [16] S. Osher and C.-W. Shu, "High-order essentially nonoscillatory schemes for Hamilton–Jacobi equations," SIAM Journal on Numerical Analysis, vol. 28, no. 4, pp. 907–922, 1991, doi: 10.1137/0728049. [17] G.-S. Jiang and D. Peng, "Weighted ENO schemes for Hamilton–Jacobi equations," SIAM Journal on Scientific Computing, vol. 21, no. 6, pp. 2126–2143, 2000, doi: 10.1137/S106482759732455X. [18] C.-W. Shu and S. Osher, "Efficient implementation of essentially non-oscillatory shock-capturing schemes," Journal of Computational Physics, vol. 77, no. 2, pp. 439–471, 1988, doi: 10.1016/0021-9991(88)90177-5. [19] I. M. Mitchell, "Application of level set methods to control and reachability problems in continuous and hybrid systems," Ph.D. dissertation, Stanford University, 2002. [20] S. Osher and J. A. Sethian, "Fronts propagating with curvature-dependent speed: Algorithms based on Hamilton–Jacobi formulations," Journal of Computational Physics, vol. 79, no. 1, pp. 12–49, 1988, doi: 10.1016/0021-9991(88)90002-2.
[21] M. Bui, H. Hu, C. He, M. Lu, G. Giovanis, A. Shriraman, and M. Chen, "OptimizedDP: An efficient, user-friendly library for optimal control and dynamic programming," arXiv preprint arXiv:2204.05520, 2022.
[22] J. J. Choi, C. A. Strong, K. Sreenath, N. Cho, and C. J. Tomlin, “Data-driven Hamiltonian for direct construction of safe set from trajectory data,” in IEEE Conference on Decision and Control (CDC), 2025, pp. 2951–2958, arXiv:2504.03233. Software: hj_reachability_torch, https://github.com/HJReachability/hj_reachability_torch, doi: 10.1109/CDC57313.2025.11312763.
[23] A. K. Akametalu, J. F. Fisac, J. H. Gillula, S. Kaynama, M. N. Zeilinger, and C. J. Tomlin, “Reachability-based safe learning with Gaussian processes,” in Proc. IEEE Conf. Decision and Control (CDC), 2014, pp. 1424–1431, doi: 10.1109/CDC.2014.7039601.
[24] M. Chen and C. J. Tomlin, “Hamilton–Jacobi reachability: Some recent theoretical advances and applications in unmanned airspace management,” Annual Review of Control, Robotics, and Autonomous Systems, vol. 1, pp. 333–358, 2018, doi: 10.1146/annurev-control-060117-104941.
[25] S. Singh, M. Chen, S. L. Herbert, C. J. Tomlin, and M. Pavone, “Robust tracking with model mismatch for fast and safe planning: An SOS optimization approach,” in Algorithmic Foundations of Robotics XIII (WAFR 2018), ser. Springer Proceedings in Advanced Robotics. Springer, 2020, vol. 14, pp. 545–564, arXiv:1808.00649, doi: 10.1007/978-3-030-44051-0_32.
[26] K. Leung, E. Schmerling, M. Zhang, M. Chen, J. Talbot, J. C. Gerdes, and M. Pavone, “On infusing reachability-based safety assurance within planning frameworks for human-robot vehicle interactions,” The International Journal of Robotics Research, vol. 39, no. 10–11, pp. 1326–1345, 2020, arXiv:2012.03390, doi: 10.1177/0278364920950795.
[27] S. Bansal and C. J. Tomlin, “DeepReach: A deep learning approach to high-dimensional reachability,” in Proc. IEEE Int. Conf. Robotics and Automation (ICRA), 2021, pp. 1817–1824, arXiv:2011.02082, doi: 10.1109/ICRA48506.2021.9561949.
[28] J. Borquez, K. Nakamura, and S. Bansal, “Parameter-conditioned reachable sets for updating safety assurances online,” in Proc. IEEE Int. Conf. Robotics and Automation (ICRA), 2023, pp. 10553–10559, doi: 10.1109/ICRA48891.2023.10160554.
[29] A. Lin, S. Peng, and S. Bansal, “One filter to deploy them all: Robust safety for quadrupedal navigation in unknown environments,” IEEE Transactions on Robotics, vol. 42, pp. 545–560, 2026, doi: 10.1109/TRO.2025.3644957.
[30] S. Tonkens, S. Kojima, C. Liu, J. Masri, and S. Herbert, “Refining almost-safe value functions on the fly,” arXiv:2602.23478, 2026.
[31] G. Bahati, R. M. Bena, and A. D. Ames, “Dynamic safety in complex environments: Synthesizing safety filters with Poisson’s equation,” in Proc. Robotics: Science and Systems (RSS), 2025, doi: 10.15607/RSS.2025.XXI.137.
[32] K.-C. Hsu, D. P. Nguyen, and J. F. Fisac, “ISAACS: Iterative soft adversarial actor-critic for safety,” in Proc. 5th Annual Learning for Dynamics and Control Conference (LADC), ser. Proc. Machine Learning Research, vol. 211, 2023, pp. 90–103, arXiv:2212.03228.
[33] J. Darbon and S. Osher, “Algorithms for overcoming the curse of dimensionality for certain Hamilton–Jacobi equations arising in control theory and elsewhere,” Research in the Mathematical Sciences, vol. 3, no. 1, p. 19, 2016, doi: 10.1186/s40687-016-0068-7.
[34] Y. T. Chow, J. Darbon, S. Osher, and W. Yin, “Algorithm for overcoming the curse of dimensionality for state-dependent Hamilton–Jacobi equations,” Journal of Computational Physics, vol. 387, pp. 376–409, 2019, doi: 10.1016/j.jcp.2019.01.051.
[35] W. Sharpless, Y. T. Chow, and S. Herbert, “Conservative linear envelopes for nonlinear, high-dimensional, Hamilton–Jacobi reachability,” IEEE
Transactions on Automatic Control, vol. 71, no. 7, pp. 4811–4818, 2026, doi: 10.1109/TAC.2026.3661791.
[36] —, “State-augmented linear games with antagonistic error for high-dimensional, nonlinear Hamilton–Jacobi reachability,” in Proc. IEEE Conf. Decision and Control (CDC), 2024, pp. 8117–8124, doi: 10.1109/CDC56724.2024.10886696.
[37] W. Sharpless, N. Shinde, M. Kim, Y. T. Chow, and S. Herbert, “Koopman-Hopf Hamilton–Jacobi reachability and control,” arXiv:2303.11590, 2023.
[38] W. Sharpless, Y. T. Chow, and S. Herbert, “HopfReachability.jl: Julia code for Hamilton–Jacobi reachability of differential games via the Hopf formula,” https://github.com/UCSD-SASLab/HopfReachability, 2024, accessed 2026-07-01.
[39] D. Lee and C. J. Tomlin, “Iterative method using the generalized Hopf formula: Avoiding spatial discretization for computing solutions of Hamilton–Jacobi equations for nonlinear systems,” in Proc. IEEE Conf. Decision and Control (CDC), 2019, pp. 1486–1493, doi: 10.1109/CDC40024.2019.9029572.
[40] H. Seo, D. Lee, C. Y. Son, I. Jang, C. J. Tomlin, and H. J. Kim, “Real-time robust receding horizon planning using Hamilton–Jacobi reachability analysis,” IEEE Transactions on Robotics, vol. 39, no. 1, pp. 90–109, 2023, doi: 10.1109/TRO.2022.3187291.
[41] K. P. Wabersich and M. N. Zeilinger, “A predictive safety filter for learning-based control of constrained nonlinear dynamical systems,” Automatica, vol. 129, p. 109597, 2021, arXiv:1812.05506, doi: 10.1016/j.automatica.2021.109597.
[42] L. Brunke, M. Greeff, A. W. Hall, Z. Yuan, S. Zhou, J. Panerati, and A. P. Schoellig, “Safe learning in robotics: From learning-based control to safe reinforcement learning,” Annual Review of Control, Robotics, and Autonomous Systems, vol. 5, pp. 411–444, 2022, arXiv:2108.06266, doi: 10.1146/annurev-control-042920-020211.
[43] J. Borquez, L. Raus, Y. U. Ciftici, and S. Bansal, “DualGuard MPPI: Safe and performant optimal control by combining sampling-based MPC and Hamilton–Jacobi reachability,” IEEE Robotics and Automation Letters, vol. 10, no. 7, pp. 6944–6951, 2025, doi: 10.1109/LRA.2025.3568686.
[44] T. Lew and M. Pavone, “Sampling-based reachability analysis: A random set theory approach with adversarial sampling,” in Proc. 2020 Conf. on Robot Learning (CoRL), ser. Proc. Machine Learning Research, vol. 155, 2021, pp. 2055–2070.
[45] P. Micikevicius, “3D finite difference computation on GPUs using CUDA,” in Proc. 2nd Workshop on General Purpose Processing on Graphics Processing Units (GPGPU-2), 2009, pp. 79–84, doi: 10.1145/1513895.1513905.
[46] K. Datta, M. Murphy, V. Volkov, S. Williams, J. Carter, L. Oliker, D. Patterson, J. Shalf, and K. Yelick, “Stencil computation optimization and auto-tuning on state-of-the-art multicore architectures,” in Proc. ACM/IEEE Conf. Supercomputing (SC '08), 2008, pp. 1–12, doi: 10.1109/SC.2008.5222004.
[47] J. Cortés, S. Martínez, T. Karatas, and F. Bullo, “Coverage control for mobile sensing networks,” IEEE Transactions on Robotics and Automation, vol. 20, no. 2, pp. 243–255, 2004, doi: 10.1109/TRA.2004.824698.
[48] E. Garcia, D. W. Casbeer, and M. Pachter, “Optimal strategies of the differential game in a circular region,” IEEE Control Systems Letters, vol. 4, no. 2, pp. 492–497, 2020, doi: 10.1109/LCSYS.2019.2963173.
[49] R. Yan, Z. Shi, and Y. Zhong, “Reach-avoid games with two defenders and one attacker: An analytical approach,” IEEE Transactions on Cybernetics, vol. 49, no. 3, pp. 1035–1046, 2019, doi: 10.1109/TCYB.2018.2794769.
[50] J. N. Tsitsiklis, “Efficient algorithms for globally optimal trajectories,” IEEE Transactions on Automatic Control, vol. 40, no. 9, pp. 1528–1538, 1995, doi: 10.1109/9.412624.