arXiv:2510.07133cs.ROcs.AI2025-10被引 1

用数字孪生+生成模型自动测试自动驾驶系统,提升安全验证效率。

A Digital Twin Framework for Metamorphic Testing of Autonomous Driving Systems Using Generative Model

  • 构建数字孪生环境,结合Stable Diffusion生成多样化驾驶场景。
  • 在Udacity模拟器上实现0.719的最高真阳性率,优于基线方法。
  • 适合自动驾驶安全测试、AI系统验证的研究者与工程师。

由于真实驾驶环境的复杂性和不可预测性,确保自动驾驶汽车的安全仍是重大挑战。传统测试方法面临‘断言难题’,难以判断系统行为是否正确,且无法覆盖所有可能场景。本文提出一种基于数字孪生的变异测试框架,通过创建自动驾驶系统及其运行环境的虚拟副本,结合Stable Diffusion等AI图像生成模型,系统化生成真实且多样的驾驶场景,涵盖天气、道路拓扑和环境特征变化,同时保持原始场景的核心语义。数字孪生提供同步仿真环境,支持可控、可重复的测试。在此环境中,我们定义了三条源于现实交通规则与车辆行为的变异关系。在Udacity自动驾驶模拟器上验证表明,该框架显著提升了测试覆盖率与有效性:相比基线方法,本方法取得最高的真阳性率(0.719)、F1分数(0.689)和精确率(0.662)。结果表明,将数字孪生与AI驱动的场景生成结合,可构建可扩展、自动化、高保真的自动驾驶安全测试解决方案。

原文摘要 · Abstract (English)

Ensuring the safety of self-driving cars remains a major challenge due to the complexity and unpredictability of real-world driving environments. Traditional testing methods face significant limitations, such as the oracle problem, which makes it difficult to determine whether a system's behavior is correct, and the inability to cover the full range of scenarios an autonomous vehicle may encounter. In this paper, we introduce a digital twin-driven metamorphic testing framework that addresses these challenges by creating a virtual replica of the self-driving system and its operating environment. By combining digital twin technology with AI-based image generative models such as Stable Diffusion, our approach enables the systematic generation of realistic and diverse driving scenes. This includes variations in weather, road topology, and environmental features, all while maintaining the core semantics of the original scenario. The digital twin provides a synchronized simulation environment where changes can be tested in a controlled and repeatable manner. Within this environment, we define three metamorphic relations inspired by real-world traffic rules and vehicle behavior. We validate our framework in the Udacity self-driving simulator and demonstrate that it significantly enhances test coverage and effectiveness. Our method achieves the highest true positive rate (0.719), F1 score (0.689), and precision (0.662) compared to baseline approaches. This paper highlights the value of integrating digital twins with AI-powered scenario generation to create a scalable, automated, and high-fidelity testing solution for autonomous vehicle safety.

自动驾驶数字孪生生成模型测试验证

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