arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.01937cs.SEcs.RO
收藏

自动驾驶系统中缺陷修复模式的综合研究

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

University of California, Irvine(加利福尼亚大学欧文分校)

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

AI总结:

本文通过对 Apollo 和 Autoware 两大自动驾驶项目中 1,331 个缺陷修复实例的实证分析,揭示了路径规划、数据流和配置管理等主要缺陷修复模式,并提出了缺陷层级结构及句法和语义修复模式分类体系,为提升自动驾驶系统可靠性与安全性提供指导。

摘要:

随着自动驾驶系统(ADSes)日益复杂并深度融入日常生活,理解这些系统中软件缺陷的性质及其缓解方法的重要性也相应提升。由于自动驾驶系统同时具备实时决策需求与运行故障的高风险性,应对自动驾驶系统软件维护中的挑战(例如处理实时系统决策和确保安全关键可靠性)至关重要。自动化工具在该领域具有广阔前景,但我们对人工调试和修复此类系统时所面临的挑战及所采用策略的理解仍存在不足。本文提出了一项实证研究,调查自动驾驶系统中的缺陷修复模式,旨在提高可靠性与安全性。我们分析了两大自动驾驶项目 Apollo 和 Autoware 的提交历史与缺陷报告,涵盖 1,331 个缺陷修复实例,并研究了缺陷症状、根本原因和缺陷修复模式。研究揭示了若干主导性缺陷修复模式,包括与路径规划、数据流和配置管理相关的模式。此外,我们发现缺陷修复模式的频率分布因其性质和类型的不同而显著变化,并且某些类别的缺陷会反复出现且更难根除。基于这些发现,我们提出了一个自动驾驶系统缺陷层级结构,以及分别包含 15 种句法缺陷修复模式和 27 种语义缺陷修复模式的两个分类体系,为缺陷识别与解决提供指导。我们还贡献了一个包含 1,331 个自动驾驶系统缺陷修复实例的基准数据集。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑