Driving · 2026-12-03

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

Yuan Gao, Chen Li, Lim Yung Loon, Finn Rasmus Sch\"afer, Felix Jahncke, Mattia Piccinini, Qunying Song, Sebastian Schmidt, Johannes Betz

arXiv:2612.02878PDF

AI-assisted summary based on the paper. Consult the linked source for methods and limitations. Benchmark numbers appear after editor verification.

TL;DR

Loop2Scenic generates multimodal, safety-critical driving scenarios by retrieving a seed Scenic program and iteratively refining it using a VLM critic on rendered views and actor trajectories in CARLA. The authors introduce a multimodal benchmark of 250 queries across five modalities and report that five-round Loop2Scenic achieves 100% CSR and 80.2% framework accuracy, outperforming four baselines.

Why it matters

Safety-critical corner cases are hard to collect and laborious to script. The authors’ closed-loop pipeline adds query-alignment feedback by evaluating rendered scenarios against query-derived criteria, and it supports downstream closed-loop testing of driving systems under both non-reactive and reactive traffic. This targets both executable scenario generation and alignment with multimodal user queries.

Method

  • Retrieve a Scenic seed program from multimodal (text/image/video) query interpretation, execute it in CARLA, then evaluate query alignment with a vision-language model critic over rendered BEV/FPV views and actor trajectories.
  • Iteratively refine scenarios: accept the program if alignment passes thresholds; otherwise perform targeted repairs of components or regenerate the full scenario, re-executing and re-evaluating each revision.
  • Introduce a multimodal safety-critical benchmark of 250 queries across five input modalities with human-written criteria, and evaluate executability, query alignment, and scenario criticality; further test generated scenarios on modular and VLA driving stacks under non-reactive and reactive traffic.

Limitation

The authors note that their alignment is scored before route adaptation and tuning, so they do not establish preservation of alignment through adaptation and tuning; they also state they do not certify scenario avoidability or realism.

Abstract (from arXiv)

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.

Related papers

Publication record

Bibliographic evidence describes where and when a record appeared. It does not validate scientific claims.

First announced by arXiv: 2026-12-03 · Indexed by Pub-AI: 2026-12-03 UTC

preprint

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

Yuan Gao, Chen Li, Lim Yung Loon, Finn Rasmus Schäfer, Felix Jahncke, Mattia Piccinini, Qunying Song, Sebastian Schmidt, Johannes Betz

First announced by arXiv: 2026-12-03 · Original record ↗

arxiv
2612.02878
Explicit source versions (1)
  • v1 · Date not supplied
  1. Preprint available

    Source date: 2026-12-03 · First detected: 2026-12-03 UTC · Historical baseline

    Source evidence (1)
    • Official evidence ↗ · RSS guid=oai:arXiv.org:2612.02878v1; arxiv:announce_type=new; item pubDate (official metadata)
Abstract · arxiv

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.