V2XSynth compiles natural-language scenario intents into fully parameterized CARLA simulations that are communication-aware. An LLM-orchestrated compiler performs retrieval-augmented synthesis over a validated knowledge backbone unifying agent behavior priors, spatial/map context, and empirical V2X profiles (SPaT/MAP/BSM). Retrieved Scenic behavior snippets, spatial configurations, and communication modules are assembled into executable scripts with automated context selection (signal richness, network centrality). The resulting scenarios emit joint mobility–messaging telemetry and support structured exploration of V2X-induced faults (latency, jitter, loss, decode delay), revealing how communication degradation propagates into safety outcomes such as signal violations, coordination inconsistencies, and collisions.
LLM-Orchestrated Compiler
Dual-role Interpreter/Agent that decomposes intent and binds retrieved templates into Scenic+Python for CARLA.
Validated Knowledge Fusion
Unified stores across behavior, spatial/map, and V2X comms with early constraint checks to avoid incoherent scenes.
Automated V2X Synthesis
Infrastructure-aware placement (signal density + centrality), realistic degradations, and closed-loop refinement from telemetry.
The pipeline comprises four stages: Scenario Interpreter → Validation → Retrieval & Assembly →
Execution & Refinement. From a structured spec S=(V,R,P,E,M)
, the Agent queries behavior, map, and V2X stores; then composes
Scenic behaviors and communication modules into an executable script \alpha
for CARLA. Telemetry drives iterative refinement to mine edge cases.
A gallery of synthesized V2X scenes generated directly from natural-language prompts. Each panel overlays mobility (agents, lanes, signals) with messaging activity to make V2I (blue) and V2V (red) interactions explicit. See captions for the exact prompts.
From the RSU vantage point, we visualize SPaT/MAP broadcasts and received BSMs over time to uncover timing skew, coverage gaps, and inconsistencies that can lead to miscoordination. These views complement the scenario gallery by exposing communication-layer causes behind observed behaviors.
We model a spatially aware V2X substrate over the map, translating RSSI into latency and delivery rates to reveal zones where information arrives stale or is lost. Scenarios sweeping jitter, loss, and decode delay expose causal propagation into safety metrics (CR, red-light violations, TTC minima).
SafeBench-style critical scenarios. Lower is better for CR; higher is better for OS.
Algorithm | CR ↓ | OS ↑ | ||||||
---|---|---|---|---|---|---|---|---|
Straight Obstacle | Lane Changing | Unprotected Left | Avg | Straight Obstacle | Lane Changing | Unprotected Left | Avg | |
LC | 0.120 | 0.510 | 0.000 | 0.210 | 0.827 | 0.684 | 0.954 | 0.822 |
AS | 0.230 | 0.430 | 0.050 | 0.270 | 0.784 | 0.666 | 0.937 | 0.796 |
AT | 0.140 | 0.300 | 0.000 | 0.150 | 0.849 | 0.803 | 0.948 | 0.867 |
CS | 0.030 | 0.110 | 0.100 | 0.080 | 0.905 | 0.906 | 0.903 | 0.905 |
V2XSynth | 0.023 | 0.089 | 0.000 | 0.069 | 0.897 | 0.898 | 0.954 | 0.915 |
Ablations and comms→safety sweeps are in the paper; code releases include scripts to reproduce tables and plots.
@article{wu2025v2xsynth,
title = {V2XSynth: An LLM-Driven, Retrieval-Augmented Framework for Realistic V2X Scenario Synthesis},
author = {Wu, Keshu and Zhang, Hao and Li, Pei and Gan, Rui and You, Junwei and Tu, Zhengzhong and Zhou, Yang},
journal = {arXiv preprint arXiv:XXXX.XXXXX},
year = {2025}
}