Safety-critical interactions are rare in recorded driving data, leaving end-to-end driving planners with limited exposure to evasive behaviour during training. This lack of critical supervision can lead to unsafe behaviour and, in rare instances, collisions. To address this gap, we introduce CriticalScenes, a reconstruction-based framework that transforms ordinary recorded driving scenes into photorealistic safety-critical interactions with corresponding collision-avoidance supervision. Across 53 reconstructed source scenes, 979 of 1,060 attempted interactions yield feasible threat trajectories (92.4%), while the inserted threat actors remain detectable in more than 95% of non-occluded observations within 5--35,m. Experiments with two structurally different end-to-end planners show that the generated supervision improves critical-scenario planning, while closed-loop transfer varies across planner architectures. SparseDrive achieves a 46.5% relative reduction in collision rate on an independent photorealistic closed-loop benchmark, whereas UniAD shows only a modest closed-loop improvement despite substantial open-loop gains. The results further highlight the importance of closed-loop evaluation, as improvements in open-loop trajectory prediction do not necessarily translate into equivalent safety gains.
Figures & tables
Fig. 2: Detailed CriticalScenes generation pipeline. An ordinary recorded scene is reconstructed into an editable representation, after which the framework selects a suitable threat actor and conflict location, constructs the collision-course interaction and collision-avoidance trajectory, renders and restores the modified observations, and applies quality control before conversion to planner-ready training data.
Fig. 3: Representative crossing, head-on swerve, and head-on brake scenarios generated by CriticalScenes. Red denotes the generated collision-course threat trajectory or stationary threat location, green the nominal recorded ego trajectory, and blue the generated collision-avoidance trajectory. Swerve responses rejoin the nominal route after passing the conflict region.
Fig. 4: Representative examples of the rendering and restoration stage. Raw Street Gaussians novel-view renderings can contain artefacts when the generated ego or actor poses expose poorly observed regions; Fixer reduces these artefacts before the observations are used for planner training.
Generation and scalability
Source scenes
53
Attempts / feasible
1,060 / 979
Planning success
92.4%
Selected from feasible
259
Accepted after quality control
188
Post-selection acceptance
72.6%
TABLE I: Generation yield and computational cost over all 53 source scenes, and target-actor recall on the 20 CriticalScenes evaluation scenarios. Occluded observations are excluded from recall evaluation.
Planner
Model
L2 [m] ↓
Obj.-box collision [%] ↓
1 s
2 s
3 s
1 s
2 s
3 s
CriticalScenes-20
UniAD
Base
7.18
12.38
16.77
6.42
11.59
9.64
UniAD
Adapted
0.62
1.25
1.99
0.28
2.37
3.63
SparseDrive
Original (18 anchors)
0.63
1.24
1.97
7.38
9.56
10.82
SparseDrive
Adapted (27 anchors)
0.90
1.62
2.39
4.20
6.71
7.69
TABLE II: Open-loop planning performance before and after CriticalScenes adaptation. CriticalScenes results are pooled over the 20 held-out evaluation scenarios. Lower is better.
Model
Front.
Stat.
Side
CR ↓
NCAP ↑
UniAD base
90.2
33.1
76.8
66.7
1.82
UniAD adapted
94.0
23.1
78.4
65.2
1.94
SparseDrive original (18 anchors)
69.0
56.3
32.8
52.7
3.00
SparseDrive expanded (27 anchors)
74.0
61.0
36.0
57.0
2.85
SparseDrive adapted (27 anchors)
50.6
19.7
14.4
28.2
3.96
TABLE III: NeuroNCAP closed-loop evaluation. For SparseDrive, original denotes the pretrained 18-anchor model, expanded the 27-anchor model without fine-tuning, and adapted the same 27-anchor model fine-tuned with CriticalScenes. Collision rates (CR, %) are reported by interaction type and overall. Higher NCAP and lower collision rates are better.
Autonomous driving scenario generation creates realistic, controllable traffic situations for training and testing vehicles, especially in rare and safety-critical cases.
End-to-end driving models perform well on standard benchmarks but collide frequently in safety-critical scenarios. We present a failure-mode analysis on NeuroNCAP which shows that 95.9% of DiffusionDrive's collisions are planning failures despite reliable detection, pinpointing the bottleneck in planning rather than perception. We attribute this to a fundamental data imbalance, as safety-critical interactions are rare in real driving logs, so planners are hardly ever trained on them. We close this gap with a novel model-aware framework that generates safety-critical training scenes against a specific planner. Each planner is attacked at the bird's-eye-view (BEV) level through a differentiable surrogate distilled from its own planning head. This keeps the expensive video renderer out of the attack loop. We extract 50 scenes per planner, each pairing an attack with a safe escape trajectory that serves as the fine-tuning label. A fully automated quality-diversity search generates both the attacks and the escapes, so that their variety is not specified by hand. Only these scenes are rendered to fine-tune the planner, which reduces the computational cost significantly. Fine-tuning on these scenes roughly halves the closed-loop collision rate of two planners on NeuroNCAP (SparseDrive 28.0% to 12.2%, DiffusionDrive 37.5% to 19.2%) while largely preserving normal driving. A cross-planner transfer experiment shows that the gain comes from targeting the specific planner. Each planner improves most on the scenes generated against itself, and DiffusionDrive fine-tuned on SparseDrive's scenes retains only 6.7 of its 18.3-point collision-rate reduction.
Khaled M. Seyam, Julian Wiederer, Samar Fathalah +2
University of Stuttgart, Germany · Mercedes-Benz AG, Germany
Safety-critical driving scenario generation has largely focused on manipulating the behavior of surrounding agents while starting from an initial scene from driving data. This assumption can limit the space of discoverable failures, since driving data can provide little opportunity for meaningful interaction. For example, in the Waymo Open Motion Dataset, 20.44% of recorded slices feature a stationary ego vehicle that never moves, and 30.39% of initial frames contain no nearby traffic participants within 10 meters. We instead study safety-critical scenario generation as an initialization problem: given agnostic black-box driving policies, we learn to generate realistic initial scenes that are more likely to evolve into critical interactions. We propose AdvScene, a conditional latent diffusion model that is trained in two stages. Starting from pretraining on naturalistic driving data, we post-train the adversarial-agent generation branch using reinforcement learning with feedback from closed-loop simulator rollouts. Conditioning on ego driving displacement prevents the ego from remaining static, and RL finetuning induces criticality directly with non-differentiable safety-critical metrics. Experiments on the Waymo dataset across 12 combinations of ego and traffic policies show that our AdvScene substantially increases the rate of ego-fault collision events and TTC<3s events.
Safety-critical scenarios are central to evaluating autonomous driving systems, yet their rarity in naturalistic logs makes simulation-based stress testing indispensable. Most scenario generation methods treat surrounding agents as adversaries, but they either (i) induce failures without explicitly modeling vehicle-road physical limits, yielding visually extreme yet physically unsolvable crashes, or (ii) enforce physical feasibility or policy feasibility in isolation, which can over-focus on aggressive maneuvers or remain tied to a controller-dependent capability boundary. We propose ScenePilot, a feasibility-guided, boundary-driven framework that targets the boundary band: scenarios that are physically solvable in principle yet still cause the deployed autonomy stack to fail. We formulate generation as constrained multi-objective reinforcement learning, combining an RSS-derived physical-feasibility score σ with an online-learned AV-risk predictor Φ, and introduce step-level feasibility-aware shielding to keep exploration near the feasibility boundary while avoiding infeasible artifacts. Experiments on SafeBench with multiple planners show that ScenePilot yields substantially higher collision rates (+6.2 percentage points) while preserving physical validity, and that adversarial fine-tuning on these boundary-band scenarios consistently reduces downstream crash rates. The code is available at https://github.com/QiyuRuan/ScenePilot.
Qiyu Ruan, Yuxuan Wang, He Li +2
State Key Laboratory of Internet of Things for Smart City (SKL-IOTSC), University of Macau, Macau, China · Faculty of Science and Technology, University of Macau, Macau, China