LawBreaker: An Approach for Specifying Traffic Laws and Fuzzing Autonomous Vehicles
Yang Sun, Christopher M. Poskitt, Jun Sun, Yuqi Chen, Zijiang Yang
Abstract
Autonomous driving systems (ADSs) must be tested thoroughly before they can be deployed in autonomous vehicles. High-fidelity simulators allow them to be tested against diverse scenarios, including those that are difficult to recreate in real-world testing grounds. While previous approaches have shown that test cases can be generated automatically, they tend to focus on weak oracles (e.g. reaching the destination without collisions) without assessing whether the journey itself was undertaken safely and satisfied the law. In this work, we propose LawBreaker, an automated framework for testing ADSs against real-world traffic laws, which is designed to be compatible with different scenario description languages. LawBreaker provides a rich driver-oriented specification language for describing traffic laws, and a fuzzing engine that searches for different ways of violating them by maximising specification coverage. To evaluate our approach, we implemented it for Apollo+LGSVL and specified the traffic laws of China. LawBreaker was able to find 14 violations of these laws, including 173 test cases that caused accidents. CCS CONCEPTS • Software and its engineering → Software testing and debugging; • Computer systems organization → Embedded and cyber-physical systems.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4cc1760d-1a56-4e52-9711-8ac0636edb6eCited by top-tier papers15
- LeGEND: A Top-Down Approach to Scenario Generation of Autonomous Driving Systems Assisted by Large Language ModelsShuncheng Tang, Zhenya Zhang, Jixiang Zhou, Lei Lei et al.ASE 2024 · 17 citations
- SoVAR: Build Generalizable Scenarios from Accident Reports for Autonomous Driving TestingAn Guo, Yuan Zhou, Haoxiang Tian, Chunrong Fang et al.ASE 2024 · 12 citations
- HIFuzz: Human Interaction Fuzzing for Small Unmanned Aerial VehiclesTheodore Chambers, Michael Vierhauser, Ankit Agrawal, Michael Murphy et al.CHI 2024 · 11 citations
- ACAV: A Framework for Automatic Causality Analysis in Autonomous Vehicle Accident RecordingsHuijia Sun, Christopher M. Poskitt, Yang Sun, Jun Sun et al.ICSE 2024 · 11 citations
- DiaVio: LLM-Empowered Diagnosis of Safety Violations in ADS Simulation TestingYou Lu, Yifan Tian, Yuyang Bi, Bihuan Chen et al.ISSTA 2024 · 9 citations
Builds on1
Related papers
- VioHawk: Detecting Traffic Violations of Autonomous Driving Systems through Criticality-Guided Simulation TestingZhongrui Li, Jiarun Dai, Zongan Huang, Nianhao You et al.ISSTA 2024 · 7 citations
- BehAVExplor: Behavior Diversity Guided Testing for Autonomous Driving SystemsMingfei Cheng, Yuan Zhou, Xiaofei XieISSTA 2023 · 59 citations
- Testing Automated Driving Systems by Breaking Many Laws EfficientlyXiaodong Zhang, Wei Zhao, Yang Sun, Jun Sun et al.ISSTA 2023 · 22 citations
- DriveFuzz: Discovering Autonomous Driving Bugs through Driving Quality-Guided FuzzingSeulbae Kim, Major Liu, Junghwan John Rhee, Yuseok Jeon et al.CCS 2022 · 65 citations
- SCTrans: Constructing a Large Public Scenario Dataset for Simulation Testing of Autonomous Driving SystemsJiarun Dai, Bufan Gao, Mingyuan Luo, Zongan Huang et al.ICSE 2024 · 8 citations
