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…
- arXiv
- 2612.02878
- Authors
- Yuan Gao, Chen Li, Lim Yung Loon, Finn Rasmus Schäfer, Felix Jahncke and 4 more
- Categories
- cs.CV · cs.AI · cs.RO