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.
The framework focuses on two primary categories of formal properties:
- Safety (Collision Avoidance): Ensuring the robot never chooses a forward action if obstacles are detected within a critical proximity.
- 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.
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