FaultGene:用于自动驾驶系统在环硬件验证的大语言模型辅助故障增强测试生成
FaultGene: LLM-Assisted Fault-Augmented Test Generation for Hardware-in-the-Loop Validation of Autonomous Driving Systems
AI总结:
本文提出FaultGene框架,用大语言模型辅助自动化生成HIL故障增强测试,解决手动准备场景的局限,提升自动驾驶系统HIL验证的效率与覆盖率。
摘要:
自动驾驶网络物理系统的可靠验证不仅需要测试 nominal 驾驶行为,还需测试感知和嵌入式计算故障引发的失效。实路测试能提供真实系统行为,但成本高且难以复现;仿真可实现可扩展评估,但无法完全捕获硬件相关行为与故障传播。在环硬件(HIL)验证通过在模拟环境中运行真实嵌入式硬件上的驾驶栈,弥合了上述差距。然而,为 HIL 测试准备故障增强场景仍以手动流程为主,限制了测试覆盖率、可扩展性与效率。本文提出 FaultGene,一种用于 HIL 故障弹性验证的大语言模型辅助自动化可执行故障增强测试生成框架。给定基线 Scenic/CARLA 场景与结构化故障规范,FaultGene 生成捕获 HIL 级故障注入效果的故障增强测试用例。在离线优化阶段,语义一致性检查与执行级反馈用于修正未能保留预期场景上下文或产生所需故障诱导退化的候选,为微调构建高质量监督。最终生成器可在部署时直接生成故障增强测试,无需手动设计参考执行或重复优化循环。
英文摘要:
Reliable validation of autonomous driving cyber-physical systems requires testing not only nominal driving behavior but also failures arising from faults in sensing and embedded computation. Physical road testing provides realistic system behavior but is costly and difficult to reproduce, while simulation enables scalable evaluation but cannot fully capture hardware-dependent behavior and fault propagation. Hardware-in-the-loop (HIL) validation bridges this gap by executing the driving stack on real embedded hardware within a simulated environment. However, preparing fault-augmented scenarios for HIL testing remains largely a manual process, limiting test coverage, scalability, and efficiency. We present FaultGene, an LLM-assisted framework for automated generation of executable fault-augmented tests for HIL fault-resilience validation. Given a baseline Scenic/CARLA scenario and a structured fault specification, FaultGene generates a fault-augmented test case that captures the effects of HIL-level fault injection. During offline refinement, semantic-consistency checks and execution-level feedback are used to correct candidates that fail to preserve the intended scenario context or produce the desired fault-induced degradation, and to construct high-quality supervision for fine-tuning. The resulting generator then produces fault-augmented tests directly at deployment time without requiring manually engineered reference executions or repeated refinement loops.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。