Bug2Scenario: Root-Cause-Preserving Test Scenario Amplification for Autonomous Driving Software
Yuchen Cao, Zhenyu Mao, Jacky Wai Keung, Yifei Wang, Yihan Liao, Jingyu Zhang
Key points
From the paper's conclusion- We present Bug2Scenario, a root-cause-guided post-fuzzing framework.
Abstract
Simulation-based fuzzing exposes autonomous driving system (ADS) failures by repeatedly mutating and executing scenarios, but converting one failure into reusable regression scenarios remains difficult. Such variants test whether the mechanism persists after software changes, for example by varying weather or actor placement while retaining a collision's actor-route conflict. We present Bug2Scenario, a root-cause-guided post-fuzzing framework. From scenario data, traces, and oracle evidence, it extracts a root-cause pattern. An LLM proposes semantic variations over actors, missions, routes, and weather. Deterministic rules construct DriveFuzz-compatible scenarios. Execution evidence and manual review assess preservation. Separating these responsibilities prevents fluency, syntax, or recurring labels from masquerading as causal evidence. Under matched seeds, six LLM backbones, candidate budget, and execution pipeline, Bug2Scenario improves strict preservation by 6.7 percentage points (p=0.104; not significant) and boundary-inclusive preservation by 10.6 points (p=0.011). Feedback helps some initially unsuccessful seeds yield a strictly preserved candidate. Seed-level stopping then avoids further API calls and simulator runs. Remaining failures reflect actor-placement constraints, simulator instability, and incomplete or conflicting causal evidence. Bug2Scenario thus produces reliable ADS regression assets. Our implementation is available at https://github.com/YgcCoder/Bug2Sce.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Fixed-Point Guided ADS Scenario Generation via Multi-modal LLM Reasoning and Software TestingProceedings of the ACM on Software Engineering · 2026
- FaultGene: LLM-Assisted Fault-Augmented Test Generation for Hardware-in-the-Loop Validation of Autonomous Driving SystemsarXiv · 2026
- PlannerForge: LLM Agents for Scenario-Based Testing of Motion Planners in Autonomous DrivingarXiv · 2026
- MG-Fuzz: Model-Guided Fuzzing for Unsafe Scenario Discovery in Autonomous Driving SystemsProceedings of the ACM on Software Engineering · 2026
- Generative AI for Testing of Autonomous Driving Systems: A SurveyACM Transactions on Software Engineering and Methodology · 2026
- Foundation Models in Autonomous Driving: A Survey on Scenario Generation and Scenario AnalysisIEEE Open Journal of Intelligent Transportation Systems · 2026