# Bug2Scenario: Root-Cause-Preserving Test Scenario Amplification for Autonomous Driving Software

DevFeed: [Bug2Scenario: Root-Cause-Preserving Test Scenario Amplification for Autonomous Driving Software](<https://devfeed.tech/articles/bug2scenario-root-cause-preserving-test-scenario-amplification-for-autonomous-driving-software-118070.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.06229>)

Author: Yuchen Cao, Zhenyu Mao, Jacky Wai Keung, Yifei Wang, Yihan Liao, Jingyu Zhang

Published: 2026-11-05T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Fuzzing/Fuzz testing](<https://devfeed.tech/topics/fuzzing.md>), [autonomous vehicles](<https://devfeed.tech/topics/autonomous-vehicles.md>)

Tags: [actor](<https://devfeed.tech/tags/actor.md>), [autonomous-driving](<https://devfeed.tech/tags/autonomous-driving.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [execution](<https://devfeed.tech/tags/execution.md>), [fuzzing](<https://devfeed.tech/tags/fuzzing.md>), [llm](<https://devfeed.tech/tags/llm.md>), [manual-review](<https://devfeed.tech/tags/manual-review.md>), [root](<https://devfeed.tech/tags/root.md>), [route](<https://devfeed.tech/tags/route.md>), [simulator](<https://devfeed.tech/tags/simulator.md>), [software](<https://devfeed.tech/tags/software.md>), [test](<https://devfeed.tech/tags/test.md>), [weather](<https://devfeed.tech/tags/weather.md>)

## AI overview

Bug2Scenario turns autonomous-driving software failures found by simulation fuzzing into candidate regression scenarios designed to preserve the original root cause. It extracts a causal pattern from scenario data, execution traces, and oracle evidence; an LLM proposes semantic variations across actors, missions, routes, and weather; deterministic rules generate DriveFuzz-compatible scenarios; and execution evidence plus manual review assess whether the cause persists. In matched evaluations across six LLM backbones, strict preservation increased by 6.7 percentage points, a result that was not statistically significant (p=0.104); boundary-inclusive preservation increased by 10.6 points (p=0.011). Feedback helped some initially unsuccessful seeds produce a strictly preserved candidate, and seed-level stopping reduced further API calls and simulator runs. Failures remained due to actor-placement constraints, simulator instability, and incomplete or conflicting causal evidence.

## Source excerpt

arXiv:2611.06229v1 Announce Type: new 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.