VILTA: Incorporating VLM into closed-loop training to improve driving policy robustnessVILTA: A VLM-in-the-Loop Adversary for Enhancing Driving Policy Robustness
VILTA uses Gemini-2.5-Flash to edit neighboring vehicle trajectories within the training loop; the sum of CR across Town01–03 challenge scenarios is 1.03.
- Autonomous driving data is mostly conventional scenarios, and safety-critical long-tail conditions are scarce, leaving policies insufficient on rare dangerous events. Existing generation often does not enter training, and closed-loop methods rely on rules, resampling, or offline models; two-stage VLMs only produce descriptions, and trajectory diversity is bounded by the downstream algorithm's ceiling.
- VILTA puts the fine-tuned-free Gemini-2.5-Flash into closed-loop training: it reads BEV and neighboring vehicle states, selects dangerous maneuvers based on relative positions, edits the initial rule-fused trajectory, then obtains an executable trajectory via B-spline, sigmoid fusion, and LQR, and alternates training the ego policy with conventional scenarios.
- CARLA uses SAC training in Town02. Sum of Town01–03 challenge scenarios, VILTA's RC is 2.38 and CR is 1.03. Town05 challenge scenarios are worse than CAT. nuScenes challenge Success Rate is 0.65. Conventional scenarios have the lowest total CR, but there are per-town counterexamples.
- The authors point out that validation is limited to simulation, performance is tied to the specific VLM used, currently only single-vehicle confrontation, threat screening uses predefined rules, and plans to extend to end-to-end driving. Experiments cover CARLA Town01–05 and modified nuScenes; the paper does not report the number of evaluation episodes per town or the nuScenes sample size.
- Evaluated models
- VILTA
- Benchmarks
- CARLAnuScenes
- Metrics
- Route Completion (RC)Total Distance (TD)Crash Rate (CR)Collisions Per Kilometer (CPM)Collision Speed (CS)Average Speed (AS)Off-Road RateSuccess Rate
VILTA directly incorporates a VLM into the closed-loop training of autonomous driving agents, generating challenging scenarios by finely editing the future trajectories of surrounding agents. Compared with a two-stage framework where the VLM only generates scenario descriptions and a downstream model then generates dangerous trajectories, this direct editing approach is not constrained by the upper bound of the downstream algorithm's generalization capability and can produce more diverse and novel scenarios. The authors state that this method significantly improves the safety and robustness of the resulting driving policies, especially in critical long-tail events.
Paper analysis
What problem does this paper attempt to solve?
Long-tail conditions are scarce, two-stage generation is constrained by downstream limits, and VILTA lets the VLM directly edit neighboring vehicle trajectories within the training loop.
Long-tail conditions in autonomous driving make policies insufficient on rare dangerous events.
- Scenario: The authors state that real driving data is mostly conventional and steady, with few corner cases; models handle nominal conditions well but lack ability in rare dangerous events, which they claim hinders broad deployment of autonomous driving.
- Existing shortcomings: Safety-critical scenario generation often does not use the generated results for training. Closed-loop learning still relies on rule heuristics, resampling, and generative models learned from offline data, and the authors say it lacks generalization to create diverse scenarios. Two-stage VLMs first produce high-level scenario descriptions, then pass them to a separate downstream model to generate dangerous trajectories; the authors say the final diversity is limited by the downstream algorithm's generalization ceiling.
- Assumption: The authors hypothesize that large models can preserve underlying structure when editing raw information, thus can make rule-provided normal trajectories more difficult while retaining overall motion trends, rather than generating from scratch.
- Proposed method: VILTA puts a VLM in closed-loop training of the autonomous driving agent, understanding the dynamic environment and directly editing the future trajectories of surrounding vehicles, forming a curriculum that is both reasonable and challenging along with policy learning. The authors claim this improves safety and robustness of the policy through long-tail events.
What related research exists?
Related work is divided into safety-critical scenario generation and closed-loop learning; the authors state that VILTA constructs trajectories directly with a VLM, rather than two-stage generation.
Safety-critical scenario generation
- Data and rules: Ding et al. (2023) review safety-critical scenario generation in simulation from a methodological perspective. Data-driven methods (Wheeler, Kochenderfer, and Robbel 2015; Wu et al. 2020) are affected by imbalance in real data; knowledge-based methods (Xu et al. 2025a) use predefined rules, which the authors say limits diversity and generalizability.
- Adversarial generation: Kuutti, Fallah, and Bowden (2020) can produce diverse scenarios, but the authors say they fail to leverage real driving data.
- Foundation model two-stage approaches: ChatScene (Zhang, Xu, and Li 2024) converts language instructions into scenarios, and CrashAgent (Li et al. 2025) converts accident reports into simulation. The authors say such methods usually have a foundation model describe the scenario and then a downstream module generate, failing to fully use the foundation model's generalization, and may be inefficient. The introduction also lists Mei et al. (2025), Sheng et al. (2025), and Zhang et al. (2025) as works that first write high-level text, then adjust downstream generation priors.
Closed-loop learning
- CAT and SDM: CAT (Zhang et al. 2023) uses real-world data for a closed-loop adversarial framework; SDM (Niu et al. 2023) models vehicle interactions as a Stackelberg game. Parker-Holder et al. (2022) is cited for using environment design to produce an evolutionary curriculum to enhance reinforcement learning robustness.
- CurricuVLM: Sheng et al. (2025) uses a VLM to analyze weaknesses of autonomous driving vehicles and provide personalized curriculum, but it is still two-stage, using the VLM's understanding to guide resampling from existing datasets. The authors contrast this with their work.
Baselines and evaluation environments
- Main comparison: VLM-RL (Huang et al. 2024b) combines a VLM with reinforcement learning, generating rewards from image observations and CLIP language features; CAT uses a pretrained motion prediction model to dynamically generate safety-critical scenarios and then train. The environment is CARLA. Supplementary experiments turn nuScenes into simulation, comparing against BC, PPO, and BC+PPO.
The authors claim VILTA breaks the two-stage paradigm, letting the VLM use both understanding and generation abilities to directly construct complex scenarios, thereby increasing challenge diversity and novelty.
How does the paper address this problem?
An unfinetuned Gemini-2.5-Flash performs both scene understanding and trajectory editing in the loop, followed by smoothing, fusion, and LQR post-processing.
VILTA puts the un-finetuned Gemini-2.5-Flash into a closed loop: the environment provides a scenario, the VLM completes understanding and trajectory editing in one pass, and after post-processing it controls the risky agent.
Closed-loop objective
Driving is written as a partially observable Markov decision process (POMDP): the agent cannot see the true state, only observations. Training alternates between the nominal scenario S_N and the complex scenario S_C. The objective in Eq. 1 is to choose a policy π to maximize the expected discounted return under the scenario-alternating transition T(s'|s,a,S).
Scenario representation and maneuver selection
- BEV and vehicle selection: The scenario is first made into a bird's-eye view representation. Within a predefined circular danger zone, the vehicle closest to the ego is selected as the agent for generating the key scenario. The paper does not give the danger zone radius.
- Maneuver rules: Dangerous maneuvers are specified by driving direction, lane, and longitudinal/lateral position (Table 1). Same direction, same lane, ahead is Sudden-brake; behind is Overtake; different lane, left is Cut-in-left, right is Cut-in-right; opposing direction is Lane-encroachment or U-turn.
- Intersection: The VLM judges whether the ego is at an intersection; if so, subsequent editing is allowed greater flexibility.
Understanding and trajectory editing
- Single output: The VLM performs scenario understanding and trajectory editing simultaneously, outputting risk level, risk category, whether it is an intersection, analysis, and the edited trajectory. Section 9 of the supplementary material gives a simplified input description and one complete output example.
- VLE rather than generation from scratch: The authors state that future trajectories generated from scratch following the standard Vision-Language-Action approach lack challenge, with the basis placed in Sec 5.4. They therefore adopt Vision-Language-Editing: instead of generating from scratch, they edit the initial trajectory given by the rule-based method. The authors analogize to image editing that changes style while preserving structure, and assume that editing the original information can preserve the underlying structure.
- Initial trajectory T_base: A linear fusion of the CTRV model trajectory and map waypoints (Algorithm 1). The i-th point is (1−i/N)·T_model[i]+(i/N)·T_map[i]; earlier points are more influenced by CTRV, later points more by map waypoints. The authors state this gives the VLM a stable basis to focus on editing.
Post-processing
The main text states that the editing module itself does not guarantee kinematic feasibility. T_edit is processed in three steps: B-spline smoothing gives T_B; fusion with T_base using sigmoid weights, wi=1/(1+exp(M(2i−N)/N)), T_curve[i]=w_i·T_base[i]+(1−w_i)·T_B[i], with early weights favoring T_base to maintain continuity and avoid sharp turns, then shifting to the smoothed trajectory; LQR executes T_curve according to vehicle kinematics, giving T_final. N is the trajectory length and M is the weight factor; the paper does not give values for either.
Training closed loop and reward
- Closure method: The reinforcement learning environment executes the risky agent's edited trajectory and trains the ego. Figure 2 shows this loop.
- Reward: R_total=αR_style+βR_follow−γP_safety. R_style is the product of four terms: speed, lane center, heading, and stability; R_follow encourages maintaining a speed-dependent distance from the vehicle ahead; P_safety increases when the distance to the nearest surrounding vehicle falls below a safety threshold. α, β, γ are not given numerical values in the main text.
- Implementation: The main experiments use SAC from Stable-Baselines3, with 1,000,000 total steps and a discount factor of 0.98 (supplementary Table 4). The nuScenes experiments switch to PPO. The authors call direct trajectory editing a targeted generation approach; the paper does not report VLM query counts or time costs.
What experiments did the paper conduct?
For Town01–03 challenging scenarios, the three-town sum for VILTA is RC 2.38 and CR 1.03; in Town05 challenging, several metrics are lower than CAT's.
Experimental setup
- Map and vehicles: CARLA. Main results are trained on Town02 and evaluated on Town01, Town02, Town03 using the final checkpoint at the end of training; Table 6 extends to Town04 and Town05. Each map has 20 autopilot vehicles, of which 1 is labeled a risky agent per Sec 4.2. The ego travels the A* shortest path between random start and end points.
- Policy and state: The main experiment is SAC. The state includes the ego's BEV semantic map, steering, throttle, speed, and the next 15 waypoints; actions are two-dimensional continuous, with steering in [-1,1] and the other dimension positive throttle and negative brake. The supplementary material states the main experiment took about 1.5 days on a single NVIDIA H20 with about 24 GB of memory.
- Scenario mixing: The main comparison defaults to x2, i.e., 1 challenging scenario inserted every 2 regular scenarios, also called 1:2 in the paper. In regular scenarios surrounding vehicles are controlled by the standard autopilot; in challenging scenarios they are dynamically controlled by the VILTA editing module, executing dangerous maneuvers targeting the ego.
- Baselines: VLM-RL and CAT. VLM-RL is reproduced per the official implementation, using the final checkpoint for testing rather than the original source's best checkpoint. CAT is adapted from MetaDrive to CARLA: 1000 scenarios are collected, each 10 seconds and 150 frames, with DenseTNT predicting the next 2 seconds of trajectories; the reinforcement learning part is SAC as in VILTA, with the same state, action, reward, and hyperparameters.
- Metrics and repetitions: RC, TD (m), CR, CPM, CS (km/h), AS (km/h). Table 2, Table 3, and Table 6 are mean ± standard deviation over 3 random seeds. The VLM is Gemini-2.5-Flash without fine-tuning. The paper does not report the number of evaluation episodes per town, nor the number of VLM calls.
Main results
The Total row of Table 2 is the sum of the corresponding metrics for Town01–03, not the average of the three towns. According to Table 2:
| Method | Scenario | Sum of RC | Sum of CR | Sum of CPM | Sum of AS | | VLM-RL | Challenging | 2.10 | 1.44 | 51.74 | 63.64 | | CAT | Challenging | 1.90 | 1.70 | 67.5 | 66.43 | | VILTA | Challenging | 2.38 | 1.03 | 48.62 | 64.98 | | VLM-RL | Normal | 2.54 | 0.76 | 18.01 | 68.65 | | CAT | Normal | 2.64 | 0.86 | 4.67 | 66.98 | | VILTA | Normal | 2.70 | 0.63 | 14.43 | 65.13 |
- Authors' interpretation of challenging scenarios: The authors state that VILTA is better on all towns measured in that section; total route completion exceeds VLM-RL and CAT by 13.3% and 25.3%, and collision rate is reduced by 28.5% and 39.4%. Total CS is 11.81, lower than 15.18 and 17.67; the authors state average speed is only 2.2% lower than CAT, and the safety improvement does not come at the cost of efficiency. Total TD is 10827.90, higher than 9966.38 and 10318.29.
- Not uniformly in the same direction by town: In challenging scenarios in Town01–03, VILTA's RC and CR are higher or lower than the baselines in the corresponding direction in all three towns; but Town03 Challenging CS is 7.89±2.92, higher than CAT's 7.41±0.08. In regular scenarios the total RC, TD, and CR are consistent with the authors' claim of "best on three"; Town02 Normal CR is 0.27±0.15, higher than VLM-RL's 0.23±0.06; Town03 Normal RC is 0.87±0.04, lower than CAT's 0.90±0.01, and CPM is 11.00±0.75, higher than CAT's 0.75±0.
- Forgetting: The authors state that alternating challenging and regular scenarios mitigates catastrophic forgetting. On efficiency, the authors state regular scenarios are only 5.1% lower than VLM-RL.
Ablations (Table 3)
Compare removing post-processing, removing the following reward, removing VLE, and changing the challenging scenario insertion frequency. The paper does not specify the map; the x2 row is identical to the VILTA row for Town02 in Table 2. All are 3 seeds.
- Components: The authors state post-processing increases challenging-scenario RC by 5.5% and reduces CPM by 3.3%; adding Following Reward increases RC by 4.1% and reduces CPM by 6.0%. Raw challenging-scenario values are: w/o PP is 0.73±0.03 / 0.60±0 / 18.75±2.09, w/o FR is 0.74±0.19 / 0.60±0.26 / 19.28±8.34, w/o VLE is 0.75±0.04 / 0.53±0.06 / 18.50±1.04, x2 is 0.77±0.05 / 0.50±0.10 / 18.13±7.36 (RC/CR/CPM). The authors state that removing VLE degrades all metrics; the Normal RC point estimate is likewise 0.91. The authors state VLE and post-processing make trajectory kinematics feasible, so alternating training does not break the simulation's physical consistency.
- Frequency: x4, x8, x16 mean 1 challenging scenario inserted every 4, 8, 16 regular scenarios. The authors state that too sparse (1:16) or too dense (1:2) both perform worse, and the compromise of 1 challenging per 8 regular is best, and that the main experiment's x2 can still be further tuned. Challenging-scenario RC is x2 0.77±0.05, x4 0.85±0.03, x8 0.87±0.01, x16 0.85±0.08; the lowest CR point estimate is at x4 (0.27±0.06), not x8 (0.30±0.10).
Empirical trajectory analysis (Figure 3)
- Pipeline: Figure 3a–f shows the editing process. The yellow car is the risky agent and the white car is the ego. The order is road and history, T_base, T_edit, B-spline T_B, sigmoid-fused T_curve, and LQR-produced T_final. The main text does not list the coordinate values in the figure.
- 100 samples: The authors state that in Figure 3g–h the endpoint distribution of T_final is more spread out than T_base; Figure 3i applies t-SNE to length, average speed, maximum curvature, and endpoint, and the authors state T_final's two-dimensional distribution is wider, and T_gen generated directly without VLE is similar to edited trajectories in distributional diversity. The authors state that in Figure 3j the minimum distance from directly generated trajectories to the ego is comparable to the original trajectories, thus only increasing diversity without increasing challenge; edited trajectories have smaller minimum distance and more extreme acceleration and turning angle with wider distributions (Figure 3k–l). The main text does not give boxplot values.
Town04–05 and nuScenes
- Town05 is a counterexample: Table 6 is still trained on Town02 with 3 seeds, and the paper offers no separate interpretation. In Town05 Challenging, CAT's RC is 0.86±0.05, CR is 0.27±0.06, TD is 3235.73±184.63, and VILTA's are 0.76±0.05, 0.43±0.06, 2554.14±209.03; CPM and CS are also lower for CAT. In Town04 Normal, VILTA's RC is 1±0 and CR is 0±0.
- Five-town sums and nuScenes: Table 6 Total is the sum over five towns. In challenging scenarios VILTA's RC is 3.91 and CR is 1.76, with CR lower than VLM-RL's 2.24 and CAT's 2.27; CS is 23.66, higher than VLM-RL's 21.10. In regular scenarios VILTA's RC is 4.46, lower than CAT's 4.53; CR is 1.03 versus CAT's 1.02; CPM is 17.81 versus CAT's 70.05 and VLM-RL's 21.62. nuScenes converts offline logs into simulation, removes non-vehicles, and surrounding vehicles drive along recorded trajectories without interacting with the ego; one risky agent is designated and its future trajectory edited. The ego uses PPO, with a regular:challenging ratio of 4:1, rolling out 3 seconds of actions, and comparing against surrounding vehicles' ground-truth future trajectories. In challenging scenarios VILTA's Crash / Off-Road / Success is 0.34 / 0.01 / 0.65, BC+PPO is 0.36 / 0.02 / 0.62, and BC is 0.38 / 0.11 / 0.51 (Table 5). In regular scenarios VILTA's Success is 0.93, higher than BC's 0.88, but Crash is 0.05, higher than BC's 0.01. The authors state it is better on challenging scenarios and that no catastrophic forgetting occurs in regular scenarios. The paper does not report sample sizes or number of repetitions.
Other ablations and analyses
- Normal w/o PP, w/o FR, w/o VLE, x2: RC/CR/CPM are 0.89±0.05/0.20±0.10/2.24±0.50, 0.80±0.05/0.37±0.06/4.88±0.22, 0.91±0.07/0.31±0.06/2.60±0.88, 0.91±0.08/0.27±0.15/2.47±2.47 (Table 3).
- Normal frequency: x4 RC is 0.94±0.05 and CPM is 1.30±0.85; x8 CR is 0.23±0.15 and CPM is 2.30±1.62; x16 CR is 0.17±0.06 and CPM is 1.60±0.88 (Table 3).
- Challenging-scenario CPM: x4 is 11.21±14.89, x8 is 5.33±2.27, x16 is 5.56±3.12 (Table 3).
- Town01 Challenging: VILTA's RC/CR/CPM is 0.93±0.09/0.13±0.15/0.67±0.63, CAT's is 0.70±0.06/0.50±0.10/2.49±0.79 (Table 2).
- Town02 Challenging CR: VILTA 0.50±0.10, VLM-RL 0.57±0.06, CAT 0.73±0.06 (Table 2).
- nuScenes regular Off-Road: VILTA 0.02, BC+PPO 0.05, BC 0.11, PPO 0.17 (Table 5).
What are some points that can be further explored?
The authors point out that validation is limited to simulation, relies on the VLM used, and only does single-vehicle adversarial scenarios, and plan real-vehicle and end-to-end extensions.
Limitations and future directions noted by the authors
- Simulation to reality: Validation is limited to simulation, requiring future real-world testing to bridge the sim-to-real gap (Section 6).
- VLM used: The framework's performance is tied to the capabilities of the underlying VLM; the authors consider it worthwhile to study method-specific biases (Section 6).
- Single-vehicle adversarial: The current implementation focuses on single-agent adversarial scenarios, while real critical events may involve multiple participants (Section 6).
- Rules for threat selection: Initial threat identification relies on predefined rules; the authors propose future work on more dynamic, learning-based threat discovery (Section 6).
- End-to-end: The authors plan to extend the framework to end-to-end autonomous driving, examining its role in robustness of integrated perception–planning architectures (Section 6).
Experimental coverage
- CARLA main experiments and Table 6 use SAC training in Town02, evaluating Town01–Town05 with the final checkpoint; each map has 20 autopilot and 1 risky agent, with 3 random seeds. Main comparison baselines are VLM-RL and CAT, with default alternation as x2.
- Metrics are RC, TD, CR, CPM, CS, AS. Ablations include post-processing, following reward, VLE, and x2, x4, x8, x16; Table 3 has 3 seeds. The paper does not specify the map in the ablation section.
- Trajectory analysis uses 100 random samples, with features including length, average speed, maximum curvature, and endpoint, and uses t-SNE. The main text does not give boxplot values for Figure 3j–l.
- nuScenes experiments use PPO, with conventional:challenge ratio 4:1, comparing against BC, PPO, BC+PPO, with metrics Crash Rate, Off-Road Rate, Success Rate, and actions expanded over 3 seconds. The paper does not report evaluation sample size, number of repetitions, or VLM call counts.
- Scenario editing uses fine-tune-free Gemini-2.5-Flash. CAT adaptation uses 1000 scenarios collected by the authors in CARLA and DenseTNT. The paper does not report the number of evaluation episodes per town.
Summarize the main content of the paper
VILTA edits neighboring vehicle trajectories in a closed loop to train the driving policy; the authors state that dangerous scenarios are safer and conventional performance does not degrade.
VILTA is a framework that puts vision-language models into closed-loop training for autonomous driving, to address the scarcity of long-tail dangerous scenarios.
- Problem: Real data is dominated by routine conditions, with rare dangerous events being few. Offline generation often does not enter training, and existing closed-loop methods rely on rules, resampling, or offline generative models; two-stage VLMs only describe, and trajectory diversity is limited by the downstream model.
- Approach: An unfinetuned Gemini-2.5-Flash reads BEV and vehicle states, selects dangerous maneuvers based on relative positions, edits initial trajectories obtained by fusing CTRV and map waypoints, then passes through B-spline, sigmoid fusion, and LQR to the risky agent in the simulator. The ego alternates between challenging and routine scenarios, updated with reinforcement learning.
- Main Results: Trained in Town02 in CARLA, evaluated in Town01–03, 3 seeds. For the sum of metrics across challenging scenarios in the three towns, VILTA's RC is 2.38 and CR is 1.03, with CR lower than VLM-RL's 1.44 and CAT's 1.70 (Table 2). The authors state that route completion is higher by 13.3% and 25.3%, and collision rate lower by 28.5% and 39.4%, respectively.
- Not Every Cell Points the Same Way: In Town03 Challenging, CAT has a lower collision speed. In Town05 Challenging, CAT's RC is 0.86±0.05 and CR is 0.27±0.06, while VILTA's are 0.76±0.05 and 0.43±0.06 (Table 6). For routine scenarios, the three-town total CR is lowest for VILTA, but Town02 Normal CR is higher than VLM-RL's.
- Other Results: The authors state that among 100 samples, edited trajectories are harder than directly generated ones, based on smaller minimum distance to ego and more extreme acceleration and steering angles (Figure 3). In nuScenes challenging scenarios, VILTA's Success Rate is 0.65 and Crash Rate is 0.34 (Table 5). In ablations, the x8 challenging RC is 0.87±0.01, higher than the x2 used in the main experiment at 0.77±0.05 (Table 3).
- Authors' Conclusion: The authors state that directly integrating a VLM into training improves policy robustness in dangerous situations without degrading routine performance. Section 6 also states that validation is still in simulation, only against a single vehicle, threat screening uses rules, and plans to extend to end-to-end driving.
Related papers
- Perceives but Doesn't Brake: A Perception-Action Binding Gap in Reasoning Driving VLAsAnalysis / interpretabilityarXiv