Towards Automated Driving Violation Cause Analysis in Scenario-Based Testing for Autonomous Driving Systems

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wan, Ziwen, Huai, Yuqi, Chen, Yuntianyi, Garcia, Joshua, Chen, Qi Alfred
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929215879774208
author Wan, Ziwen
Huai, Yuqi
Chen, Yuntianyi
Garcia, Joshua
Chen, Qi Alfred
author_facet Wan, Ziwen
Huai, Yuqi
Chen, Yuntianyi
Garcia, Joshua
Chen, Qi Alfred
contents The rapid advancement of Autonomous Vehicles (AVs), exemplified by companies like Waymo and Cruise offering 24/7 paid taxi services, highlights the paramount importance of ensuring AVs' compliance with various policies, such as safety regulations, traffic rules, and mission directives. Despite significant progress in the development of Autonomous Driving System (ADS) testing tools, there has been a notable absence of research on attributing the causes of driving violations. Counterfactual causality analysis has emerged as a promising approach for identifying the root cause of program failures. While it has demonstrated effectiveness in pinpointing error-inducing inputs, its direct application to the AV context to determine which computation result, generated by which component, serves as the root cause poses a considerable challenge. A key obstacle lies in our inability to straightforwardly eliminate the influence of a specific internal message to establish the causal relationship between the output of each component and a system-level driving violation. In this work, we propose a novel driving violation cause analysis (DVCA) tool. We design idealized component substitutes to enable counterfactual analysis of ADS components by leveraging the unique opportunity provided by the simulation. We evaluate our tool on a benchmark with real bugs and injected faults. The results show that our tool can achieve perfect component-level attribution accuracy (100%) and almost (>98%) perfect message-level accuracy. Our tool can reduce the debugging scope from hundreds of complicated interdependent messages to one single computation result generated by one component.
format Preprint
id arxiv_https___arxiv_org_abs_2401_10443
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards Automated Driving Violation Cause Analysis in Scenario-Based Testing for Autonomous Driving Systems
Wan, Ziwen
Huai, Yuqi
Chen, Yuntianyi
Garcia, Joshua
Chen, Qi Alfred
Software Engineering
The rapid advancement of Autonomous Vehicles (AVs), exemplified by companies like Waymo and Cruise offering 24/7 paid taxi services, highlights the paramount importance of ensuring AVs' compliance with various policies, such as safety regulations, traffic rules, and mission directives. Despite significant progress in the development of Autonomous Driving System (ADS) testing tools, there has been a notable absence of research on attributing the causes of driving violations. Counterfactual causality analysis has emerged as a promising approach for identifying the root cause of program failures. While it has demonstrated effectiveness in pinpointing error-inducing inputs, its direct application to the AV context to determine which computation result, generated by which component, serves as the root cause poses a considerable challenge. A key obstacle lies in our inability to straightforwardly eliminate the influence of a specific internal message to establish the causal relationship between the output of each component and a system-level driving violation. In this work, we propose a novel driving violation cause analysis (DVCA) tool. We design idealized component substitutes to enable counterfactual analysis of ADS components by leveraging the unique opportunity provided by the simulation. We evaluate our tool on a benchmark with real bugs and injected faults. The results show that our tool can achieve perfect component-level attribution accuracy (100%) and almost (>98%) perfect message-level accuracy. Our tool can reduce the debugging scope from hundreds of complicated interdependent messages to one single computation result generated by one component.
title Towards Automated Driving Violation Cause Analysis in Scenario-Based Testing for Autonomous Driving Systems
topic Software Engineering
url https://arxiv.org/abs/2401.10443