Loop2Scenic: A Self-Refining Agentic Framework with Closed-Loop Visual Feedback for Multimodal Safety-Critical Driving Scenario Generation

Scenario-based testing of automated driving systems must cover safety-critical corner cases, which are difficult to collect on real roads and laborious to script in simulation. Existing methods use language models to generate programs in Scenic, a human- and machine-readable domain-specific language for representing driving scenarios. However, generating diverse, executable scenarios that faithfully reflect the user's query remains challenging. We present Loop2Scenic, a self-refining agentic framework for multimodal driving scenario generation with closed-loop visual feedback, uniquely combining text, image, and video inputs with retrieval-augmented generation. Given a text, image, or video query, it retrieves a Scenic program as a seed and executes it in CARLA. A vision-language model critic evaluates rendered views and actor trajectories against query-derived criteria, guiding program acceptance, targeted repair, or regeneration. Further, we introduce a multimodal benchmark of 250 queries across five input modalities with human-written criteria for evaluating whether generated scenarios match their queries. On this benchmark, five-round Loop2Scenic achieves a compilation success rate (CSR) of 100% and framework accuracy (FA) of 80.2%, outperforming four state-of-the-art methods using the same underlying model. The strongest baseline achieves 65.2% CSR and 54.5% FA. Mean scenario quality rises from 70.5% at zero rounds to 79.0% at three and 80.2% at five. Further, Loop2Scenic achieves observed mean SafeBench scores 2.7-14.1% lower than the four baselines on matched queries, averaged over three reinforcement learning policies, indicating more critical scenarios. We further evaluate driving systems on the generated scenarios, extending Scenic-based closed-loop testing from modular systems to vision-language-action driving stacks and from non-reactive to reactive traffic.

Link
https://huggingface.co/papers/2612.02878
Found by
Hugging Face Papers
Authors
Yuan Gao, Chen Li, Lim Yung Loon, Finn Rasmus Schäfer, Felix Jahncke, Mattia Piccinini, Qunying Song, Sebastian Schmidt, Johannes Betz
Categories
benchmark, evaluation
Published
2026-12-01
Last seen by the radar
2026-12-04
Upvotes
4
Radar score
27.50 / 100 (how it is scored)
Why it scored so
Matched: benchmark, evaluat; Primary record: Hugging Face Papers
Related links
https://arxiv.org/abs/2612.02878
https://tum-avs.github.io/Loop2Scenic/
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Hugging Face Papers