SoVAR: Building Generalizable Scenarios from Accident Reports for Autonomous Driving Testing

An Guo, Yuan Zhou, Haoxiang Tian, Chunrong Fang, Yunjian Sun, Weisong Sun, Xinyu Gao, Anh Tuan Luu, Yang Liu, Zhenyu Chen
{"title":"SoVAR: Building Generalizable Scenarios from Accident Reports for Autonomous Driving Testing","authors":"An Guo, Yuan Zhou, Haoxiang Tian, Chunrong Fang, Yunjian Sun, Weisong Sun, Xinyu Gao, Anh Tuan Luu, Yang Liu, Zhenyu Chen","doi":"arxiv-2409.08081","DOIUrl":null,"url":null,"abstract":"Autonomous driving systems (ADSs) have undergone remarkable development and\nare increasingly employed in safety-critical applications. However, recently\nreported data on fatal accidents involving ADSs suggests that the desired level\nof safety has not yet been fully achieved. Consequently, there is a growing\nneed for more comprehensive and targeted testing approaches to ensure safe\ndriving. Scenarios from real-world accident reports provide valuable resources\nfor ADS testing, including critical scenarios and high-quality seeds. However,\nexisting scenario reconstruction methods from accident reports often exhibit\nlimited accuracy in information extraction. Moreover, due to the diversity and\ncomplexity of road environments, matching current accident information with the\nsimulation map data for reconstruction poses significant challenges. In this\npaper, we design and implement SoVAR, a tool for automatically generating\nroad-generalizable scenarios from accident reports. SoVAR utilizes\nwell-designed prompts with linguistic patterns to guide the large language\nmodel in extracting accident information from textual data. Subsequently, it\nformulates and solves accident-related constraints in conjunction with the\nextracted accident information to generate accident trajectories. Finally,\nSoVAR reconstructs accident scenarios on various map structures and converts\nthem into test scenarios to evaluate its capability to detect defects in\nindustrial ADSs. We experiment with SoVAR, using accident reports from the\nNational Highway Traffic Safety Administration's database to generate test\nscenarios for the industrial-grade ADS Apollo. The experimental findings\ndemonstrate that SoVAR can effectively generate generalized accident scenarios\nacross different road structures. Furthermore, the results confirm that SoVAR\nidentified 5 distinct safety violation types that contributed to the crash of\nBaidu Apollo.","PeriodicalId":501278,"journal":{"name":"arXiv - CS - Software Engineering","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-09-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Software Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.08081","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Autonomous driving systems (ADSs) have undergone remarkable development and are increasingly employed in safety-critical applications. However, recently reported data on fatal accidents involving ADSs suggests that the desired level of safety has not yet been fully achieved. Consequently, there is a growing need for more comprehensive and targeted testing approaches to ensure safe driving. Scenarios from real-world accident reports provide valuable resources for ADS testing, including critical scenarios and high-quality seeds. However, existing scenario reconstruction methods from accident reports often exhibit limited accuracy in information extraction. Moreover, due to the diversity and complexity of road environments, matching current accident information with the simulation map data for reconstruction poses significant challenges. In this paper, we design and implement SoVAR, a tool for automatically generating road-generalizable scenarios from accident reports. SoVAR utilizes well-designed prompts with linguistic patterns to guide the large language model in extracting accident information from textual data. Subsequently, it formulates and solves accident-related constraints in conjunction with the extracted accident information to generate accident trajectories. Finally, SoVAR reconstructs accident scenarios on various map structures and converts them into test scenarios to evaluate its capability to detect defects in industrial ADSs. We experiment with SoVAR, using accident reports from the National Highway Traffic Safety Administration's database to generate test scenarios for the industrial-grade ADS Apollo. The experimental findings demonstrate that SoVAR can effectively generate generalized accident scenarios across different road structures. Furthermore, the results confirm that SoVAR identified 5 distinct safety violation types that contributed to the crash of Baidu Apollo.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
SoVAR:为自动驾驶测试从事故报告中构建可通用的场景
自动驾驶系统(ADS)经历了显著的发展,并越来越多地应用于对安全至关重要的领域。然而,最近报告的涉及自动驾驶系统的致命事故数据表明,预期的安全水平尚未完全达到。因此,人们越来越需要更全面、更有针对性的测试方法来确保驾驶安全。真实世界事故报告中的场景为自动驾驶辅助系统测试提供了宝贵的资源,包括关键场景和高质量的种子。然而,现有的事故报告情景重建方法在信息提取方面往往表现出有限的准确性。此外,由于道路环境的多样性和复杂性,将当前事故信息与模拟地图数据进行匹配以进行重建也是一项重大挑战。在本文中,我们设计并实现了 SoVAR,这是一种从事故报告中自动生成道路通用场景的工具。SoVAR 利用精心设计的语言模式提示,引导大型语言模型从文本数据中提取事故信息。随后,它结合提取的事故信息,制定并解决与事故相关的约束条件,生成事故轨迹。最后,SoVAR 在各种地图结构上重建事故场景,并将其转换为测试场景,以评估其检测工业 ADS 缺陷的能力。我们对 SoVAR 进行了实验,使用美国国家公路交通安全管理局数据库中的事故报告生成工业级 ADS 阿波罗的测试场景。实验结果表明,SoVAR 可以有效生成不同道路结构的通用事故场景。此外,实验结果还证实,SoVAR 能识别出导致百度 Apollo 车祸的 5 种不同的安全违规类型。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Promise and Peril of Collaborative Code Generation Models: Balancing Effectiveness and Memorization Shannon Entropy is better Feature than Category and Sentiment in User Feedback Processing Motivations, Challenges, Best Practices, and Benefits for Bots and Conversational Agents in Software Engineering: A Multivocal Literature Review A Taxonomy of Self-Admitted Technical Debt in Deep Learning Systems Investigating team maturity in an agile automotive reorganization
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1