arXiv:2609.06433cs.ROSep 2026

Manuscript Offprint

arXiv:2609.06433

Collision Snapshot Guided Time-Reversed Safety-Critical Scenario Generation

Taehyung Kim, Jongeun Choi

Taehyung Kim¹ and Jongeun Choi¹

Abstract— The generation of safety-critical traffic scenarios is essential for training and evaluating autonomous vehicles. Prior approaches typically perturb the trajectories of existing agents in a traffic scenario using simplified adversarial objectives to induce safety-critical interactions, which can limit the plausibility and diversity of the generated scenarios. Although inserting new adversarial vehicles can alleviate this limitation, determining when and where to introduce them in a scenario-specific manner remains challenging. In this work, we introduce Collision Snapshot guided TimE-Reversed safety-critical scenario generation (COSTER), a framework that leverages learned traffic priors to determine plausible collision times and locations. COSTER first constructs a collision snapshot by inserting a new vehicle in contact with the target vehicle at the identified collision state within a traffic scenario. Starting from this collision snapshot, a conditional variational autoencoder is used to perform a time-reversed rollout, reconstructing the trajectory of the inserted vehicle backward toward earlier timesteps. Experiments show that COSTER outperforms existing methods in plausibility, diversity, and data efficiency. Moreover, agents trained on COSTER-generated scenarios reduce collision rates by 31% on safety-critical scenarios from the Waymo Open Motion Dataset while also improving ego task completion. The project website is available at https://anonym-121.github.io/COSTER/.

I. INTRODUCTION

One of the major obstacles to progress toward fully autonomous driving is well illustrated by the concept of the 'curse of rarity' proposed by Liu and Feng [1]. The curse of rarity refers to the phenomenon where safety-critical events, resulting from complex combinations of diverse environmental factors, occur too infrequently in real-world scenarios. This scarcity poses a challenge for data-driven algorithms to model and generalize such events.

One promising approach to addressing these challenges is to leverage simulation to generate large volumes of safety-critical scenarios for training [2] and validation [3]. Therefore, the generation of diverse and plausible safety-critical scenarios has been actively studied from multiple perspectives [4], [5]. Among the various approaches to safety-critical scenario generation, methods targeting the planning module of autonomous vehicles have primarily focused on introducing adversarial vehicles within the nominal traffic scenario to threaten the target vehicle.

A nominal traffic scenario can be transformed into a safety-critical scenario by selecting an existing vehicle and perturbing its trajectory so that it poses a threat to the target vehicle. However, this approach requires hand-crafted

adversarial objectives, making it costly to design and limiting the diversity of collision scenarios. It also strongly depends on the original scenario configuration: unless the perturbed agent is already close enough to approach the target vehicle, the resulting behavior tends to be unrealistically aggressive or fails to produce a safety-critical scenario.

To address these limitations, recent approaches insert a new adversarial vehicle into the nominal scenario [6]. To ensure a collision with the target vehicle, the adversarial vehicle is initialized at a selected time with a pose that collide with the target, and trajectory of adversarial vehicle is then generated backward in time. This reframing avoids the need to hand-craft an adversarial objective and removes the dependence on the base scene configuration, while guaranteeing a collision with the target vehicle. Despite its effectiveness, prior work determines the inserted vehicle using random pose offsets and a fixed collision time. Random pose placement may fail to account for the surrounding context, leading to overly aggressive scenarios or providing the time-reversed trajectory generation model with out-of-distribution initial conditions. Moreover, a fixed collision time may overlook more favorable opportunities for generating diverse and plausible collisions within the nominal scenario.

To address this limitation, we introduce Collision Snapshot-guided TimE-Reversed scenario generation (COSTER). COSTER leverages direct access to collision snapshots in time-reversed generation, using traffic priors learned from the nominal traffic data to determine both the collision configuration and collision time. Compared with prior approaches that rely on random pose initialization and a fixed collision time, this traffic-prior-based design provides three key advantages: (i) it accounts for the surrounding traffic context to construct scenario-specific collision configurations; (ii) it reduces the likelihood of placing the inserted vehicle in an out-of-distribution state, enabling the subsequent generative module to reconstruct plausible trajectories from more realistic initial conditions; and (iii) it selects collision times according to the evolving traffic context, creating more diverse and plausible opportunities for safety-critical interactions. In addition, we propose a conditional variational autoencoder (CVAE) [7] tailored for time-reversed trajectory generation, which updates surrounding-agent information at each timestep during the backward rollout from a collision snapshot. With these components, we aim to achieve diverse, and context-aware generation of time reversed trajectory. The overall framework is illustrated in Fig. 1.

Our main contributions can be summarized as follows:

¹Taehyung Kim and Jongeun Choi are with Yonsei University, Seoul, South Korea. {kth8606, jongeunchoi}@yonsei.ac.kr

Figure

Fig. 1. The overview of COSTER. COSTER predicts surrounding vehicle states at each timestep (Sec. III-B), identifies the highest-risk timestep to construct a collision snapshot by inserting a contextually plausible adversarial vehicle in contact with the target vehicle (Sec. III-C), and generates physically feasible safety-critical scenarios via time-reversed trajectory rollout with clustering-based selection and refinement (Sec. III-D).

  • We propose COSTER, a collision-snapshot-guided time-reversed generation framework that directly incorporates scenario-specific traffic priors into collision configurations and time.
  • We introduce a velocity-entropy-based strategy for collision-time selection and a CVAE-based time-reversed rollout that updates surrounding-agent information at each timestep, enabling multimodal and context-aware adversarial trajectory generation.
  • We show that COSTER outperforms state-of-the-art methods in scenario quality and diversity, while agents trained on COSTER-generated scenarios achieve improved downstream driving safety.

References (34)