A Comprehensive Study of Bug-Fix Patterns in Autonomous Driving Systems
Chen, Yuntianyi, Huai, Yuqi, He, Yirui, Li, Shilong, Hong, Changnam, Chen, Qi Alfred, Garcia, Joshua
–arXiv.org Artificial Intelligence
As autonomous driving systems (ADSes) become increasingly complex and integral to daily life, the importance of understanding the nature and mitigation of software bugs in these systems has grown correspondingly. Addressing the challenges of software maintenance in autonomous driving systems (e.g., handling real-time system decisions and ensuring safety-critical reliability) is crucial due to the unique combination of real-time decision-making requirements and the high stakes of operational failures in ADSes. The potential of automated tools in this domain is promising, yet there remains a gap in our comprehension of the challenges faced and the strategies employed during manual debugging and repair of such systems. In this paper, we present an empirical study that investigates bug-fix patterns in ADSes, with the aim of improving reliability and safety. We have analyzed the commit histories and bug reports of two major autonomous driving projects, Apollo and Autoware, from 1,331 bug fixes with the study of bug symptoms, root causes, and bug-fix patterns. Our study reveals several dominant bug-fix patterns, including those related to path planning, data flow, and configuration management. Additionally, we find that the frequency distribution of bug-fix patterns varies significantly depending on their nature and types and that certain categories of bugs are recurrent and more challenging to exterminate. Based on our findings, we propose a hierarchy of ADS bugs and two taxonomies of 15 syntactic bug-fix patterns and 27 semantic bug-fix patterns that offer guidance for bug identification and resolution. We also contribute a benchmark of 1,331 ADS bug-fix instances.
arXiv.org Artificial Intelligence
Feb-3-2025
- Country:
- Asia
- China (0.04)
- Japan > Honshū
- Chūbu > Aichi Prefecture
- Nagoya (0.04)
- Kansai > Hyogo Prefecture
- Kobe (0.04)
- Kantō > Tokyo Metropolis Prefecture
- Tokyo (0.14)
- Chūbu > Aichi Prefecture
- Singapore > Central Region
- Singapore (0.04)
- South Korea > Seoul
- Seoul (0.04)
- Europe
- Czechia > South Moravian Region
- Brno (0.04)
- Estonia > Harju County
- Tallinn (0.04)
- Germany > Rhineland-Palatinate
- Kaiserslautern (0.04)
- Italy > Tuscany
- Florence (0.04)
- Netherlands > North Holland
- Amsterdam (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Sweden (0.04)
- Czechia > South Moravian Region
- North America
- Canada > Ontario
- Toronto (0.04)
- Waterloo Region > Waterloo (0.04)
- United States
- California
- Los Angeles County > Los Angeles (0.14)
- Orange County > Irvine (0.04)
- San Francisco County > San Francisco (0.14)
- Illinois > Champaign County
- Urbana (0.04)
- Texas
- Dallas County > Dallas (0.04)
- Travis County > Austin (0.04)
- Washington > King County
- Seattle (0.04)
- California
- Canada > Ontario
- Oceania > Australia (0.04)
- Asia
- Genre:
- Research Report > New Finding (0.66)
- Industry:
- Automobiles & Trucks (1.00)
- Information Technology > Robotics & Automation (1.00)
- Transportation > Ground
- Road (1.00)
- Technology: