# Temporal Difference Learning of Probabilistic Reach-Avoid Value Functions

Robotics.world

> Probabilistic reach-avoid value functions learned by temporal difference replace worst-case Hamilton-Jacobi sets with stochastic-disturbance estimates, reducing conservatism for runtime safety…

**arXiv**: 2610.28106 · Preprint · not peer-reviewed

**Published**: 2026-10-20

**Authors**: Elias Fontanari, Pietro Noah Crestaz, Matteo Saveriano, Andrea Del Prete

## In plain words

Classical Hamilton-Jacobi Reachability (HJR) and its neural variants (Lipschitz Continuous Reachability Learning, DeepReach) compute reach-avoid sets by treating disturbances as an adversary that always picks the worst outcome from a bounded set.

## AI summary

## Overview

- **Research area:** Robotics safety and reachability analysis — specifically, computing *reach-avoid sets* (states from which a task can be finished without hitting an unsafe region) using self-supervised temporal-difference learning rather than Hamilton-Jacobi reachability.
- **Technical level:** Advanced. It assumes familiarity with value functions, Bellman recursions, temporal-difference learning, and Hamilton-Jacobi reachability.
- **Scope (one sentence):** The paper introduces PVF, a black-box, self-supervised method that learns the *probability* of reaching a target set before entering a constraint set under stochastic (possibly unbounded) disturbances, and compares it against adversarial HJR baselines on a scalar toy problem, a drone-racing task, and a Hopper locomotion task.

## What This Paper Is About

Classical Hamilton-Jacobi Reachability (HJR) and its neural variants (Lipschitz Continuous Reachability Learning, DeepReach) compute reach-avoid sets by treating disturbances as an adversary that always picks the worst outcome from a bounded set. That guarantees safety but produces overly conservative sets when noise is merely random rather than adversarial, and it requires the disturbance set to be known and bounded in advance. The authors instead learn a value function that outputs, for each state, the *probability* of reaching the target before violating a constraint — a graded quantity rather than a worst-case binary verdict — using only sampled transitions from a black-box system.

## Key Contributions

1. **A probabilistic formulation of reach-avoid value functions.** The paper defines the value as the probability that the first hitting time of the target set is smaller than the first hitting time of the constraint set, and derives a recursive Bellman-style relation for it with boundary values of 0 (constraint violated) and 1 (target reached).
2. **A self-supervised, black-box training algorithm (PVF).** The method needs only the ability to sample transitions — no analytical model, no differentiable dynamics, and no knowledge of the disturbance distribution — making it applicable to contact-rich and hybrid systems where PDE-based methods cannot be used.
3. **An empirical comparison against HJR-based baselines.** PVF is compared to LCRL on a scalar toy problem, Drone Racing, and Hopper (with an SQRL-style undiscounted variant as an additional ablation), showing lower false-negative rates and generally lower false-positive rates under non-adversarial noise.
4. **A demonstration application to model predictive shielding.** The learned value function is used as a safety filter that switches from a nominal Hopper policy to a backup policy when the predicted success probability drops below 0.99.

## Main Findings

- **Toy problem: much less conservative than adversarial HJR.** With dynamics x' = 1.01x + 0.01(u+w), target {−2 < x ≤ −1}, constraint {x ≤ −2}, |u| ≤ 1 and |w| ≤ 4 (a zero-mean Gaussian with σ = 1 truncated at 4σ), the LCRL value function marks almost nothing as safe — under worst-case disturbance the target can never be reached except from inside it — while PVF marks a substantially larger portion of the state space as successful.
- **Drone Racing: fewer missed alarms.** At nominal thresholds (0.99 for PVF, 0 for LCRL), PVF performed "remarkably better" in false negatives and "moderately better" in false positives across three seeds. False negatives were consistently lower for PVF except when the LCRL threshold was pushed above 0.1, which raised false positives above 6%.
- **Hopper: better on both error types on average.** At nominal thresholds, PVF was more accurate on average in both false negatives and false positives; the median LCRL false-negative rate was about 4% higher than PVF's, while minimum FN rates across runs were very close, and PVF's false-positive rate was nearly 0%. The authors suggest this may be because LCRL's learned disturbance policy was not truly worst-case.
- **Removing the target set breaks the method.** An undiscounted avoid-only variant (equivalent to SQRL without discounting, with falling within 500 steps as failure and a threshold of 0.99 corresponding to 1% failure probability) classified essentially everything as unsafe: true positive 74.6%, false positive 23.6%, true negative 0.0%, false negative 0.0%, unclear 1.8%. The target set supplies the terminal supervision that makes the probability well-posed.
- **Ground truth was certified statistically, not assumed.** Each state's true success probability was estimated with 4000 Monte Carlo rollouts and a Wilson score interval at 99.5% confidence, classifying states as truly successful if the lower bound ≥ 0.99, truly unsuccessful if the upper bound < 0.99, and unclear otherwise; unclear cases stayed below 4.5% across all experiments, and metrics were computed over 1000 states per system.
- **Computation time is a weakness.** Mean times: on Drone Racing, LCRL 3175 s versus PVF 10044 s total (677 s data collection + 9367 s training); on Hopper, LCRL 361 s versus PVF 30647 s total (7145 s data collection + 23502 s training). The Hopper LCRL figure is low because it was run with a fixed policy, and giving LCRL more time did not improve its performance.
- **Shielding works, including outside the training noise range.** Across 11 seeds and 100 trials per condition, shielded success counts were 99.1 ± 1.6, 97.2 ± 4.2 and 91.0 ± 8.3 at noise bounds 4σ = 0.10, 0.15 and 0.20, versus 97.1 ± 5.2, 90.8 ± 7.7 and 83.1 ± 10.0 unshielded. At 4σ = 0.15 shielding gave 6.4% more successes on average with roughly half the standard deviation; at 4σ = 0.20 the gap widened to 7.9%.
- **The observed success rate falls short of the requested 99%.** The authors attribute this to distribution mismatch between the states in the training set and those visited by the nominal policy at deployment.

## Methodology in Plain English

**Setting.** The system is a discrete-time dynamical system x' = f(x, u, w) where u is a control and w is random noise drawn from an unknown distribution that may be unbounded. The function f is a black box: it can only be queried, not differentiated or written down. A policy is given, and the goal is the probability, from each starting state, of reaching a target region before ever entering a forbidden region. Target and constraint membership are checked by simple indicator functions rather than explicit set expressions.

**The recursive idea.** A state is either in the target, in the constraint set, or in neither (the paper assumes target and constraint are disjoint, redefining the target if needed). If you are already at the target the success probability is 1; if you have violated a constraint it is 0; otherwise it is the expected value of the probability at the next state. This yields a Bellman-style recursion, and the expectation over the unknown transition distribution is replaced by a single sampled next state — the standard temporal-difference move.

**Training.** Trajectories are rolled out from random initial states under the given policy, stopping early when the target or constraint is hit, and stored as (x, x') pairs. A neural network is regressed toward a target that is 0 for constraint states, 1 for target states, and the target network's estimate at x' otherwise, using a mean-squared-error loss. A separate target network updated by Polyak averaging with a soft coefficient on the order of 0.001 stabilizes training; training stops when the relative change in parameters falls below a threshold. The PVF network was a 5-layer MLP with 256 hidden units per layer, GELU activations, and a linear scalar output; the LCRL baselines used 4-layer, 512-unit ReLU MLPs.

**An assumption and a subtlety.** The theory assumes the system reaches the target or constraint almost surely — otherwise closed regions with no terminal signal can leave the undiscounted Bellman equation with multiple fixed points. Although the theory is infinite-horizon, the algorithm uses finite episode lengths; because targets come from the network's own current estimates, the effective horizon grows as training proceeds. The paper notes that its theory does not report a finite-sample or convergence guarantee for the neural approximation.

**Evaluation protocol.** For each test system, 1000 states were drawn from randomly started rollouts (discarding states that ended in the target or constraint). Each state's true success probability was estimated from 4000 independent closed-loop rollouts, with a Wilson score interval at 99.5% confidence and a 0.99 success threshold. Learned value functions were then scored by counting how often their safe/unsafe verdict disagreed with these certified labels, separating missed alarms (an unsafe state called safe) from false alarms (a safe state called unsafe).

## Why This Matters

**Impact on research.** The paper reframes reach-avoid computation from worst-case to probabilistic, which changes what the value function *means*: instead of a signed margin or a binary guarantee, it is an interpretable success probability that can separate states that almost always succeed from states that succeed only under unusually favorable noise. It also removes two practical constraints of HJR-based learning — the need for a bounded disturbance set and the need for differentiable dynamics — and thereby opens the method to contact-rich and hybrid systems where DeepReach-style PDE methods do not apply. The undiscounted avoid-only ablation is a pointed result for the safe-RL community: a critic trained only on failure signals, with no target set, collapsed to calling everything unsafe.

**Real-world applications:**

- Runtime safety monitoring and shielding for legged robots and manipulators operating with imperfect models or in simulation-only conditions.
- Aerial vehicles subject to wind and gust disturbances that are random rather than adversarial, where worst-case analysis would rule out most of the workspace.
- Computing control invariant sets for model predictive control: if the target set is itself control invariant, the resulting reach-avoid set is too, which lets a planner constrain its terminal state and preserve recursive feasibility.
- Deployment of black-box or vendor-supplied controllers where the dynamics cannot be inspected, since only sampled transitions are needed.

**Industry relevance.** Manufacturers deploying learned policies on hardware need a cheap, model-free way to answer "will this state lead to a safe completion?" The shielding experiment is the relevant template: a monitor that triggers a switch to a backup controller when the predicted probability of success falls below a chosen level. The reported computation times (on the order of 10000 s for Drone Racing and 30000 s for Hopper, against 3175 s and 361 s for LCRL) are a real obstacle to routine industrial use, and the authors flag efficiency as the method's main weakness.

## Future Directions

- **Jointly learn the value function and a policy** that maximizes the associated success probability, rather than assuming a policy is provided — the limitation the authors list first.
- **Reduce computation time**, for example by concentrating training on regions where the estimated probability is most uncertain, or by showing that smaller transition datasets suffice; the authors state this hypothesis needs validation.
- **Scale to larger systems**, such as quadruped robots navigating obstacle-rich environments, and further validate PVF for shielding in safety-critical deployments.
- **Close the deployment gap:** the shielding results fell short of the 99% target, attributed to mismatch between training-set states and states visited by the nominal policy — a distribution-shift question the paper leaves open. The paper also does not report formal convergence or finite-sample guarantees for the neural approximation.

## Target Audience

Researchers and graduate students in robotics, control, and reinforcement learning who work on safety verification, reachability analysis, or safe policy deployment; practitioners who need reach-avoid or control-invariant-set computation for systems whose dynamics are non-differentiable, contact-rich, or only available as a simulator; and readers already familiar with HJR, LCRL, DeepReach, or SQRL who want to understand the trade-off between worst-case guarantees and probabilistic, distribution-aware safety estimates.

## Authors’ abstract

Reach-avoid sets, defining the states from which a task can be completed while avoiding unsafe regions, are fundamental tools for deploying robots in environments subject to disturbances and uncertainty, as well as for runtime task-feasibility monitoring, allowing prediction of whether a state is safe and will lead to successful task completion. Classical Hamilton-Jacobi Reachability (HJR) and its recent neural extensions (e.g., Lipschitz Continuous Reachability Learning,…

[The full abstract on arXiv](https://arxiv.org/abs/2610.28106)

[Read the original paper](https://arxiv.org/abs/2610.28106)

## Related papers

- [Beyond Terminal Constraints: Reliable Robot Control with Learned Safe Sets](https://robotics.world/paper/beyond-terminal-constraints-reliable-robot-control-with-learned-safe-2611.06196) 2026-11-04 · cs.RO · Also by Andrea Del Prete, Elias Fontanari +1
- [CAST: Alternating State-Value Targets and Expanded Policy Gradients for Model-Based Reinforcement Learning](https://robotics.world/paper/cast-alternating-state-value-targets-and-expanded-policy-gradients-for-2609.08853) 2026-09-08 · cs.RO · Also by Andrea Del Prete, Pietro Noah Crestaz
- [VAMPS: Visual and Motor Policies from Sampling-Based Planning](https://robotics.world/paper/vamps-visual-and-motor-policies-from-sampling-based-planning-2610.05331) 2026-10-04 · cs.RO · Also by Pietro Noah Crestaz
- [Geometric Coherence via Weighted Matching for 3D Heterogeneous Multi-Agent Reach-Avoid Games](https://robotics.world/paper/geometric-coherence-via-weighted-matching-for-3d-heterogeneous-multi-2610.06882) 2026-09-19 · cs.RO · Key terms of the title in common
- [Neural Integral Control Barrier Functions for Agile Collision Avoidance](https://robotics.world/paper/neural-integral-control-barrier-functions-for-agile-collision-avoidance-2611.02626) 2026-11-02 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/temporal-difference-learning-of-probabilistic-reach-avoid-value-2610.28106
