Suicidal Pedestrian: Generation of Safety-Critical Scenarios for Autonomous Vehicles

Yuhang Yang, Kalle Kujanpää, Amin Babadi, Joni Pajarinen, Alexander Ilin

Introduction

The validation of Autonomous Vehicles (AVs) remains one of the most significant hurdles in the path toward full deployment. While modern AV algorithms perform exceptionally well in standard traffic conditions, they often struggle with the "long tail" of rare, high-risk events. Standard datasets, such as Waymo or KITTI, are predominantly composed of safe driving data, leaving a critical gap in safety-critical edge cases. Manually scripting these scenarios in simulation is labor-intensive and often fails to capture the reactive complexity of real-world accidents.

This research proposes a novel solution: the "suicidal pedestrian." By training a pedestrian agent using Reinforcement Learning (RL) to intentionally provoke collisions, the authors create an automated pipeline for discovering and exploiting the decision-making weaknesses of state-of-the-art AV software.

Methodology

The researchers formulated the pedestrian's behavior as a Markov Decision Process (MDP) and employed Proximal Policy Optimization (PPO), a model-free RL algorithm, to train the adversarial agent.

Relative State Space

A key technical innovation is the use of a relative state space. Instead of global coordinates, the pedestrian observes the AV’s position and velocity relative to its own. This design ensures the "suicidal" policy is translation and rotation invariant, allowing the agent to generalize across different maps and intersections without the need for retraining.

Adversarial Reward Functions

To optimize the pedestrian's effectiveness, the study compared two reward structures:

  1. Simple Reward ($R_1$): A binary reward triggered by any collision.
  2. Shaped Reward ($R_2$): A sophisticated curriculum-based reward that prioritizes high-speed collisions and frontal impacts. This encourages the agent to wait for the most dangerous moment—such as darting out from occluded areas—to maximize the severity of the impact.

Simulation Environment

The system was implemented within the CARLA simulator. Training was conducted in Town 1 and Town 2, providing a controlled yet diverse environment for cross-map validation.

Experimental Evaluation

The adversarial pedestrian was tested against three distinct autonomous driving models:

  • CARLA Behavior Agent: A standard rule-based driver.
  • LAV (Learning from All Vehicles): An end-to-end model that plans trajectories based on the predicted future movements of all surrounding actors.
  • InterFuser: A transformer-based model that integrates multi-modal sensor data (LiDAR, cameras) for navigation.

Key Results

The RL-trained pedestrian demonstrated high efficacy across all test cases. Against the standard CARLA driver, the $R_2$-trained agent achieved a 90% collision rate in the training environment and maintained an 86% success rate in unseen test towns. Notably, approximately 80% of these collisions were frontal impacts, which represent the most hazardous scenario for both vehicle occupants and pedestrians.

Even against high-performing models like InterFuser, the pedestrian maintained a 92% collision rate, although InterFuser demonstrated a superior ability to stop in time compared to the LAV model.

Discussion of Failure Modes

The adversarial agent successfully exposed several critical vulnerabilities in state-of-the-art AV models:

  • Classification Errors: Models like LAV occasionally misidentified the pedestrian as a vehicle, leading to the application of incorrect physics models for trajectory prediction.
  • Fusion Failures: In certain scenarios, models failed to detect the pedestrian entirely due to insufficient sensor fusion, even when the agent was within the line of sight.
  • Prediction Lag: Many models assumed the pedestrian would behave predictably. When the agent executed a sudden, adversarial maneuver, the AVs' prediction modules failed to update quickly enough to prevent a collision.

Conclusion and Future Work

The "suicidal pedestrian" framework provides a robust method for stress-testing AVs by automatically generating safety-critical scenarios that are absent from traditional datasets. The RL agent's ability to generalize across environments suggests that adversarial logic can be a universal tool for safety validation.

Future research will aim to address current limitations, such as the pedestrian's simplified perception (which currently ignores environmental obstacles like trees) and the expansion to multi-agent scenarios where pedestrians might interact with multiple vehicles or other road users. Moving toward goal-conditioned agents—those that attempt to reach a destination while remaining adversarial—will further enhance the realism and utility of these safety-critical simulations.

Summary updated

BibTeX
@inproceedings{yang2023suicidal,
  author = {Yuhang Yang and Kalle Kujanpää and Amin Babadi and Joni Pajarinen and Alexander Ilin},
  title = {{Suicidal Pedestrian: Generation of Safety-Critical Scenarios for Autonomous Vehicles}},
  booktitle = {ITSC},
  year = {2023},
}
Figure