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

Txt2Sce:基于文本报告的自动驾驶系统测试场景生成方法

Txt2Sce: Scenario Generation for Autonomous Driving System Testing Based on Textual Reports

Pin Ji, Yang Feng, Zongtai Li, Xiangchi Zhou, Jia Liu, Jun Sun, Zhihong Zhao

AI总结:

针对现有自动驾驶场景测试方法依赖视觉数据、场景格式不统一的问题,提出Txt2Sce方法,可将文本事故报告转为OpenSCENARIO格式场景并通过变异扩展,有效检测出Autoware的多类意外行为。

摘要:

随着深度学习及相关技术的快速发展,自动驾驶系统(Autonomous Driving Systems, ADSs)已取得显著进展,并正逐步广泛应用于安全关键领域。然而,大量事故报告显示,ADSs在复杂场景中仍面临挑战。因此,基于场景的测试已成为发现缺陷、确保可靠性能的必要手段。尤其是真实世界的事故报告,可为更具针对性的ADS测试提供有价值的高风险场景。尽管这类报告潜力巨大,但现有方法往往依赖视觉数据,需要大量内存和人工标注。此外,由于现有方法未采用标准化场景格式(如OpenSCENARIO),生成的场景通常与特定平台和ADS实现绑定,限制了其可扩展性和可移植性。为解决这些挑战,我们提出Txt2Sce,一种基于文本事故报告生成OpenSCENARIO格式测试场景的方法。Txt2Sce首先利用大语言模型(LLM)将文本事故报告转换为对应的OpenSCENARIO场景文件,随后通过场景拆解、场景块变异和场景组装,生成基于派生关系的场景文件树。借助场景树中节点间的派生关系,Txt2Sce可帮助开发者识别触发ADS意外行为的场景条件。在实验中,我们使用Txt2Sce生成了33个场景文件树,共计4373个场景文件,用于测试开源ADS系统Autoware。实验结果表明,Txt2Sce能成功将文本报告转换为有效的OpenSCENARIO文件,通过变异提升场景多样性,并有效检测出Autoware在安全性、智能性和平顺性方面的意外行为。

英文摘要:

With the rapid advancement of deep learning and related technologies, Autonomous Driving Systems (ADSs) have made significant progress and are gradually being widely applied in safety-critical fields. However, numerous accident reports show that ADSs still encounter challenges in complex scenarios. As a result, scenario-based testing has become essential for identifying defects and ensuring reliable performance. In particular, real-world accident reports offer valuable high-risk scenarios for more targeted ADS testing. Despite their potential, existing methods often rely on visual data, which demands large memory and manual annotation. Additionally, since existing methods do not adopt standardized scenario formats (e.g., OpenSCENARIO), the generated scenarios are often tied to specific platforms and ADS implementations, limiting their scalability and portability. To address these challenges, we propose Txt2Sce, a method for generating test scenarios in OpenSCENARIO format based on textual accident reports. Txt2Sce first uses a LLM to convert textual accident reports into corresponding OpenSCENARIO scenario files. It then generates a derivation-based scenario file tree through scenario disassembly, scenario block mutation, and scenario assembly. By utilizing the derivation relationships between nodes in the scenario tree, Txt2Sce helps developers identify the scenario conditions that trigger unexpected behaviors of ADSs. In the experiments, we employ Txt2Sce to generate 33 scenario file trees, resulting in a total of 4,373 scenario files for testing the open-source ADS, Autoware. The experimental results show that Txt2Sce successfully converts textual reports into valid OpenSCENARIO files, enhances scenario diversity through mutation, and effectively detects unexpected behaviors of Autoware in terms of safety, smartness, and smoothness.

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

↑