VioHawk: Detecting Traffic Violations of Autonomous Driving Systems through Criticality-Guided Simulation Testing
Open Access
- 11 September 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 844-855
Abstract
As highlighted in authoritative standards (e.g., ISO21448), traffic law compliance is a fundamental prerequisite for the commercialization of autonomous driving systems (ADS). Hence, manufacturers are in severe need of techniques to detect harsh driving situations in which the target ADS would violate traffic laws. To achieve this goal, existing works commonly resort to searching-based simulation testing, which continuously adjusts the scenario configurations (e.g., add new vehicles) of initial simulation scenarios and hunts for critical scenarios. Specifically, they apply pre-defined heuristics on each mutated scenario to approximate the likelihood of triggering ADS traffic violations, and accordingly perform searching scheduling. However, with those comparably more critical scenarios in hand, they fail to offer deterministic guidance on which and how scenario configurations should be further mutated to reliably trigger the target ADS misbehaviors. Hence, they inevitably suffer from meaningless efforts to traverse the huge scenario search space. In this work, we propose VioHawk, a novel simulation-based fuzzer that hunts for scenarios that imply ADS traffic violations. Our key idea is that, traffic law regulations can be formally modeled as hazardous/non-hazardous driving areas on the map at each timestamp during ADS simulation testing (e.g., when the traffic light is red, the intersection is marked as hazardous areas). Following this idea, VioHawk works by inducing the autonomous vehicle to drive into the law-specified hazardous areas with deterministic mutation operations. We evaluated the effectiveness of VioHawk in testing industry-grade ADS (i.e., Apollo). We constructed a benchmark dataset that contains 42 ADS violation scenarios against real-world traffic laws. Compared to existing tools, VioHawk can reproduce 3.1X~13.3X more violations within the same time budget, and save 1.6X~8.9X the reproduction time for those identified violations. Finally, with the help of VioHawk, we identified 9+8 previously unknown violations of real-world traffic laws on Apollo 7.0/8.0.Keywords
Funding Information
- National Natural Science Foundation of China (62172105,62172104,62102091,62102093)
- National Key Research and Development Program of China (2021YFB3101200)
- Shanghai Rising-Star Program (21QA1400700)
- Shanghai Pilot Program for Basic Research-Fudan University (21TQ1400100 (21TQ012))
This publication has 17 references indexed in Scilit:
- Doppelgänger Test Generation for Revealing Bugs in Autonomous Driving Software2023
- Specification-based Autonomous Driving System TestingIEEE Transactions on Software Engineering, 2023
- Neural Network Guided Evolutionary Fuzzing for Finding Traffic Violations of Autonomous VehiclesIEEE Transactions on Software Engineering, 2022
- Testing Object Detection for Autonomous Driving Systems via 3D Reconstruction2021
- Generating effective test cases for self-driving cars from police reports2019
- Automatically testing self-driving cars with search-based procedural content generation2019
- Computing possible driving corridors for automated vehicles2017
- Revising temporal logic specifications for motion planning2011
- Motion planning and control from temporal logic specifications with probabilistic satisfaction guarantees2010
- Where's Waldo? Sensor-Based Temporal Logic Motion PlanningProceedings 2001 ICRA. IEEE International Conference on Robotics and Automation (cat. No.01ch37164), 2007