Abstract
Validation of autonomous vehicle (AV) software through simulation-based stress testing often encounters two primary obstacles: the discovery of "unavoidable" accidents where the AV is not at fault, and the "redundancy" problem where search algorithms converge on a single failure mode. This paper proposes a reward augmentation framework for Adaptive Stress Testing (AST) to address these issues. By integrating Responsibility-Sensitive Safety (RSS) models and Trajectory Dissimilarity (TD) metrics into the reinforcement learning reward function, the proposed method successfully identifies a diverse set of "at-fault" failure scenarios. Experimental results in multi-agent simulated environments demonstrate that these augmentations significantly improve the relevance and variety of discovered failures compared to generic AST approaches.
Introduction
Validating the safety of autonomous vehicles is a critical yet challenging task. While real-world testing is prohibitively slow and expensive, simulation-based Adaptive Stress Testing (AST) offers a scalable alternative. AST treats the search for failures as a reinforcement learning (RL) problem where an agent controls environmental factors—such as pedestrian movements and sensor noise—to induce system failures. However, standard AST often identifies "unavoidable" crashes (e.g., a pedestrian sprinting into a stopped car) or repeatedly discovers the same failure mode, limiting its utility for debugging AV logic.
Methodology
To overcome these limitations, we introduce two reward augmentation techniques:
Responsibility-Sensitive Safety (RSS) Rewards
The RSS framework provides a mathematical definition of "proper" driving behavior, such as maintaining safe longitudinal and lateral distances. By augmenting the AST reward function to favor trajectories where the AV violates RSS rules prior to a collision, the search is guided toward "at-fault" failures. This ensures that the discovered scenarios represent genuine flaws in the AV's decision-making policy rather than environmental inevitabilities.
Trajectory Dissimilarity (TD) Rewards
To address the redundancy problem, we incorporate a diversity bonus based on trajectory dissimilarity. The reward for a successful failure discovery is scaled by its mathematical difference from previously identified failures. This encourages the RL solver to explore the broader "failure space" rather than converging on a single global optimum.
Experimental Results
The proposed methods were evaluated using Monte Carlo Tree Search (MCTS) and Trust Region Policy Optimization (TRPO) in simulated crosswalk and multi-agent scenarios.
Improving Failure Relevance
As shown in Figure 4, generic AST primarily identifies scenarios with minimal "improper" behavior from the AV. In contrast, RSS reward shaping shifts the distribution significantly, with the majority of discovered failures involving improper AV behavior for over 25% of the simulation duration. This shift demonstrates the effectiveness of RSS in filtering for relevant, actionable bugs.
Enhancing Failure Diversity
In complex multi-agent scenarios involving two vehicles and two pedestrians, generic AST suffers from extreme redundancy. Figure 6 illustrates how a generic reward function leads the system to discover dozens of nearly identical pedestrian-induced failures.
By applying TD augmentation, the system was able to break this "monoculture," discovering distinct failure modes including vehicle-induced collisions, pedestrian-induced unavoidable events, and vehicle-to-vehicle rear-end accidents.
Conclusion
Reward augmentation using safety models and diversity metrics transforms AST from a simple crash-finder into a robust validation tool. By prioritizing "at-fault" and diverse failures, engineers can more effectively identify and rectify the specific logical weaknesses of autonomous driving systems. Future work will focus on scaling these techniques to more complex urban environments and unifying the RSS and TD rewards into a single framework.
Summary updated