Generating Socially Acceptable Perturbations for Efficient Evaluation of Autonomous Vehicles

Songan Zhang, Huei Peng, Subramanya Nageshrao, H. Eric TsengWorkshops @ CVPR 2020

Introduction

Evaluating the safety of autonomous vehicles (AVs) presents a "needle in a haystack" problem. In standard driving environments, critical failures occur only once every millions of miles, making naturalistic testing highly inefficient. While adversarial attacks can accelerate testing by forcing failures, they often rely on unrealistic perturbations—such as pixel-level noise in perception layers—that do not reflect real-world driving challenges. This paper proposes a method to test the decision-making layer by perturbing the environment transition model, creating "Socially Acceptable Perturbations" (SAPs) where the AV is legally at fault for a crash.

Methodology: The Victim vs. Challenger Framework

The authors implement a "Victim vs. Challenger" framework using Deep Reinforcement Learning (DRL) within a simulated three-lane highway environment.

  1. The Victim: A "good driver" AV agent trained via Double Deep Q-Network (DDQN) to maintain safe distances and navigate efficiently.
  2. The Challenger (Attacker): A second DDQN agent introduced to "lure" the victim into a crash.
A victim vehicle (blue) following a challenger vehicle (red). The challenger's goal is to induce a crash where the victim is at fault.

Socially Acceptable Rewards

The core innovation is the use of the Responsibility-Sensitive Safety (RSS) model to define the challenger's reward function. Instead of rewarding any collision, the challenger is rewarded for achieving Minimal Evasive Effort (MEE)—creating situations where the victim could have avoided a crash through proper response (e.g., hard braking) but failed to do so. Crucially, the challenger is penalized if it causes a crash where it would be legally at fault, ensuring the generated scenarios are realistic "stress tests" rather than unavoidable accidents.

Experimental Results and Insights

The victim AV was evaluated in both naturalistic environments and perturbed environments containing the Challenger agent. The results highlight a massive gap between perceived safety and actual robustness:

A scenario where the victim (blue) attempts a lane change while the challenger (red) occupies a nearby position, testing the victim's decision-making under pressure.
  • Fragility of Decision-Making: In 1,000,000 naturalistic test episodes, the victim recorded zero at-fault crashes. However, in the presence of the Challenger, at-fault crashes jumped to hundreds. For instance, in a 10-car scenario, the victim failed to brake and hit a lead vehicle 239 times.
  • The "Legal Trap": The Challenger learns to be a "jerk" driver—staying within the letter of the law while exploiting the victim's specific weaknesses, such as a failure to distinguish between being hit from behind and hitting a car in front.
  • Encoding Law into Math: By translating traffic rules into RSS and MEE reward signals, the authors provide a framework for generating test cases that are directly useful for safety validation.

Conclusion

This research highlights a significant gap between perceived safety in naturalistic simulations and actual robustness against reactive agents. By generating socially acceptable perturbations, developers can more efficiently identify and address the "decision-making fragility" of autonomous systems. Future work will explore continuous action spaces and multi-attacker coordination to further enhance the realism of these safety evaluations.

Summary updated

BibTeX
@inproceedings{zhang2020generating,
  author = {Songan Zhang and Huei Peng and Subramanya Nageshrao and H. Eric Tseng},
  title = {{Generating Socially Acceptable Perturbations for Efficient Evaluation of Autonomous Vehicles}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  doi = {10.1109/cvprw50498.2020.00173},
}
Figure