ACAV: A Framework for Automatic Causality Analysis in Autonomous Vehicle Accident Recordings
Huijia Sun, Christopher M. Poskitt, Yang Sun, Jun Sun, Yuqi Chen
Abstract
The rapid progress of autonomous vehicles (AVs) has brought the prospect of a driverless future closer than ever. Recent fatalities, however, have emphasized the importance of safety validation through large-scale testing. Multiple approaches achieve this fully automatically using high-fidelity simulators, i.e., by generating diverse driving scenarios and evaluating autonomous driving systems (ADSs) against different test oracles. While effective at finding violations, these approaches do not identify the decisions and actions that caused them---information that is critical for improving the safety of ADSs. To address this challenge, we propose ACAV, an automated framework designed to conduct causality analyses for AV accident recordings in two stages. First, we apply feature extraction schemas based on the messages exchanged between ADS modules, and use a weighted voting method to discard frames of the recording unrelated to the accident. Second, we use safety specifications to identify safety-critical frames and deduce causal events by applying CAT---our causal analysis tool---to a station-time graph. We evaluated ACAV on the Apollo ADS, finding that it can identify five distinct types of causal events in 93.64% of 110 accident recordings generated by an AV testing engine. We further evaluated ACAV on 1206 accident recordings collected from versions of Apollo injected with specific faults, finding that it can correctly identify causal events in 96.44% of the accidents triggered by prediction errors, and 85.73% of the accidents triggered by planning errors.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- DeepHyperion: exploring the feature space of deep learning-based systems through illumination search cites Model-based exploration of the frontier of behaviours for deep learning system testing
- FIXDRIVE: Automatically Repairing Autonomous Vehicle Driving Behaviour for $0.08 per Violation cites LawBreaker: An Approach for Specifying Traffic Laws and Fuzzing Autonomous Vehicles
- Branch-Level Fault Localization in ADS Planning via Temporal Coverage Analysis cites LawBreaker: An Approach for Specifying Traffic Laws and Fuzzing Autonomous Vehicles
- Branch-Level Fault Localization in ADS Planning via Temporal Coverage Analysis cites A comprehensive study of autonomous vehicle bugs
- Testing of autonomous driving systems: where are we and where should we go? cites A comprehensive study of autonomous vehicle bugs
Cited by top-tier papers3
- FIXDRIVE: Automatically Repairing Autonomous Vehicle Driving Behaviour for $0.08 per ViolationYang Sun, Christopher M. Poskitt, Kun Wang, Jun SunICSE 2025 · 3 citations
- Branch-Level Fault Localization in ADS Planning via Temporal Coverage AnalysisSangmin Woo, Dohyun Kim, Donghwan Shin, Yongdae KimISSTA 2026
- Interventional Root Cause Analysis of Failures in Multi-Sensor Fusion Perception SystemsShuguang Wang, Qian Zhou, Kui Wu, Jinghuai Deng et al.NDSS 2025
Builds on9
- Model-based exploration of the frontier of behaviours for deep learning system testingVincenzo Riccio, Paolo TonellaFSE 2020 · 134 citations
- A comprehensive study of autonomous vehicle bugsJoshua Garcia, Yang Feng, Junjie Shen, Sumaya Almanee et al.ICSE 2020 · 127 citations
- Testing of autonomous driving systems: where are we and where should we go?Guannan Lou, Yao Deng, Xi Zheng, Mengshi Zhang et al.FSE 2022 · 85 citations
- DeepHyperion: exploring the feature space of deep learning-based systems through illumination searchTahereh Zohdinasab, Vincenzo Riccio, Alessio Gambi, Paolo TonellaISSTA 2021 · 76 citations
- LawBreaker: An Approach for Specifying Traffic Laws and Fuzzing Autonomous VehiclesYang Sun, Christopher M. Poskitt, Jun Sun, Yuqi Chen et al.ASE 2022 · 46 citations
Related papers
- Poirot: Automatic Root Cause Analysis of Safety Violations in ADS Simulation Testing via Hypothetical ReasoningYou Lu, Dingji Wang, Kun Zhang, Bihuan Chen et al.ISSTA 2026
- Building Critical Testing Scenarios for Autonomous Driving from Real AccidentsXudong Zhang, Yan CaiISSTA 2023 · 30 citations
- MoDitector: Module-Directed Testing for Autonomous Driving SystemsRenzhi Wang, Mingfei Cheng, Xiaofei Xie, Yuan Zhou et al.ISSTA 2025 · 3 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
- Scenario-based test reduction and prioritization for multi-module autonomous driving systemsYao Deng, Xi Zheng, Mengshi Zhang, Guannan Lou et al.FSE 2022 · 30 citations
