LAST-V2X: Language-Driven Adaptive Scenario Synthesis and Testing for Communication-Induced Failures in V2X Safety Applications
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.
From the abstract. Our summary is in progress.
Full paper
LAST-V2X: Language-Driven Adaptive Scenario Synthesis and Testing for Communication-Induced Failures in V2X Safety Applications
Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2610.30979 (PDF).
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 \cdot connected vehicles \cdot scenario generation \cdot large language models \cdot fault injection \cdot simulation-based testing
1 Introduction
Vehicle-to-everything (V2X) communication extends a vehicle’s awareness beyond onboard sensors [1, 2, 3, 4, 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, 7, 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, 12, 13, 14, 15]. Recent language-driven methods have demonstrated the potential of compiling natural-language descriptions into executable driving scenes [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 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, 29, 30, 31, 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, 34, 35, 36, 37, 38]: vehicle trajectories, behaviors, road conditions, or initial states are perturbed until an unsafe interaction emerges [39, 40, 41, 42]. Recent language-driven approaches further allow such physical scenarios to be specified and generated from natural-language descriptions [17, 20, 43, 44, 45, 46, 47, 48, 49, 50, 51, 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 [53, 54, 55, 56, 29, 57, 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 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:
- 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.
- Causal verification of communication-induced safety failures. Matched degraded and non-degraded executions determine whether V2X faults actually cause changes in physical safety outcomes.
- 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.
2 Methodology
As illustrated in Fig. 1, LAST-V2X contains four interdependent modules. LLM Agent Analysis converts the user intent into a typed and feasibility-verified test specification. Retrieval-Augmented Scenario Grounding binds the symbolic specification to roadway geometry, V2X domain knowledge, and executable agent behaviors. Automated V2X Scenario Synthesis realizes the resulting program as a coupled physical–information simulation with spatial communication, semantic message faults, and paired ego rollouts. Finally, Scenario Refinement uses execution evidence to search for, diagnose, and minimize communication-induced failures. We first formalize the problem solved by these four modules.
2.1 Problem Description
Scenario Specification
The input to LAST-V2X is a short free-form natural-language prompt p describing a traffic situation to be tested. The prompt may specify the environment, ego maneuver, surrounding vehicles, safety-critical interaction, and optionally a communication condition or fault. A compiler \mathcal{C} transforms the prompt into a structured scenario specification
S=\mathcal{C}(p)=\big(a,\,E,\,Q,\,\mathcal{V},\,u_{\mathrm{ego}},\,C,\,F\big),where a denotes the V2X safety application under test; E describes environmental conditions; Q specifies geometric and traffic-control requirements; \mathcal{V} is the roster of surrounding agents; u_{\mathrm{ego}} defines the ego maneuver and initial conditions; C describes the nominal communication configuration; and F=\{F_{1},\ldots,F_{m}\} denotes the set of communication faults.
Each non-ego vehicle i\in\mathcal{V} is characterized by its vehicle class, semantic role in the interaction, initial distance and speed, V2X equipage status, and behavioral character. The communication configuration includes message broadcast rates, communication parameters, V2X penetration, and the signal plan \Psi. Each fault specifies a message-level operator, its target information item, an event-anchored activation window, and its associated magnitude or parameters.
Physical and Perceived States
Each scenario exercises one V2X application a, represented as a decision function
\pi_{a}(\beta,x)\rightarrow u,where x is the ego physical state, \beta is the information state reconstructed from received V2X messages, and u is the resulting control action. Importantly, the application does not act directly on the simulator’s ground-truth world state. Its behavior depends on what information has been sampled, communicated, possibly degraded, and reconstructed at the receiver.
We represent this transformation through the information chain
W\;\xrightarrow{\;\Sigma\;}\;\mathcal{M}\;\xrightarrow{\;\Gamma\;}\;\mathcal{M}^{\prime}\;\xrightarrow{\;\Phi_{F}\;}\;\mathcal{M}^{\prime\prime}\;\xrightarrow{\;\mathcal{B}\;}\;\beta,where W(t) is the ground-truth world state, \Sigma is message sampling, \Gamma is communication-channel delivery, \Phi_{F} is fault injection, and \mathcal{B} is receiver-side state reconstruction. Thus, \beta(t) is generally only an imperfect representation of W(t).
A generated message is represented by
m_{k}=(t_{k},\hat{t}_{k},y_{k}),where t_{k} is its true generation time, \hat{t}_{k} is the timestamp reported by the message, and y_{k} is its semantic payload. For information item i, the receiver retains the most recent accepted payload,
\beta_{i}(t)=y_{k^{\ast},i},whose Age of Information is
\Delta_{i}(t)=t-\hat{t}_{k^{\ast}}.This representation distinguishes three information-failure mechanisms used throughout the paper. In a stale-but-detectable condition, loss or delay increases \Delta_{i}(t) and can trigger a freshness-based fallback. In a fresh-but-wrong condition, messages remain apparently current while their semantic content differs from the physical world. A silent-by-absence condition occurs when safety-relevant information is never generated, for example because a conflicting vehicle is not V2X-equipped.
Causal Failure Objective
A difference between \beta(t) and W(t) is not itself a safety failure, and an observed collision is not necessarily caused by communication. The objective of LAST-V2X is therefore to discover scenarios in which degraded V2X information changes the safety outcome.
For an executed scenario S, let V_{\mathrm{msg}}(S)\in\{0,1\} indicate whether the message-driven ego violates the application-specific safety criterion, and let V_{\mathrm{gt}}(S)\in\{0,1\} denote the corresponding outcome when the same application acts on ground-truth information. We define the causal-admission indicator
A(S)=\mathbb{I}\left[V_{\mathrm{msg}}(S)=1\;\wedge\;V_{\mathrm{gt}}(S)=0\right].A scenario is therefore admitted as a communication-induced failure only when the message-driven ego fails while its matched ground-truth control remains safe.
The primary falsification objective is
\max_{S\in\mathcal{F}}A(S),where \mathcal{F} denotes the set of executable specifications satisfying the schema, analytic feasibility conditions, roadway constraints, and applicable intent-preservation requirements.
Since A(S) is binary and failures can be sparse, the search is guided before admission by a continuous failure margin m(S),
\min_{S^{\prime}\in\mathcal{N}(S)\cap\mathcal{F}}m(S^{\prime}),where \mathcal{N}(S) denotes bounded variations of the current scenario. Smaller margins indicate scenarios closer to violating the target safety criterion and are therefore prioritized during refinement. Appendix E defines m(S) and the search settings.
Once an admitted failure has been identified, the objective changes from discovery to explanation. Let F(S) denote its injected fault set. The minimal-witness problem is
F^{\ast}=\mathop{\arg\min}_{F^{\prime}\subseteq F(S)}|F^{\prime}|\qquad\mathrm{s.t.}\qquad A(S[F^{\prime}])=1,so the final artifact retains only the smallest fault configuration required to reproduce the communication-caused failure; for a silent-by-absence failure, F(S)=\emptyset and the witness is the unfaulted scenario itself. At the benchmark level, multiple such witnesses are sought across different applications, fault classes, penetration levels, and conflict geometries rather than repeatedly maximizing the severity of a single mechanism.
The four modules below implement this process from language interpretation to causally verified failure discovery.
2.2 Module I: LLM Agent Analysis
The first module converts an open-ended natural-language request into a structured V2X test that is both syntactically valid and analytically capable of exercising the intended communication mechanism. It combines a schema-constrained LLM semantic parser with a deterministic feasibility verifier. The LLM determines what the prompt means; explicit rules and arithmetic determine whether that interpretation can produce a meaningful test.
Schema-Constrained Intent Parsing
Let \Lambda denote the language interpretation operator. Given prompt p, it produces an initial candidate specification
S^{(0)}=\Lambda(p).The parser uses structured JSON output constrained by the schema of Eq. (1). It identifies the application under test, environment and map requirements, ego and surrounding-agent attributes, communication configuration, and requested faults. When the prompt does not explicitly name the safety application, \Lambda infers it from the traffic interaction. Explicitly specified communication conditions are preserved, whereas unspecified fields are filled from predefined nominal defaults rather than through unconstrained generation.
Parsing is implemented as a bounded repair loop. If a candidate specification violates the schema or fails the analytic verifier, its diagnostic feedback is returned to the same interpretation operator:
S^{(k+1)}=\Lambda\left(p,\,S^{(k)},\,\mathcal{E}(S^{(k)})\right),where \mathcal{E}(S^{(k)}) contains machine-readable violations together with actionable repair guidance. The LLM therefore performs semantic interpretation and repair, while the admissible specification space remains controlled by explicit constraints. Appendix F gives the parser, planner, and reflection prompts in condensed form.
Analytic Feasibility Verification
The verifier determines whether a candidate can realize the communication condition it claims to test before simulator resources are committed. For a temporal fault F_{j}, realizability is evaluated against the freshness budget B_{a} of the information stream consumed by application a. A fault is potentially consequential when
\overline{\Delta}(F_{j})>B_{a},where \overline{\Delta}(F_{j}) is a lower bound on the peak Age of Information (AoI) [60] induced by the fault. For a stream with broadcast period T_{s} and nominal latency L, dropping k consecutive messages gives
\overline{\Delta}=kT_{s}+L,whereas an additional communication delay d gives
\overline{\Delta}=L+d.The true peak can exceed these bounds by up to one broadcast period, since that much time may already have passed since the last delivery; a fault that satisfies \overline{\Delta}(F_{j})>B_{a} is therefore guaranteed to breach the budget. If a requested drop is too weak, for example, the verifier can return the smallest count whose bound reaches the budget
k^{\ast}=\left\lceil\frac{B_{a}-L}{T_{s}}\right\rceil.Semantic-content faults require a different test because they can remain apparently fresh. For a frozen SPaT value, incorrect MAP binding, or perturbed BSM position, the verifier checks whether the targeted information item is actually consumed by application a, whether the activation window overlaps a relevant decision period, and whether the requested corruption can produce \beta(t)\neq W(t).
Additional checks cover fault-window validity, conflict timing, V2X equipage consistency, nominal communication settings, and roadway satisfiability. Blocking violations are returned through \mathcal{E} to the parser. The same verification gate is later reused to eliminate infeasible mutants during Scenario Refinement. Appendix A lists all check families.
2.3 Module II: Retrieval-Augmented Scenario Grounding
A verified specification describes what interaction should occur, but it is still symbolic. It does not yet identify where that interaction can physically occur, which concrete lanes correspond to semantic roles such as “crossing from the left,” or how the specified agents should behave. The second module therefore binds the specification to retrieved roadway, V2X, and behavioral knowledge [61] and produces a replayable scenario program.
Signal-Semantic Road Retrieval
A signal-semantic road graph \mathcal{G} is constructed offline from the OpenDRIVE map of each simulator town. Unlike a conventional road graph that records only coarse topology or whether an intersection is signalized, \mathcal{G} preserves controller identity, traffic-signal identity, junction connections, controlled movements, and signal groups. These quantities are required not only for geometric grounding but also because SPaT and MAP faults directly operate on them.
The basic retrieval unit is
\ell=(\mathrm{junction},\mathrm{movement},\mathrm{signal\ group},\mathbf{f}_{\ell}),where \mathbf{f}_{\ell} records geometric and traffic-control attributes. Given application a and map query Q, the candidate set is
\mathcal{L}(S)=\left\{\ell\in\mathcal{G}:\mathrm{pre}(a)(\mathbf{f}_{\ell})\wedge q_{Q}(\ell)\right\},where \mathrm{pre}(a) encodes the geometric preconditions of the target application and q_{Q} applies the map requirements inferred from the prompt. A seeded deterministic rule selects \ell^{\ast} from the feasible set. If no candidate exists, the failed constraint is returned to Module I for repair.
V2X and Driver-Behavior Retrieval
A second knowledge base contains the V2X semantics required to convert the traffic scene into a safety test. It represents the three message streams implemented by LAST-V2X: SPaT messages describing signal phase and timing, MAP messages describing intersection geometry and lane-to-signal-group associations, and BSMs describing the states of equipped vehicles.
An application registry maps each application a to the information streams it consumes, its geometric preconditions, and its information-quality budgets. A fault-pattern library maps natural-language communication degradations to the protocol-level fault operators implemented by the runtime.
Driver behavior is instantiated through parameterized templates. For vehicle i,
\theta_{i}=w_{E}\odot T_{\mathrm{beh}}(c_{i},b_{i}),where T_{\mathrm{beh}} maps vehicle class c_{i} and behavioral character b_{i} to parameters including desired speed, time headway, standstill clearance, reaction time, comfortable deceleration, and signal compliance. Environmental weighting w_{E} adjusts these parameters according to E.
Lane-Level Scene Planning
The retrieved movement unit determines a feasible junction, but each semantic agent role must still be mapped onto an actual lane. The executor queries the selected junction in the live simulator and constructs an admissible approach set \mathcal{J}(\ell^{\ast}) containing lane identifiers, movement directions, and measured headings relative to the ego approach.
A constrained planning operator assigns agents to these retrieved approaches:
\mathcal{Z}=\Lambda_{\mathrm{plan}}\left(S,\mathcal{J}(\ell^{\ast})\right).The LLM may therefore resolve semantic relationships such as “oncoming” or “crossing from the left,” but it cannot invent lanes or roadway geometry.
Each assignment is then validated deterministically. Using the specified spawn distance and initial speed, the validator checks whether the relevant vehicles can reach the conflict region within the required encounter window. Invalid assignments are rejected and deterministic grounding heuristics are used as a fallback where necessary.
Scenario Program Assembly
Finally, the verified specification, retrieved movement, lane assignments \mathcal{Z}, and behavior parameters are combined through
P=\mathrm{bind}\left(S,\ell^{\ast},\mathcal{Z},\{\theta_{i}\}\right).The resulting program contains the agent routes, signal plan \Psi, V2X message streams, communication settings, event-anchored fault schedule, and monitoring configuration required for execution.
Importantly, P is typed scenario data consumed by a fixed runtime engine; it is not LLM-generated simulator source code. This makes each test reproducible, allows later refinement operators to manipulate the specification symbolically, and preserves traceability between the executable scenario and the original prompt or retrieved knowledge.
2.4 Module III: Automated V2X Scenario Synthesis
The third module executes the grounded scenario program as a coupled physical–information process. Unlike a conventional traffic simulation that models vehicle motion alone, LAST-V2X synchronously advances the traffic state, signal state, V2X messages, receiver-side estimated state, application decisions, and paired ego outcomes. Execution produces the synchronized trace
\mathcal{T}=\mathrm{Exec}(P).Synchronous Physical–Information Execution
Simulation proceeds synchronously with fixed step \Delta t=50 ms. At each tick, messages are sampled from the current world, propagated through the communication channel, degraded by any active faults, and incorporated into the estimated information state. The application then acts on that estimate:
\beta_{t+\Delta t}=\mathcal{B}\left(\beta_{t},\,(\Phi_{F}\circ\Gamma\circ\Sigma)(W_{t})\right),followed by
W_{t+\Delta t}=\Phi_{\mathrm{sim}}\left(W_{t},\,\pi_{a}(\beta_{t},x_{t}^{\mathrm{msg}}),\,u_{t},\,\Psi_{t}\right),where u_{t} contains the controls of the non-ego agents.
Vehicle routes are instantiated on the live simulator map, initial conditions are stabilized before the critical encounter, conflict-relevant agents follow the scripted controllers parameterized by \theta_{i}, and background traffic is controlled through a seeded Traffic Manager. The signal plan is aligned with the intended encounter so that event-anchored communication faults occur relative to the corresponding traffic or signal event rather than at an arbitrary simulation time.
Spatial V2X Communication Channel
The communication operator \Gamma models delivery as a function of the instantaneous physical relationship between transmitter and receiver. For each link, latency L and delivery probability p_{\mathrm{del}} are obtained from received signal strength:
(L,p_{\mathrm{del}})=g(\mathrm{RSSI}),\qquad\mathrm{RSSI}=P_{\mathrm{tx}}-10n\log_{10}d-B_{\mathrm{blk}}(x_{\mathrm{tx}},x_{\mathrm{rx}}),where P_{\mathrm{tx}} is transmit power, n is the path-loss exponent, d is transmitter–receiver distance, and B_{\mathrm{blk}} is the height-aware building-blockage term. The mapping g increases latency and reduces delivery probability as signal strength deteriorates.
Roadside units are placed at physical signal-pole locations, so communication quality evolves with vehicle motion, urban geometry, and transmitter placement rather than being represented by one scenario-wide packet-loss rate. Appendix B gives the complete model and its default parameters.
Semantic V2X Fault Injection
After nominal channel propagation, the fault engine \Phi_{F} applies protocol-level message faults. Seven operators are implemented across three failure families. Delivery faults include drop, burst_drop, and delay; the timestamp fault skew changes the reported generation time; and semantic-content faults include freeze, rebind, and pos_perturb. Appendix C defines each operator and its parameters.
These operators alter different parts of the information chain. Delivery and timing faults primarily change message availability or apparent age, whereas semantic faults may preserve normal delivery and fresh timestamps while changing the represented state. Fault windows are anchored to traffic or signal events and converted into deterministic simulation-time intervals, allowing identical tests to be reproduced across paired executions and subsequent replays.
Paired Counterfactual Execution
A shadow ground-truth ego is propagated alongside the message-driven ego. Both use the same application, controller, route, initial condition, traffic scene, and simulation seed. Their only systematic difference is the information provided to the application: the message-driven ego acts on \beta(t), whereas the ground-truth ego acts on the corresponding state derived directly from W(t).
The shadow ego has no physical presence and therefore cannot alter surrounding traffic. This paired construction provides the counterfactual required by Eq. (7). Each simulation tick records physical state, signal state, message transmissions and receptions, reconstructed information, application decisions, and both ego outcomes. The resulting trace \mathcal{T} therefore provides an auditable record of the complete chain from communication degradation to behavioral consequence.
2.5 Module IV: Scenario Refinement
A single execution may expose an admitted failure, but many initial tests are too weak, mistimed, or otherwise poorly configured to make the intended communication mechanism consequential. Scenario Refinement therefore closes the loop between simulation evidence and scenario generation.
Two complementary refinement processes are used. An inner specification-space search varies bounded properties of the current grounded scenario while preserving its semantic intent. An outer prompt-space reflection revises the natural-language test description when the execution evidence indicates that the original intent itself prevents the desired mechanism from becoming consequential. Algorithm 1 summarizes both loops.
Execution Diagnosis and Causal Admission
The refinement monitor first identifies intervals in which a safety-relevant estimated information item differs from its corresponding ground-truth state,
\beta_{i}(t)\neq W_{i}(t).Each divergence episode is related to the next application decision through a hazard slack \delta. Negative slack indicates that a decision was made while the estimated state was incorrect, whereas a small positive value denotes a near miss. Expected absences, such as missing BSMs from unequipped vehicles, are labeled separately as structural silent-by-absence conditions.
The paired rollout then evaluates the admission criterion of Eq. (7). If both egos violate the safety criterion, the scenario is treated as non-attributable because the underlying traffic interaction itself is unsafe. If neither fails, the trace remains useful for determining how close the communication-induced divergence came to changing the outcome. Only
V_{\mathrm{msg}}=1,\qquad V_{\mathrm{gt}}=0constitutes a communication-caused failure.
Specification-Space Search
When the current specification is valid but does not produce an admitted failure, the inner loop searches a bounded neighborhood of that scenario. Candidate mutations modify parameters including fault type, magnitude and activation window, vehicle distance and speed, and V2X penetration. These changes preserve the high-level test intent while altering how strongly the information degradation overlaps the safety-critical interaction.
Every proposed mutant is first passed through the analytic verifier. Feasible mutants are executed and ranked using failure margin m(S). Candidates closer to failure receive greater probability of producing descendants according to
w(S)=\frac{1}{1/2+m(S)}.Thus, execution-derived near misses focus subsequent search without replacing the causal admission test itself.
Search is also coverage-oriented. Admitted scenarios are cataloged by mechanism dimensions including application, fault family, V2X penetration, and conflict geometry, discouraging repeated discovery of equivalent failures.
Each admitted scenario is then minimized by delta debugging, a greedy descent: at every step it tries each single weakening of the fault vector (removing a fault, halving its magnitude, or shortening its window) and keeps the first that preserves admission under the same paired causal test, stopping when none does. The result approximates the minimal-witness objective of Eq. (10): it is 1-minimal, in that no single fault can be removed or weakened without losing the failure, and it yields a replayable scenario containing only the communication degradation necessary for the failure.
Prompt-Space Reflection
Bounded specification mutation cannot repair every unsuccessful test. In some cases, the natural-language intent itself makes the requested failure mechanism irrelevant. For example, a prompt may activate a SPaT freeze only after the ego has already completed the safety-critical decision. Increasing the magnitude of that fault cannot make it causal without changing its temporal relationship to the described event.
The outer loop therefore constructs an evidence digest \mathcal{D}(\mathcal{T}^{(r)}) containing the paired outcomes, divergence episodes, hazard slack, decision-epoch AoI, failure margins, and verifier diagnostics. Following verbal self-reflection and self-refinement for LLM agents [62, 63], a dedicated reflection operator then updates the prompt:
p^{(r+1)}=\Lambda_{\mathrm{ref}}\left(p^{(r)},\mathcal{D}(\mathcal{T}^{(r)}),g\right).The purpose of reflection is to diagnose why the intended mechanism failed to affect the application and revise the test description accordingly. It may, for example, move a fault window so that it overlaps the decision, extend a semantic corruption through a signal transition, or modify a described geometry that prevents communication exposure.
The reflected prompt receives no privileged execution path. It re-enters Module I and is parsed and analytically verified, is grounded again through Module II, and is executed through Module III under the same causal admission criterion. Reflection therefore cannot directly manipulate simulator state or force a violation; it can only propose a revised test whose validity and causal effect must again be established by the complete pipeline.
3 Experimental Results
The experiments evaluate the three main capabilities of LAST-V2X: language-driven V2X scenario generation, causal verification of communication-induced failures, and adaptive refinement of ineffective tests. A 100-scene benchmark first evaluates whether natural-language scenarios can be generated reliably without producing false failures. Communication-fault experiments then test whether the paired execution can distinguish communication-induced failures from unsafe traffic interactions. Finally, a 50-scene refinement study evaluates whether parameter search and LLM self-reflection can systematically turn ineffective tests into causally verified failures. Ablation studies isolate the contribution of the key components.
3.1 Experiment Setup
Implementation and Protocol
All experiments use the complete LAST-V2X pipeline with synchronous CARLA simulation across eight towns, except the specification-space search runs of the refinement study, which use a lightweight stub backend. GPT-4o [64] is used for language parsing, planning, and reflection with temperature 0.2 and a fixed sampling seed. Scenario seeds control vehicle equipage, communication loss, RSU selection, vehicle blueprints, and retrieval tie-breaking, enabling deterministic replay. For each scene, LAST-V2X records the generated specification, grounding results, execution traces, safety outcomes, and communication states. The evaluation includes 112 live CARLA scenes; 110 prompts compile on the first attempt and two require verifier-guided correction. Unless otherwise stated, results are reported from deterministic single-seed runs. Appendix G summarizes the configuration of each experiment.
Safety Applications
We evaluate six V2X safety applications, summarized in Table 1. RLVW and GLOSA are signal applications that primarily use infrastructure-to-vehicle information, while IMA, LTA, FCW, and EEBL are conflict applications that primarily use vehicle-to-vehicle BSMs. This distinction captures two important V2X settings: infrastructure information can be shared by multiple vehicles, whereas a missing BSM can make a conflicting vehicle invisible to the receiving application. Appendix D gives each application’s decision rule and violation criterion.
- Application
- Full name
- Function
- SPaT
- BSM
- error (m)
- Signal applications infrastructure-to-vehicle (SPaT/MAP)
- RLVW
- Red-Light Violation Warning
- Warns against entering on red
- 1.0
- –
- –
- GLOSA
- Green Light Optimal Speed Advisory
- Recommends speed for a green arrival
- 1.0
- –
- –
- Conflict applications vehicle-to-vehicle (BSM)
- IMA
- Intersection Movement Assist
- Warns of crossing-vehicle conflicts
- –
- 0.5
- 1.5
- LTA
- Left Turn Assist
- Warns of conflicting opposing traffic
- 1.0
- 0.5
- 1.5
- FCW
- Forward Collision Warning
- Warns of a slower or stopped lead vehicle
- –
- 0.3
- 1.5
- EEBL
- Emergency Electronic Brake Light
- Relays a hard-braking event ahead
- –
- 0.3
- –
Experiment Groups
The evaluation contains three main experiment groups. First, a 100-scene normal-traffic benchmark tests whether natural-language descriptions can be converted into valid V2X scenarios without producing false communication-induced failures. The prompts describe only the traffic scene and environment; the exercised application, town, and nominal communication configuration are inferred or assigned by the pipeline. The benchmark spans all six applications and all eight CARLA towns, together with varied weather, times of day, and vehicle classes (Fig. 2a,c). Second, a communication-fault suite evaluates whether LAST-V2X can distinguish failures caused by degraded V2X information from those caused by the underlying traffic interaction. Third, the suite is extended to 50 scenarios to evaluate adaptive refinement through specification-space search and LLM self-reflection. Corridor, multi-CV, and channel-sensitivity experiments are treated as supplementary studies.
Evaluation Metrics
Metrics are organized at four levels. The run level determines whether communication caused a safety failure. Each executed scenario is classified as Admitted, Non-attributable, or Clean. Admitted means the degraded-information rollout violates the safety criterion while the matched non-degraded rollout does not. Non-attributable means both rollouts violate, indicating that the failure cannot be attributed to communication. Clean means neither rollout violates. Scenarios rejected before execution are labeled Gated.
For scenarios with a measurable conflict gap, we also report
\Delta g=g^{\mathrm{t}}-g^{\mathrm{b}},where g^{\mathrm{t}} and g^{\mathrm{b}} are the minimum conflict gaps under non-degraded and degraded V2X information, respectively. Positive \Delta g indicates a loss of physical separation caused by degraded information.
The estimated-state level measures how strongly the vehicle’s perceived state deviates from the physical state. We report hazard slack, decision-epoch Age of Information (AoI), and the type and duration of each estimate–truth divergence. The search level measures refinement efficiency. We report the number of admitted failures, attribution rate, feasibility-gate rejection rate, executions required to reach the first admission, and minimal-witness size after delta debugging. The realization level verifies that the generated scene was executed as intended. Parse success, spawn audits, and route completion are used to detect realization artifacts, while the 100-scene normal-traffic benchmark serves as a negative control for false admissions.
3.2 Scenario Generation at Scale
The first experiment evaluates whether plain traffic language can drive the full pipeline at scale. Figure 2 summarizes the 100-scene normal-traffic benchmark. The prompts describe only the traffic scene and environment: they do not name the exercised V2X application, the CARLA town, or any communication fault. The application is inferred by the parser, feasible towns are identified through retrieval, and the benchmark harness assigns the least-used feasible town. As a result, coverage is measured rather than hand-designed. The benchmark covers six V2X applications across eight CARLA towns, with various weather conditions, times of day, vehicle classes, and traffic densities ranging from a single ego vehicle to eleven agents.
Generation is both reliable and faithful. All 100 scenes compile into valid and feasible specifications within at most two parse attempts, with an average of 1.58 attempts per scene, and every scene is grounded to a feasible movement unit and executed to completion. The only recurring compile issue is an out-of-vocabulary maneuver field, which is corrected on retry. Realization quality is also high: 365 of 367 vehicle spawns are clean, all 2048 checked lane markings match the authored OpenDRIVE map, and 253 of 254 vehicles remain on route.
Most importantly, the normal-traffic corpus yields zero admitted communication-induced failures under healthy communication, confirming that LAST-V2X does not manufacture failures. The generated scenes also remain physically well behaved, with zero collisions, zero out-of-road distance, and sub-0.15 m tracking error in both rollouts. The paired executions further provide a scene-level measure of information impact. Among the 79 scenes with finite conflict gaps in both rollouts, the ground-truth ego maintains more than 0.5 m additional separation in 33 scenes, with a median gain of 8.5 m and a maximum of 112.3 m. Figure 3 shows one representative dense control scene in detail. Overall, these results show that plain traffic language is sufficient to drive LAST-V2X to broad and faithful V2X scenario generation without introducing spurious failures.
3.3 Corridor Traversal along an RSU Chain
C is the condition-specific clause. b, Clause, parsed value, and 10-seed results per condition, relative to No V2X. c, Camera frames on the retrieved corridor. d, Junctions with known SPaT. e,f, Ego speed without and with traffic.The corridor study measures what infrastructure ahead of the trip buys: a connected vehicle’s information horizon need not end at its own radio. Like the main benchmark, it is driven from language (Fig. 4a). One prompt describes the corridor, four signalized junctions with a shared 6/3/12 s plan and offsets timed against a free-flowing driver, and differs between runs only in whether the road is empty or the ego follows eight unequipped cars, and in one information clause (Fig. 4b): no V2X; direct SPaT, where each junction’s RSU broadcasts only its own timing over a 50 m radio; and an RSU relay chain, where backhaul-connected RSUs rebroadcast the whole corridor’s SPaT at 5 ms per hop, so one reachable RSU delivers every junction ahead. All six prompts compile to the intended condition on the first parse; the verifier’s only repairs lengthen a too-short episode. Retrieval binds the corridor to a Town05 arterial with junctions 91, 88 and 54 m apart, and the harness then sweeps the offset plan (aligned, green wave, adverse), the radio range (50, 100, 150 m) and 10 seeds: 420 CARLA runs with no red-light entry and no collision.
The chain’s value concentrates where the radio is weakest. At R=50 m, below the junction spacing, direct coverage is intermittent, and the relay lifts the mean number of junctions known ahead from 0.5 to 2.6 (Fig. 4d). With the horizon comes smoothness. Against adverse offsets on the empty corridor, GLOSA over the chained SPaT cuts stops from 1.9 to 1.0 and the mean acceleration magnitude from 1.70 to 1.21 m/s2 relative to no V2X, while direct SPaT at the same range changes little (1.9 stops, 1.62 m/s2; Fig. 4b); between J1 and J3 the relayed ego holds about 10 m/s where the others brake and re-accelerate (Fig. 4e). Travel time stays signal-bound (47.4 s without V2X versus 46.6 s with the relay chain), and the one stop that remains, at the first light, which every condition meets on red, is slightly longer than the no-V2X ego’s total stopped time (11.6 versus 10.5 s): the corridor’s benefit is fewer stops and gentler control, not higher speed. The chain at R=50 m matches direct SPaT at three times the range (1.0 stops, 1.23 m/s2 at 150 m); infrastructure cooperation substitutes for radio range.
With the eight-car platoon ahead, the queue sets the pace and travel time is the same in all three conditions (98 s, averaged over the offset plans). What changes is how that time is spent: the relay chain cuts the ego’s time stopped from 31.2 to 21.5 s and its mean acceleration magnitude from 0.88 to 0.74 m/s2, while direct SPaT, whose short radio rarely sees past the queue, changes neither (31.3 s, 0.86 m/s2; Fig. 4b,f). The effect is largest under the green-wave plan, where idling falls from 34.0 to 13.3 s: the ego glides toward queues it knows will discharge instead of braking into them. In traffic, corridor information buys smoothness rather than time.
3.4 Cooperative Scenarios with Multiple Connected Vehicles
The multi-CV study makes cooperation itself the object under test: with every connected vehicle owning an estimated-state store and a decision policy, what two vehicles achieve together becomes measurable (Fig. 5). Both experiments are again stated in language, one prompt per condition, and all six prompts compile to the intended condition on the first parse; retrieval binds the brake-warning chain to a straight Town05 arterial and the crossing to Town05 junction 1722, and each condition runs for 10 seeds. In the EEBL V2V relay chain, a lead vehicle brakes hard beyond the third vehicle’s radio range and behind an occluding second vehicle, so whether CV3 learns of the event in time depends on whether CV2 rebroadcasts the warning vehicle-to-vehicle. With the V2V relay, CV3 brakes 1.49 s after the lead and keeps a 22.7 m minimum gap, with no collision in 10 seeds. Without it, CV3 waits 3.52 s for visual evidence, the gap closes to 0.1 m and 7 of 10 runs end in a rear-end collision; with CV2 unequipped, CV3 brakes after 4.21 s and 9 of 10 runs collide (Fig. 5c,d). The V2V relay hop converts an occluding vehicle into infrastructure worth 2.0 s of warning.
The IMA mutual-yield experiment measures the other face of cooperation. Two crossing vehicles timed to conflict interleave cleanly when both are equipped: a 12.7 m closest approach and a 2.04 s post-encroachment time, with the later arrival yielding in 10 of 10 seeds. With one or neither equipped, the encounter degenerates to a 5.6 m near miss with a 0.28 s post-encroachment time and contact in 2 of 10 seeds, identically in both cases (Fig. 5g,h). Cooperation is pairwise: one-sided equipage buys nothing when the counterpart is silent. This restates the corpus’s silent-miss finding at the scale of two deciding vehicles.
3.5 Scenario Refinement at Scale
The refinement experiment evaluates whether ineffective V2X tests can be systematically improved through specification-space search and LLM self-reflection. The fault suite is expanded from 12 to 50 prompts spanning six applications and diverse communication faults, including intentionally weak, mistimed, and ineffective cases. All scenarios are first executed without refinement. The 43 non-admitted cases are then refined using specification-space search with a budget of 120 candidate mutants per scene and LLM self-reflection with up to five revisions. To measure each mechanism’s contribution, the two loops of Algorithm 1 are applied separately to every target: search mutates the compiled scenario, and reflection revises the prompt, with each revision compiled and executed once.
The initial execution admits only 7 of the 50 scenarios. Most missing, delayed, or stale messages do not produce failures because the application can detect or tolerate them, whereas incorrect but apparently valid information is more likely to alter vehicle behavior. This result reinforces an important point: injecting a communication fault does not by itself create a meaningful V2X safety test.
Across the 50 scenarios, refinement increases admitted failures from 7 to 32 (Fig. 6a). Specification-space search finds failures in 23 of the 43 refinement targets, with a median of 8 executions to the first admission and no successful case requiring more than 27 executions. LLM self-reflection rescues 8 targets, typically within one revised prompt (Fig. 6b). Six of these are also reachable through parameter search, while two require semantic changes beyond the bounded search space. The two refinement mechanisms are therefore complementary: search adjusts quantitative conditions such as fault timing and interaction severity, whereas self-reflection repairs semantically or structurally ineffective test intents.
For scenarios successfully converted by search, the best safety margin decreases to a median of 7% of its initial value, compared with 80% for scenarios that remain fail-safe (Fig. 6c). Delta debugging further reduces each admitted case to a 1-minimal witness with a single fault. Of the 18 scenarios that remain non-admitted, most either fail under both communication conditions and are therefore non-attributable, or remain fail-safe despite refinement. These results show that LAST-V2X can systematically improve ineffective tests without forcing every scenario into an unsafe outcome.
Figure 7 illustrates how self-reflection repairs an ineffective test. In rlvw_late_freeze, the original SPaT freeze begins after the ego has already made its stopping decision, so the scenario remains clean. Using the execution evidence, the LLM identifies the mistimed fault and revises the scenario so that the frozen SPaT persists through the critical decision window. After refinement, the message-driven ego enters the intersection on red while the matched non-degraded ego stops, converting the original scenario into a causally verified communication-induced failure.
3.6 Ablation and Sensitivity Studies
Table 2 evaluates the contribution of each major pipeline component by removing it individually and comparing the resulting performance with the full system. The ablations test launch conditioning, height-aware blockage, the ground-truth rollout, the feasibility gate, the scene planner, and prompt reflection.
- Ground-truth rollout
- Height-aware blockage
- Alarms raised (112 live scenes)
- \downarrow
- 1
- 60
- Divergences (15 healthy scenes)
- \downarrow
- 34
- 60
- False alarms among them
- \downarrow
- 0
- 59
- In-range coverage, Town10 (%)
- \uparrow
- 100.0
- 47.7
- Feasibility gate
- Scene planner (multi-approach junctions)
- IMA admissions per 150 executions
- \uparrow
- 29.0
- 15.3
- Conflict gap, ground-truth ego (m)
- \downarrow
- 10.8
- 49.8
- Seeds with zero admissions (of 3)
- \downarrow
- 0
- 1
- Conflict gap, message-driven ego (m)
- \downarrow
- 2.4
- 5.7
- Launch conditioning
- Prompt reflection
- Opening cross-track error, median (m)
- \downarrow
- 0.06
- 1.22
- Non-admitted prompts rescued (of 43)
- \uparrow
- 8
- 0
- Opening cross-track error, worst (m)
- \downarrow
- 2.26
- 6.63
- Scenes admitted beyond search reach
- \uparrow
- 2
- 0
- Spurious ground-truth collisions
- \downarrow
- 0
- 1
Several findings are notable. First, the ground-truth rollout is essential for causal attribution. Among the 112 live scenes, 60 contain at least one decision made under a divergent estimated state. A divergence-only monitor would therefore raise 60 alarms, whereas the paired rollout identifies only one communication-induced failure, avoiding widespread false attribution. Second, the channel sensitivity study shows that building blockage is the dominant communication parameter. On Town10, reducing blockage loss from 5 to 1 dB/m increases in-range road coverage from 47.7% to 95.8%, while changing transmit power by \pm 10 dB shifts coverage by less than four percentage points. Height-aware blockage also avoids the systematic over-attenuation produced by a height-blind model. Third, the feasibility gate and scene planner matter primarily when their corresponding failure modes are present. Without the feasibility gate, infeasible mutants enter the search and reduce IMA admissions from 29.0 to 15.3 per 150-execution ablation budget, averaged over three seeds, while RLVW is largely unaffected because its mutations remain feasible. Similarly, the scene planner has little effect on simple junctions but becomes critical at multi-approach intersections, where heuristic grounding can eliminate the intended conflict. Finally, prompt reflection extends the refinement space beyond bounded parameter search. It rescues eight non-admitted prompts, including two cases that search alone cannot reach. When refinement is unsuccessful, reflection does not force an admission; instead, it identifies why the scenario remains ineffective or non-attributable.
4 Conclusion
This paper presented LAST-V2X, a language-driven, adaptive framework for automated scenario synthesis and safety testing of vehicle-to-everything (V2X) applications. By integrating large language models with domain knowledge, physical traffic simulation, and communication modeling, LAST-V2X transforms natural-language test descriptions into executable scenarios that capture the interactions between vehicle behavior and V2X information. Unlike conventional scenario-generation approaches that primarily focus on physical traffic conditions, LAST-V2X explicitly examines how communication degradation propagates through application decisions to affect driving safety. A paired execution mechanism distinguishes communication-induced failures from unsafe traffic conditions, while execution-guided parameter search and LLM self-reflection adaptively refine ineffective scenarios and identify minimal reproducible failures.
Experiments across diverse CARLA environments and V2X safety applications demonstrated the effectiveness of the proposed framework. LAST-V2X reliably generated executable scenarios from natural-language descriptions while avoiding spurious failure attribution under healthy communication. The paired execution mechanism further demonstrated the importance of causal verification, as discrepancies between received information and physical ground truth do not necessarily lead to unsafe outcomes. Adaptive refinement substantially improved the discovery of communication-induced failures by correcting ineffective fault configurations and revising test descriptions based on simulation evidence. Additional experiments highlighted how communication coverage, information availability, and cooperation among connected vehicles influence safety and driving behavior. Collectively, these findings demonstrate the value of integrating language-driven scenario generation, causal verification, and adaptive refinement into a unified V2X testing framework.
Several limitations remain. First, the communication model and fault configurations rely on representative parameters rather than comprehensive measurements from real-world deployments. Second, the evaluated safety applications employ simplified, deterministic decision logic that may not fully capture the complexity of production V2X systems. Third, although the main failure mechanisms were validated in CARLA, large-scale adaptive search was conducted using a simplified backend, and its effectiveness under fully integrated simulation remains to be established. Finally, the current framework assumes fixed-time traffic signals and does not explicitly distinguish communication errors from changes in signal timing caused by adaptive traffic control.
Future research will focus on improving the realism, scalability, and practical applicability of LAST-V2X. Integrating field-measured communication characteristics and more advanced V2X application logic will enable more representative evaluations of real-world connected vehicle systems. Extending adaptive refinement to fully integrated CARLA simulations and more complex traffic environments will further assess the framework’s generalizability. Additional directions include supporting actuated signal control, expanding the range of communication and behavioral uncertainties, and using generated failure evidence to inform communication infrastructure design and V2X safety improvements. Ultimately, LAST-V2X provides a foundation for moving beyond manually specified test cases toward automated, evidence-driven safety evaluation of connected vehicle systems.
References
Appendix A Verifier Check Families
The analytic verifier of Module I (Section 2.2) screens every candidate specification before any simulator time is spent. Each check is decidable from the specification and the closed-form AoI relations alone, and returns a finding that names the check, its severity, the specification fields responsible, and a minimal repair, such as the breaching drop count k^{\ast} of Eq. (16) or a minimum episode duration. Severity determines how a finding is used:
- Error findings are blocking. During intent parsing they are returned to the LLM parser, which revises the specification; during specification-space search (Section 2.5) a mutant with any error finding is counted as gated and is never executed.
- Warning findings do not block execution but mark a scenario whose outcome is unlikely to be attributable or informative, for example because the pristine channel already exceeds an age budget.
- Note findings record a property of the scenario, such as a deliberate silent-miss probe in which every conflict agent is unequipped.
Verifier diagnostics also enter the evidence digest used by prompt-space reflection. Table 3 lists the eleven check families. The conflict-timing check uses an arrival-overlap window of 8 s, and the penetration check warns below a market penetration rate of 0.2.
- error blocking; returned to the parser for repair
- no_effective_fault
- No fault can breach any application budget (a vacuous intent); suggestions name k^{\ast} or a freeze/skew fault
- anchor_beyond_horizon
- The k-th anchored occurrence, or the ego decision point, falls after the horizon T
- agent_unreachable
- The conflict cannot form
- no_locus
- Retrieval returns no locus; the message names the first filter that empties the candidate set
- warn executed, but flagged as unlikely to be attributable
- fault_below_budget
- A particular fault is invisible to the safety criterion
- baseline_blows_budget
- The pristine channel already exceeds a budget, so failures are not attributable to faults
- conflict_timing_mismatch
- The arrival gap exceeds the overlap window
- no_closing_speed
- The FCW/EEBL lead vehicle is not closing
- mpr_low_unpinned
- Regimes mix under low market penetration
- note recorded with the scenario
- silent_miss_mode
- All conflict agents are pinned unequipped (structural probe)
- outside_rsu_range_at_spawn
- Reception begins mid-approach
Appendix B Channel Model Details
Every V2I and V2V message passes independently through the spatial channel of Module III (Section 2.4); Table 4 lists its default parameters. For a transmitter–receiver pair at distance d, the received signal strength of Eq. (24) is evaluated as
\mathrm{RSSI}=\max\!\Big(P_{\mathrm{tx}}-10n\log_{10}\max(d,1\,\mathrm{m})-B_{\mathrm{blk}},\;P_{\mathrm{floor}}\Big),and a link with d>R is assigned the noise floor.
Height-Aware Blockage
The blockage term of Eq. (24) is
B_{\mathrm{blk}}\;=\;\min\!\Big(\eta\!\int_{\mathrm{path}}\!\min\!\big(1,\,h_{\mathrm{exc}}(s)/h_{\mathrm{sat}}\big)\,ds,\;\;B_{\mathrm{NLOS}}\Big),where h_{\mathrm{exc}}(s)=\max\big(0,\,h_{\mathrm{b}}(s)-h_{\mathrm{ray}}(s)\big) is the height by which the building at path position s rises above the sight line, and h_{\mathrm{ray}}(s) falls linearly from the RSU antenna height h_{\mathrm{RSU}} to the receiver antenna height h_{\mathrm{OBU}}. The integral is evaluated by sampling the ray at steps of \Delta s. Loss therefore accrues only where a building stands above the line of sight, grows with how far above it stands until it saturates at h_{\mathrm{sat}}, and is capped at B_{\mathrm{NLOS}}: however deep the obstruction, energy diffracted over rooflines and reflected from facades still reaches the receiver.
Latency and Delivery
Latency grows linearly once the signal falls below a knee,
L=L_{0}+\kappa\,\max\!\big(0,\;\mathrm{RSSI}_{\mathrm{knee}}-\mathrm{RSSI}\big),and per-message delivery is logistic in RSSI,
p_{\mathrm{del}}=\frac{1}{1+\exp\!\big((\mathrm{RSSI}_{50}-\mathrm{RSSI})/\nu\big)}.Together, Eqs. (31) and (32) realize the mapping g of Eq. (24). A message is lost if its RSSI is at the noise floor or a Bernoulli draw with probability 1-p_{\mathrm{del}} fails; otherwise it is delivered after L. The semantic faults of Module III act on top of this channel.
- Path loss
- Height-aware blockage
- Transmit power
- P_{\mathrm{tx}}
- 0 dBm
- Building loss rate
- \eta
- 5 dB/m
- Path-loss exponent
- n
- 2.0
- Ray sampling step
- \Delta s
- 1 m
- Noise floor
- P_{\mathrm{floor}}
- -100 dBm
- RSU antenna height
- h_{\mathrm{RSU}}
- 6.5 m
- Communication radius
- R
- 100 m†
- Receiver antenna height
- h_{\mathrm{OBU}}
- 1.5 m
- Latency and delivery
- Saturation excess height
- h_{\mathrm{sat}}
- 10 m
- Base latency
- L_{0}
- 10 ms
- NLOS loss cap
- B_{\mathrm{NLOS}}
- 25 dB
- Latency slope
- \kappa
- 0.2 ms/dB
- Message rates
- Latency knee
- \mathrm{RSSI}_{\mathrm{knee}}
- -70 dBm
- SPaT / MAP / BSM
- 1/T_{s}
- 10 / 1 / 10 Hz
- Delivery midpoint
- \mathrm{RSSI}_{50}
- -90 dBm
- Delivery scale
- \nu
- 5 dB
Appendix C Fault Operators
Each fault is a typed primitive that states what is corrupted (the target stream, SPaT, MAP, or BSM, and the field), when, and how much. Its activation window is [t_{a}+o,\;t_{a}+o+\tau), where t_{a} is the time of the k-th occurrence of an anchor event, o is an offset that may be negative, and an unset duration \tau keeps the fault active until the scenario ends. The anchor events are sim_start, green_onset, amber_onset, red_onset, phase_change, ego_at_decision_point, and ego_enters_range; signal anchors resolve against the bound signal group and kinematic anchors against the message-driven ego. A fault may be restricted to one sender, and each records the provenance of its magnitude (measured or representative); the experiments in this paper use representative magnitudes. Table 5 defines the seven operators together with the parameter ranges explored by specification-space search. Search additionally moves window offsets in steps of \pm 2.5 s within [-10,10] s, sets durations to \{2,5,10\} s or open, and changes the anchor event.
A freeze captures whatever the payload shows when its window opens. A feed that should appear stuck at green is therefore anchored before the amber onset (for example, amber_onset with an offset of -3 s or earlier); a window anchored at red_onset captures yellow instead, and the scenario typically stops safely.
- Delivery faults
- drop
- any
- Suppresses the next k broadcasts in the window (all if k is unset)
- k\in[1,40]
- burst_drop
- any
- Gilbert–Elliott burst loss with transitions p_{\mathrm{gb}},p_{\mathrm{bg}} and a bad-state loss rate
- pathology library
- delay
- any
- Constant delay plus jitter, optionally applied after reception (decode delay)
- [0.05,5] s
- Timestamp fault
- skew
- any
- Shifts the reported timestamp without delaying delivery, so the receiver misreads the age
- |\mathrm{skew}|\leq 30 s
- Semantic-content faults
- freeze
- SPaT, BSM
- Holds phase, countdown, or kinematics at its value when the window opens
- window only
- rebind
- MAP
- Lanes of one movement report the signal group of another
- movement pair
- pos_perturb
- BSM
- Position noise \sigma plus a constant along-track bias b
- \sigma\in[0.2,10] m, b\in[0,40] m
Appendix D Safety Application Logic
Each application is a deterministic kinematic-threshold function \pi_{a}(\beta,x) (Eq. (2)). The same function drives both rollouts: the message-driven ego evaluates it on the reconstructed state \beta and the ground-truth ego on the corresponding state derived from W, so any difference in their outcomes is attributable to the information channel. Braking decisions use a comfortable deceleration a_{c}=3.5 m/s2 and a reaction time t_{r}=1.0 s, giving the stopping distance
d_{s}(v)=v\,t_{r}+\frac{v^{2}}{2a_{c}},and the decision epoch of a signal application is the last point at which stopping remains comfortable, d\leq d_{s}(v), where d is the distance to the stop bar. Table 6 lists each decision rule and the violation that sets V=1 in Eq. (7).
Violations are adjudicated identically for both rollouts. A red entry is the crossing of the stop bar while the true signal of the ego’s group is red; being beyond the bar when a later red begins is legal. A collision requires a center-to-center distance below the stated threshold while either vehicle moves faster than 0.5 m/s. For FCW and EEBL, only vehicles ahead of the ego count, and the ego must be the striking vehicle. In CARLA, a vehicle counts toward a conflict only if it lies within 2.5 m of the ego’s route, so that adjacent-lane traffic passing close to the ego is not scored as a crash.
The monitor that identifies divergence episodes uses the budgets of Table 1. A signal belief is in error when its phase differs from the true phase or its countdown differs by more than 1.0 s; a neighbor track is displaced when its position error exceeds the position budget plus its age multiplied by the vehicle’s speed; and a believed track whose vehicle no longer exists becomes a ghost after 2.0 s.
- Signal applications
- RLVW
- Predicts the phase at arrival; once d\leq d_{s}(v), stops if arrival falls on red, or on yellow after the countdown expires. Holds on a current red within 6 m of the bar; without signal data, stops at the decision point
- Red entry
- GLOSA
- Keeps speed if arriving within the current green; otherwise advises v=d/t_{\mathrm{green}}, clipped to [3,16] m/s
- Red entry
- Conflict applications
- IMA
- Stops if a crossing track reaches the conflict point within 3.5 s of the ego (ego arrival within 12 s)
- Collision, <1.8 m
- LTA
- Stops if an opposing track arrives before the ego’s arrival plus a 4.0 s gap (12 s horizon)
- Collision, <1.8 m
- FCW
- Brakes if the time to collision with the lead is below 2.5 s; holds behind a stopped lead within 10 m
- Forward collision, <2.0 m
- EEBL
- Brakes on a relayed hard-braking flag from a lead vehicle within 80 m
- Forward collision, <2.0 m
Appendix E Failure Margin and Search Settings
The failure margin m(S) of Eq. (9) measures how close an executed, non-admitted scenario came to failing; smaller is closer. For signal applications it is the smallest non-negative hazard slack over all divergence episodes,
m(S)=\min_{e:\,\delta_{e}\geq 0}\delta_{e},\qquad\delta_{e}=\min_{t_{d}\in\mathcal{U}_{e}}\,(t_{d}-t^{\mathrm{end}}_{e}),where \mathcal{U}_{e} is the set of decision epochs t_{d} of the message-driven rollout that occur after episode e begins, and t^{\mathrm{end}}_{e} is the episode’s end. A small slack means the wrong belief ended just before a decision; a negative slack means a decision was taken while the belief was wrong. For conflict applications, m(S) is the minimum distance between the message-driven ego and any agent over the run, counting only vehicles ahead of the ego for FCW and EEBL. If no episode has non-negative slack (including a run without episodes) or no conflict occurs, m(S) is set to a large constant; a run whose episodes all have negative slack therefore keeps this constant.
Specification-space search starts from the compiled scenario and keeps an elite set of the K=8 highest-priority executed scenarios. Each iteration samples a parent with probability proportional to w(S) (Eq. (26)); a scenario in which both rollouts violate is non-attributable and receives the fixed priority 0.05 instead, the weight of a scenario with m(S)=19.5, so it remains a possible parent but ranks below every closer near miss. One of the operators in Table 7 is drawn, with weights that favor interaction-timing operators for conflict applications and fault operators for signal applications. Mutations never change the application, ego maneuver, agent roster, or map query, so the test intent is preserved. Each mutant passes through the verifier before execution, and the budget of N_{s}=120 candidates per scenario counts both executed and gated mutants. Admitted scenarios remain in the elite set so that search can explore neighboring mechanism cells. Each admitted scenario is minimized by delta debugging (Section 2.5). The refinement study runs search with a fixed random seed on the stub backend, and allows up to N_{r}=5 reflection rounds per scenario.
- Fault vector
- Fault magnitude
- Scales a delay or skew by \times 0.5 or \times 2; changes a drop count by -5 to +10; scales \sigma or shifts b
- Fault window
- Shifts the offset by \pm 2.5 s, resets the duration, or changes the anchor event
- Stuck feed∗
- SPaT phase and countdown freeze opening 2.5 or 5 s before the amber onset
- Outage∗
- Window-long drop of the consumed stream (5, 8, or 12 s)
- Track freeze∗
- Freezes neighbors’ BSM kinematics from 3–8 s before the ego’s decision point
- Position bias∗
- Persistent BSM bias of 8, 15, or 25 m (\sigma=0.5 m)
- Pathology swap∗
- Library pathology at a random intensity
- Interaction and equipage
- Conflict alignment
- Places a conflict agent so that it arrives with the ego, to within \pm 8\%
- Agent kinematics
- Shifts an agent’s distance by 5–40 m within [5,300] m, or its speed by 0.5–3 m/s within [0.5,35] m/s
- Ego speed
- Shifts the approach speed by \pm 2 m/s within [2,25] m/s
- Penetration
- Shifts the market penetration rate by \pm 0.25 within [0,1]
- SPaT rate
- Halves or doubles the SPaT rate within [1,20] Hz
Appendix F LLM Prompts
LAST-V2X uses three LLM roles that share one backend, GPT-4o at temperature 0.2 with a fixed sampling seed (Section 3). Each receives a fixed system prompt, condensed in Fig. 8, and must return a single JSON object that is validated before use. Rules are paraphrased, and the worked examples in the parser prompt are omitted. The domain notes given to the reflection role come from the V2X knowledge base and are identical for every scenario; they are not tuned to individual prompts.
Appendix G Reproducibility
Table 8 summarizes the configuration of each experiment. All runs are deterministic given a scenario seed, which fixes vehicle equipage, message-bus jitter, fault stochasticity, RSU pole selection, vehicle blueprints, and retrieval tie-breaking, so every scene replays identically. Each admitted failure is stored with its full minimal-witness specification and re-verified against the paired admission test on replay. For every benchmark scene, LAST-V2X archives the compiled specification, the scene plan with its rationale, the grounding record, the execution trace, the monitor report, three camera streams with rendered V2I/V2V links, and RSSI, latency, and delivery maps. Further material is available on the project page: https://keshuw95.github.io/LAST-V2X/.
- Normal-traffic benchmark
- 100 prompts, 8 towns
- 1 per scene
- Communication-fault suite
- 12 prompts
- 1 per scene
- Corridor traversal
- 6 prompts, Town05; 3 offset plans \times 3 radio ranges
- 10 (420 runs)
- Multiple connected vehicles
- 6 prompts, Town05
- 10 per condition
- Refinement suite‡
- 50 prompts; \leq120 search candidates and \leq5 reflection rounds per scene
- 1 per scene