Lune

FSE2025Top-tier venue

A Comprehensive Study of Bug-Fix Patterns in Autonomous Driving Systems

Yuntianyi Chen, Yuqi Huai, Yirui He, Shilong Li, Changnam Hong, Qi Alfred Chen, Joshua Garcia

Abstract

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.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Demystifying Dependency Bugs in Deep Learning Stack cites Repairing deep neural networks: fix patterns and challenges
  • Understanding the Bug Characteristics and Fix Strategies of Federated Learning Systems cites Repairing deep neural networks: fix patterns and challenges
  • Testing of autonomous driving systems: where are we and where should we go? cites A comprehensive study of autonomous vehicle bugs
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on5

  1. A comprehensive study of autonomous vehicle bugsJoshua Garcia, Yang Feng, Junjie Shen, Sumaya Almanee et al.ICSE 2020 · 127 citations
  2. Repairing deep neural networks: fix patterns and challengesMd Johirul Islam, Rangeet Pan, Giang Nguyen, Hridesh RajanICSE 2020 · 102 citations
  3. 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
  4. Demystifying Dependency Bugs in Deep Learning StackKaifeng Huang, Bihuan Chen, Susheng Wu, Junming Cao et al.FSE 2023 · 20 citations
  5. Understanding the Bug Characteristics and Fix Strategies of Federated Learning SystemsXiaohu Du, Xiao Chen, Jialun Cao, Ming Wen et al.FSE 2023 · 6 citations

Related papers

  1. A Comprehensive Study on Code Clones in Automated Driving SoftwareRan Mo, Yingjie Jiang, Wenjing Zhan, Dongyu Wang et al.ASE 2023 · 4 citations
  2. An exploratory study of autopilot software bugs in unmanned aerial vehiclesDinghua Wang, Shuqing Li, Guanping Xiao, Yepang Liu et al.FSE 2021 · 60 citations
  3. Doppelgänger Test Generation for Revealing Bugs in Autonomous Driving SoftwareYuqi Huai, Yuntianyi Chen, Sumaya Almanee, Tuan Ngo et al.ICSE 2023 · 35 citations
  4. Automated repair of feature interaction failures in automated driving systemsRaja Ben Abdessalem, Annibale Panichella, Shiva Nejati, Lionel C. Briand et al.ISSTA 2020 · 24 citations
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines