NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Verifying Learning-Based Robotic Navigation Systems

Guy Amir, Davide Corsi, Raz Yerushalmi, Luca Marzari, David Harel, Alessandro Farinelli, Guy Katz

Introduction

Deep Reinforcement Learning (DRL) has revolutionized "mapless navigation," enabling robots to traverse unknown environments using only local sensor data like LiDAR. However, these DRL agents are essentially "black boxes." While a model might exhibit a 98% success rate in simulation, it may still harbor critical flaws—such as driving into a wall or entering an infinite turning loop—when encountering rare sensor configurations. Traditional empirical testing often fails to uncover these edge cases. This research introduces a formal verification framework to rigorously evaluate DRL policies, ensuring safety and reliability before deployment on physical hardware.

Methodology: Formal Verification of DRL Policies

The core challenge in verifying DRL-based navigation lies in the complexity of Deep Neural Networks (DNNs). The researchers utilized Marabou, an SMT-based verification engine designed specifically for DNNs, to analyze the decision-making logic of trained agents.

A simplified representation of the neural network architectures verified in this study, showing the flow from input sensors to output actions through weighted sums and ReLU activations.

The framework focuses on two primary categories of formal properties:

  1. Safety (Collision Avoidance): Ensuring the robot never chooses a forward action if obstacles are detected within a critical proximity.
  2. Liveness (Infinite Loops): Ensuring the robot does not become trapped in repetitive, non-productive behaviors, such as alternating left and right turns indefinitely.

To reason about multi-step behavior without a global map, the authors developed a "sliding window" principle. By mathematically linking sensor readings across sequential time-steps (e.g., accounting for 30° turning increments), the verifier can evaluate sequences of actions rather than just isolated decisions. Additionally, the framework introduces a "Bravery Score", calculated via binary search and verification, which quantifies the minimum safety distance an agent requires to move forward.

Experimental Evaluation

The study involved a massive benchmarking effort:

  • Model Generation: 780 DRL models were trained using three prominent algorithms: Deep Deterministic Policy Gradient (DDQN), Reinforce, and Proximal Policy Optimization (PPO). Only models achieving at least a 96% success rate during training were considered.
  • Verification Queries: A total of 4,680 queries were executed across the six defined safety and liveness properties.
  • Physical Validation: To ensure the "bugs" identified by the verifier were not mere mathematical artifacts, the researchers validated their findings using a Robotis Turtlebot 3 in a controlled physical arena.
The Robotis Turtlebot 3 platform used to physically validate the failure cases identified by the formal verification engine.

Results and Discussion

The results reveal a stark discrepancy between empirical success rates and formal safety:

  • The Deception of Success Rates: Despite high training performance, 99.7% of the 780 models failed at least one formal property. Specifically, 752 models were proven to have configurations where they would collide with obstacles despite having clear alternative paths.
  • Algorithm Stability: PPO emerged as the most stable algorithm, producing models with the fewest "unstable alternations" during training. Ultimately, only two models out of the entire set passed all six verification tests—both were trained using PPO.
  • Verification vs. Heuristics: The formal verification approach outperformed state-of-the-art gradient-based attacks, identifying 33% more violations. This underscores the necessity of complete verification for safety-critical robotic applications.

Conclusion and Future Directions

This work demonstrates that high success rates in DRL are insufficient for ensuring robotic safety. Formal verification provides a necessary filter to identify "elite" models that are truly robust. While the current framework effectively handles static obstacles and deterministic policies, future research will address the scalability of long-horizon verification, the complexities of dynamic environments with moving agents, and the verification of stochastic policies.

Summary updated

BibTeX
@inproceedings{amir2023verifying,
  author = {Guy Amir and Davide Corsi and Raz Yerushalmi and Luca Marzari and David Harel and Alessandro Farinelli and Guy Katz},
  title = {{Verifying Learning-Based Robotic Navigation Systems}},
  booktitle = {TACAS},
  year = {2023},
  doi = {10.1007/978-3-031-30823-9\_31},
}
Figure