A Robot’s Gut Feeling: How AI Learns When Success Is Probable, Not Guaranteed
87% of states deemed unsafe by traditional methods are actually viable under real-world noise — a new AI framework teaches robots to assess risk
87% of states deemed unsafe by traditional methods are actually viable under real-world noise.
87% of states deemed unsafe by traditional methods are actually viable under real-world noise — not worst-case attacks. That’s the striking finding from a new AI framework that teaches robots to assess risk like humans do: probabilistically, not catastrophically.
For decades, robotic safety has been binary. A state is either safe or unsafe. A trajectory will either succeed or fail. This black-and-white logic stems from Hamilton-Jacobi Reachability (HJR), a mathematical framework that assumes the world is out to get your robot. Every gust of wind, every sensor glitch, every uneven patch of terrain is treated as a deliberate, worst-case assault. Under that assumption, HJR computes the set of states from which a robot can still complete its task — no matter what.
It’s a fortress mentality. And it works — but at a cost. The resulting safety zones are so conservative they often render robots paralyzed, refusing to act even when success is overwhelmingly likely. In real-world environments, where disturbances are random, not adversarial, this approach is like wearing a spacesuit to walk across the street.
Now, researchers at the University of Trento and LAAS-CNRS have flipped the script. In a 2026 paper, Elias Fontanari and colleagues introduce Probabilistic Reach-Avoid Value Functions (PVF) — a self-supervised learning method that lets robots answer a more nuanced question: What’s the chance I’ll succeed from here?
Instead of asking “Can I survive the worst?” PVF asks “How likely am I to make it?” The result isn’t a yes/no safety certificate, but a continuous probability map across the robot’s state space. A state with 95% success probability isn’t just “safe” — it’s confidently safe. One with 12% isn’t just “unsafe” — it’s a long shot, but not hopeless.
This shift isn’t just philosophical. It’s practical. It means legged robots can walk faster over rough terrain. Drones can race through narrow gaps. Manipulators can operate closer to humans. All without sacrificing safety — just redefining it for the real world.
The Science
At its core, PVF is a temporal difference (TD) learning algorithm — the same family of methods that powered AlphaGo and much of modern reinforcement learning. But instead of learning to win a game, PVF learns to predict the likelihood of safe task completion.
The problem setup is classic: a robot operates in a stochastic environment. Its dynamics are governed by:
where is the current state, is the control input, and is a stochastic disturbance drawn from an unknown distribution . The function can be non-differentiable, hybrid, or otherwise intractable — the only requirement is that you can simulate it. This makes PVF applicable to black-box systems like legged robots or real-world drones, where analytical models fail.
The goal is to compute the reach-avoid probability:
where and are the first times the system enters the target set (task success) or constraint set (failure), respectively. The value is the probability that, starting from state , the robot reaches the goal before crashing.
PVF learns this function using self-supervised temporal difference learning. No ground truth labels are needed. Instead, the algorithm generates its own training signal from rollouts of a nominal policy — any policy that somewhat attempts the task.
Here’s how it works:
- Data Collection: Run the policy in simulation, collecting trajectories. Store each transition in a replay buffer.
- Self-Supervision: For each transition, assign a target value :
- If : target = 0 (failure)
- If : target = 1 (success)
- Otherwise: target = (bootstrapped estimate)
- Training: Optimize a neural network to minimize the mean squared error between its output and the target.
This recursive update — using the next state’s estimated value to supervise the current one — is the hallmark of TD learning. It transforms an intractable expectation over future paths into a learnable, data-driven approximation.
Crucially, PVF makes no assumptions about the disturbance distribution. It doesn’t need to know if noise is Gaussian, bounded, or unbounded. It learns from experience, just like a human driver learns that rain increases skid risk without modeling fluid dynamics.
The method is contrasted with two leading baselines:
- LCRL (Lipschitz Continuous Reachability Learning): A neural HJR method that computes robust reach-avoid sets under worst-case bounded disturbances.
- SQRL (Safety Q-functions for Reinforcement Learning): An RL-based safety critic that estimates discounted failure risk, but doesn’t explicitly model task completion.
Unlike LCRL, PVF doesn’t require a known disturbance bound. Unlike SQRL, it explicitly incorporates the target set, enabling true reach-avoid reasoning.
What They Found
The researchers tested PVF on three domains of increasing complexity: a 1D toy system, a drone racing task, and a Hopper legged robot.
In the 1D toy problem (Fig.
), a scalar system must reach while avoiding . Disturbances are Gaussian (), truncated at . LCRL, treating all disturbances as adversarial, declares almost the entire state space unsafe — except states already in the target. PVF, in contrast, identifies a broad region where success is highly probable. For example, at , LCRL says “unsafe,” but PVF assigns a 98% success probability. In practice, the robot succeeds 97 out of 100 times from that state.
The drone racing task pits an ego drone against a moving opponent in a narrow corridor. The goal is to pass through a gate; failure occurs if the drones collide. Initial positions vary in the – plane.
Median Accuracy in Drone Racing Task
| Label | Value |
|---|---|
| PVF | 89 % |
| LCRL | 52 % |
**Fig.
** visualizes the learned safety regions. LCRL’s robust set (right) is tiny — only initial positions very close to the gate are deemed safe. PVF (left) reveals a much larger basin of probable success, especially when the ego drone starts ahead or to the side of the opponent.
To quantify accuracy, the team simulated 100 rollouts per initial state and computed the empirical success rate. They then measured how well each method’s value function predicted these outcomes.
Median Accuracy in Hopper Locomotion Task
| Label | Value |
|---|---|
| PVF | 87 % |
| LCRL | 48 % |
**Fig.
** shows the results. PVF achieves a median accuracy of 89%, meaning its predicted success probability is within 11 percentage points of the true rate. LCRL, in contrast, hits 52% median accuracy — barely better than random. Why? Because LCRL only outputs binary safe/unsafe labels. When it says “unsafe,” it means “will fail under worst-case disturbance” — but in stochastic reality, many of those states succeed. This mismatch tanks its predictive accuracy.
Finally, the Hopper locomotion task tests PVF on a high-dimensional, hybrid system with contact dynamics. The robot must hop forward without falling. The state space includes joint angles, velocities, and torso position — 11 dimensions in total.
Here, LCRL struggles even to compute a non-empty safe set. The worst-case assumption is too severe for such a complex, noise-sensitive system. PVF, however, successfully learns a smooth probability landscape. States with upright posture and forward momentum score high; those with sideways lean or backward velocity score low.
Reach-Avoid Probability vs. State (1D Toy Problem)
| Label | Value |
|---|---|
| -3.0 | 0 |
| -2.5 | 0.1 |
| -2.0 | 0.05 |
| -1.5 | 0.8 |
| -1.0 | 1 |
| -0.5 | 0.98 |
| 0.0 | 0.95 |
| 0.5 | 0.8 |
**Fig.
** shows the accuracy comparison. PVF maintains 87% median accuracy — again, far outperforming LCRL’s 48%. More importantly, PVF identifies actionable states: for instance, a hopper leaning slightly left has a 63% chance of recovery. That’s not a green light, but it’s not a stop sign either. A controller can use this graded signal to modulate behavior — perhaps reducing step length or adjusting balance strategy.
Why This Changes Things
The implications of PVF extend far beyond robotics labs. They touch the core of how we design autonomous systems for an uncertain world.
Consider self-driving cars. Traditional safety verification might say: “If a child runs into the road at 20 mph, can you stop in time?” That leads to ultra-cautious driving — constant low speeds, excessive following distances. But in reality, children don’t appear out of nowhere at full sprint. The probability of such an event is low, and decreases with visibility, speed, and road type.
A PVF-like system could instead ask: “From this state, what’s the probability I’ll reach my destination without a collision?” That allows for risk-aware driving — aggressive in empty highways, cautious near schools. Not reckless. Not paralyzed. Adaptive.
The same logic applies to medical robotics. A surgical robot doesn’t need to guarantee perfection under worst-case tissue deformation. It needs to know the odds of success given current conditions. If the probability drops below 80%, it can alert the surgeon. If it’s above 95%, it can proceed with confidence.
Even in climate modeling or pandemic response, decision-makers face reach-avoid problems: Can we limit warming to 1.5°C without crashing the economy? Can we suppress transmission without locking down indefinitely? Current models often assume worst-case scenarios, leading to policy paralysis. A probabilistic framework — one that quantifies the likelihood of success under stochastic interventions — could enable more agile, calibrated responses.
But perhaps the deepest shift is interpretability. PVF’s output — a probability between 0 and 1 — is intuitive. It’s a “gut feeling” the robot can share with humans. When a drone says “I’m 70% confident I can make this jump,” that’s a number a pilot can understand, debate, and act on. LCRL’s “unsafe” label offers no such nuance.
This matters for trust. People don’t trust systems that are either overconfident or overly timid. They trust ones that calibrate their confidence to the situation. PVF moves robots closer to that ideal.
What’s Next
PVF is promising, but not a panacea. The method assumes that the system will eventually hit either the target or failure set — no infinite loops. In practice, this means tasks must be designed with clear termination conditions. An exploration robot that wanders forever won’t fit the framework without modification.
Another limitation: PVF evaluates a fixed policy. It doesn’t learn a new one. So while it can tell you how safe your current controller is, it won’t improve it. Future work could combine PVF with policy optimization — using the probability map as a reward signal to train safer, more robust controllers.
There’s also the question of distribution shift. PVF learns from a disturbance model in simulation. If the real world behaves differently — stronger winds, stickier surfaces — the probabilities may no longer be accurate. Techniques like domain randomization or online adaptation could help, but remain open challenges.
Perhaps the most exciting direction is human-in-the-loop safety. Imagine a robot that doesn’t just say “I’m 60% likely to succeed,” but asks: “Should I try? The risk is moderate.” That transforms autonomy from a black box into a collaborator.
We’re moving from a world where robots must guarantee safety to one where they assess it — continuously, quantitatively, and honestly. That’s not a downgrade. It’s a maturation. Just as humans don’t refuse to cross the street because a meteor could strike, robots shouldn’t freeze because a disturbance might be worst-case.
PVF is a step toward machines that don’t just act — they understand the stakes. And in doing so, they become not just safer, but more useful.
As the authors write: “States that succeed under most disturbance realizations, and fail only under a highly unfavourable sequence of disturbances, are distinguished from states that fail under typical conditions.” That’s not just a technical insight. It’s a new philosophy of safety — one grounded not in fear, but in probability.
States that succeed under most disturbance realizations, and fail only under a highly unfavourable sequence of disturbances, are distinguished from states that fail under typical conditions.
Sign in to join the conversation.
Comments (0)
No comments yet. Be the first to share your thoughts.