Abstract
Validating the safety of autonomous vehicles (AVs) is a significant challenge due to the rarity of failure events. Adaptive Stress Testing (AST) typically employs Reinforcement Learning (RL) to find these "edge cases," but often requires hand-crafted domain heuristics to overcome sparse reward signals. This paper presents an adaptation of the Go-Explore algorithm for AST, enabling the discovery of safety failures in long-horizon simulations without domain-specific guidance. Our results demonstrate that Go-Explore can identify critical failures in complex scenarios where standard RL and Monte Carlo Tree Search (MCTS) fail.
Introduction
The validation of autonomous systems necessitates identifying rare but catastrophic failure modes. Adaptive Stress Testing (AST) frames this as a search problem where an agent controls the environment to induce a system failure. However, standard RL agents struggle with the sparse rewards inherent in these tasks, often requiring engineers to design complex heuristics—such as rewarding proximity to a pedestrian—to guide the search. These heuristics can introduce bias and may steer the agent away from the most probable failure trajectories.
Methodology
We propose a modified Go-Explore (GE) approach to address the "hard-exploration" nature of heuristic-free AST. The method operates in two distinct phases:
- Exploration Phase: The algorithm maintains a pool of reached states (cells). It iteratively selects a cell, returns to it, and explores further. To maintain the simulator as a "black box," we index cells by hashing the action sequence and timestep, allowing state restoration via action replay rather than internal state access.
- Robustification Phase: Once a failure is discovered, the trajectory is used as an expert demonstration. We employ the Backwards Algorithm (BA) to train a deep neural network (using PPO) to reliably reproduce and refine the failure, maximizing its statistical likelihood (measured by Mahalanobis distance).
Experimental Setup
The approach was evaluated using an Autonomous Vehicle Crosswalk Simulator, where a pedestrian (controlled by the AST solver) attempts to cross in front of an approaching car. We defined three benchmark scenarios:
- Easy: Short horizon (50 steps) with distance-based heuristics.
- Medium: Short horizon (50 steps) without heuristics.
- Hard: Long horizon (100 steps) without heuristics.
Results and Discussion
Our experiments reveal that heuristics are a double-edged sword: while they facilitate faster discovery, they often lead to less probable failures. In the "Hard" scenario, the limitations of standard methods became apparent. Both Deep RL (DRL) and MCTS failed to find any collisions within the 100-step horizon. In contrast, Go-Explore successfully identified failure trajectories, proving its efficacy in long-horizon, sparse-reward environments.
Furthermore, the "find then refine" paradigm proved highly effective. While DRL is superior at exploitation (refining known paths), GE excels at discovery. The robustification phase (Phase 2) acted as a universal performance booster, improving the failure likelihood for all tested solvers.
Conclusion
This work demonstrates that advanced exploration strategies like Go-Explore can effectively validate autonomous systems without the need for biased domain heuristics. By decoupling discovery from refinement, we can identify rare edge cases in complex, black-box simulations. Future work will focus on optimizing the computational budget required for the robustification phase and exploring more complex environmental interactions.
Summary updated