arXiv:2610.30979cs.ROOct 2026

Manuscript Offprint

arXiv:2610.30979

LAST-V2X: Language-Driven Adaptive Scenario Synthesis and Testing for Communication-Induced Failures in V2X Safety Applications

Keshu Wu, Hao Zhang, Rui Gan, Pei Li, Jiwan Jiang, Yang Zhou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Vehicle-to-everything (V2X) communication enables connected vehicles to make safety-critical decisions, but delayed, missing, or incorrect information can compromise driving safety. Systematically testing such failures is challenging because traffic interactions, communication conditions, and application responses must be jointly configured to produce meaningful scenarios. This paper presents LAST-V2X, a language-driven, adaptive framework for automated scenario synthesis and safety testing of V2X applications. LAST-V2X leverages large language models (LLMs) to translate natural-language test descriptions into executable scenarios grounded in roadway geometry, V2X communication semantics, and vehicle behavior. The framework integrates physical traffic simulation with spatially aware communication modeling and message-level fault injection to evaluate how information degradation affects vehicle decisions. To establish whether an observed safety failure is caused by communication rather than the underlying traffic conditions, LAST-V2X employs matched executions under degraded and ground-truth information. Furthermore, an execution-guided refinement mechanism combines parameter search and LLM self-reflection to identify ineffective test configurations, improve scenario effectiveness, and produce minimal reproducible failure cases. Experiments across diverse CARLA environments and V2X safety applications demonstrate the framework's ability to generate reliable scenarios, distinguish communication-induced failures from unrelated safety violations, and substantially improve failure discovery through adaptive refinement. These results establish LAST-V2X as a systematic approach to language-driven, causally verified, and adaptive safety testing for connected vehicle systems.

Keywords V2X · connected vehicles · scenario generation · large language models · fault injection · simulation-based testing

1 LLM Agent Analysis

2 Retrieval-Augmented Scenario Grounding

3 Automated V2X Scenario Synthesis

User Input:

An ego car nears a signal on amber while SPaT messages freeze.

Road Graph

V2X

Knowledge

Driver

Behavior

Live

Intersection

LLM Scene Planner

V2X

Messages

Signal

Control

Fault

Injection

Paired

Execution

refined prompt

LLM Self-Reflection

Parameter Search

Causal Check

Failure

Catalog

4 Scenario Refinement

Overview of LAST-V2X 1^{1}. LLM-driven synthesis of V2X test scenarios with causal checks and self-reflective refinement.

1^{1}Project page: https://keshuw95.github.io/LAST-V2X/

1 Introduction

Vehicle-to-everything (V2X) communication extends a vehicle’s awareness beyond onboard sensors [1–5]. Roadside units (RSUs) broadcast Signal Phase and Timing (SPaT) and intersection geometry (MAP) messages, while connected vehicles exchange Basic Safety Messages (BSMs). Applications such as Red-Light Violation Warning (RLVW), Intersection Movement Assist (IMA), and Left Turn Assist (LTA) use this information to support safety-critical decisions [6–8]. This communication–driving coupling also creates a cyber–physical safety pathway: delayed, missing, or incorrect V2X information can alter vehicle decisions and ultimately compromise safety. Systematically testing such communication-induced failures is therefore increasingly important. Constructing these tests manually is difficult because a meaningful V2X scenario must coordinate roadway, traffic, vehicle behavior, message type, communication condition, and fault timing. These elements are strongly coupled: a delayed SPaT message, for example, matters only when it occurs at the right movement, phase transition, and decision time. The resulting scenario space is large and highly structured, and many seemingly reasonable combinations are infeasible or ineffective.

Beyond the difficulty of specifying coupled V2X scenarios, constructing them in high-fidelity simulators can itself require substantial effort to understand simulator APIs, scenario logic, traffic control, and communication interfaces. Large language models (LLMs) [9, 10] offer a natural bridge between engineers' high-level safety intents and the complex simulation logic required to instantiate executable V2X test scenarios. Transportation engineers can naturally express safety concerns in language. An LLM can translate such intent into structured requirements, identify the relevant safety application, connect semantic traffic roles with domain concepts, and retrieve the roadway, communication, and behavioral knowledge needed to instantiate the test [11–15]. Recent language-driven methods have demonstrated the potential of compiling natural-language descriptions into executable driving scenes [16–26], a direction recently surveyed in [27]. This capability is particularly valuable for V2X, where a scenario depends not only on how vehicles move, but also on what information they exchange and what each vehicle believes about the traffic state. LLMs can therefore reduce both scenario-engineering effort and simulator-programming burden by orchestrating heterogeneous transportation, communication, and simulation knowledge.

Despite this promise, generating a plausible V2X scenario does not guarantee a meaningful safety test. A communication fault matters only if it changes the information used by the V2X application and, in turn, alters the vehicle's physical behavior or safety outcome. This cyber–physical effect can be difficult to establish because communication failures take different forms, including packet loss, latency, timestamp errors, decoding delays, frozen controller messages, position errors, and incorrect lane-to-signal-group associations [28–32]. Some missing or delayed messages become stale and can be detected by the application, potentially triggering a safe fallback. In contrast, incorrect information may still appear fresh and therefore be trusted, leading the vehicle to act on a wrong traffic state. Safety-critical information may also be absent entirely, for example when a conflicting vehicle does not transmit V2X messages. Therefore, language-driven generation alone is insufficient: the generated scenario must explicitly model how communication faults affect application decisions and verify whether those effects actually propagate into physical safety consequences.

Existing safety-critical scenario-generation methods primarily create risk by modifying the physical world [33–38]: vehicle trajectories, behaviors, road conditions, or initial states are perturbed until an unsafe interaction emerges [39–42]. Recent language-driven approaches further allow such physical scenarios to be specified and generated from natural-language descriptions [17, 20, 43–52]. V2X safety testing, however, poses a fundamentally different problem. The physical traffic scene may remain unchanged while communication causes the ego vehicle to perceive a different state of that scene. A signal may physically turn red while the received SPaT still indicates green; a conflicting vehicle may physically exist while its BSM is missing; or the roadway geometry may be correct while the received MAP associates the ego with the wrong movement. The safety-critical condition therefore arises not simply from what happens in the physical world, but from a mismatch between the physical world and the information available to the vehicle.

V2X co-simulation and digital-twin platforms provide mechanisms for modeling message exchange, latency, packet loss, and communication-dependent vehicle control [29, 53–58]. Automated testing of V2X systems has so far focused mainly on cooperative perception, for example by transforming shared sensor data under varied communication and weather conditions [59], rather than on message-level faults in closed-loop safety applications. However, communication simulation alone does not solve the testing problem. The physical interaction, message semantics, fault type, fault timing, and application response must be jointly constructed so that the information mismatch occurs precisely when it can affect a safety-critical decision. A generated test may also be executable yet ineffective because the selected fault is mistimed, too weak, or semantically inconsistent with the intended failure mechanism. Existing language-driven methods largely stop after scenario generation or, when they close the loop, refine only the physical adversarial behavior [46], while communication simulators typically assume that the scenario and fault configuration are already specified; neither provides a mechanism to use execution evidence to diagnose why a test failed and revise the underlying test intent. Moreover, observing a collision after injecting a communication fault is insufficient to establish a V2X-induced

LAST-V2X

Language-Driven Adaptive Scenario Synthesis and Testing for Communication-Induced Failures

Figure

Figure 1: Overview of LAST-V2X. LLM Agent Analysis verifies the intent; Retrieval-Augmented Scenario Grounding places it on a feasible junction; Automated V2X Scenario Synthesis runs it in CARLA with faulted messages beside a ground-truth ego; Scenario Refinement admits a failure only if the message-driven ego alone fails, else refines it.

failure, because the same collision may occur even under healthy communication. Existing language-driven scenario generation, communication simulation, and safety falsification therefore address different parts of the problem, but do not provide an integrated, self-refining framework for constructing, diagnosing, refining, and causally validating failures that originate in the information layer and propagate into the physical world. This leads to the central question of this work: can natural-language V2X test intents be transformed into executable scenarios that systematically expose and causally verify communication-induced safety failures?

To address this question, we develop LAST-V2X, an LLM-orchestrated framework for communication-aware V2X safety testing. LAST-V2X first converts natural-language intents into grounded scenario specifications, then executes coupled traffic–communication scenarios in CARLA under matched degraded and non-degraded communication conditions. Execution evidence is further used to refine ineffective scenarios through parameter search and LLM self-reflection, while successful failures are reduced to minimal reproducible cases.

The main contributions are:

  1. Coupled physical–information scenario generation. LAST-V2X jointly constructs the physical traffic scene and the V2X information perceived by the vehicle, with feasibility checks to reject ineffective tests before simulation.

  2. Causal verification of communication-induced safety failures. Matched degraded and non-degraded executions determine whether V2X faults actually cause changes in physical safety outcomes.

  3. Execution-grounded adaptive refinement. Parameter search corrects quantitative deficiencies, while LLM self-reflection revises semantically ineffective test intents using simulation evidence. Successful cases are further reduced to minimal reproducible failures.

The remainder of this paper is organized as follows. Section 2 formulates the testing problem and introduces the four modules of LAST-V2X. Section 3 presents the experimental evaluation, and Section 4 concludes the paper.

References (63)