arXiv:2603.10940cs.SEcs.RO2026-03被引 1

用形式化逻辑生成自动驾驶测试场景,自动覆盖安全规范关键路径

STADA: Specification-based Testing for Autonomous Driving Agents

  • 基于时序逻辑规范自动生成多样化驾驶场景
  • 在精细覆盖率上比最佳基线提升2倍以上,粗粒度提升75%
  • 仅需1/6的模拟次数即可达到同等覆盖效果,适合安全验证团队

基于仿真的测试已成为自动驾驶系统部署前验证的标准方法。高质量的验证需在多样情境下测试代理,包括静态环境(如车道、交叉口、标识)和动态元素(如车辆、行人)。现有测试生成方法依赖模板、人工构造或随机生成,当用于验证形式化安全需求时,要么耗费大量人力,要么可能遗漏与规范相关的关键行为。为此,我们提出STADA:一种基于规范的自动驾驶代理测试生成框架,能系统生成由时序逻辑(LTLf)表达的形式化规范所定义的全部场景空间。给定规范后,STADA构建所有不同的初始场景、多样化的后续情景,并生成反映规范行为的仿真。在SCENEFLOW中对多种LTLf规范进行评估,采用三种互补的覆盖标准,结果显示STADA在最细粒度标准下覆盖度高于最佳基线2倍以上,在最粗粒度标准下提升75%;同时,仅需基线1/6的模拟次数即可达到相同覆盖水平。该方法虽聚焦自动驾驶,但适用于其他具备丰富仿真环境的领域。

原文摘要 · Abstract (English)

Simulation-based testing has become a standard approach to validating autonomous driving agents prior to real-world deployment. A high-quality validation campaign will exercise an agent in diverse contexts comprised of varying static environments, e.g., lanes, intersections, signage, and dynamic elements, e.g., vehicles and pedestrians. To achieve this, existing test generation techniques rely on template-based, manually constructed, or random scenario generation. When applied to validate formally specified safety requirements, such methods either require significant human effort or run the risk of missing important behavior related to the requirement. To address this gap, we present STADA, a Specification-based Test generation framework for Autonomous Driving Agents that systematically generates the space of scenarios defined by a formal specification expressed in temporal logic (LTLf). Given a specification, STADA constructs all distinct initial scenes, a diverse space of continuations of those scenes, and simulations that reflect the behaviors of the specification. Evaluation of STADA on a variety of LTLf specifications formalized in SCENEFLOW using three complementary coverage criteria demonstrates that STADA yields more than 2x higher coverage than the best baseline on the finest criteria and a 75% increase for the coarsest criteria. Moreover, it matches the coverage of the best baseline with 6 times fewer simulations. While set in the context of autonomous driving, the approach is applicable to other domains with rich simulation environments.

自动驾驶形式化验证测试生成时序逻辑

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。