JaywalkerVR: A VR System for Collecting Safety-Critical Pedestrian-Vehicle Interactions

Kenta Mukoya, Erica Weng, Rohan Choudhury, Kris Kitani

Introduction

Autonomous vehicles (AVs) have made significant strides in navigating standard traffic conditions. However, their ability to handle "long-tail" events—rare, high-risk scenarios such as a pedestrian suddenly jaywalking or a child darting into the street—remains a critical bottleneck for safety. Predicting human intent in these moments is difficult because standard datasets are largely composed of routine, safe driving behavior. JaywalkerVR addresses this gap by using a human-in-the-loop virtual reality (VR) system to safely capture realistic human responses to dangerous traffic encounters.

The Challenge of Safety-Critical Data

Deep learning models for trajectory prediction require vast amounts of data to generalize effectively. While datasets like nuScenes or Waymo Open Motion provide thousands of hours of real-world driving, they are naturally biased toward safety; they lack the edge cases where collisions are imminent.

Collecting this data in the real world is ethically and logistically impossible. Previous attempts to simulate these interactions often relied on keyboard or joystick inputs to control virtual pedestrians. These methods fail to capture the nuances of human movement—such as the subtle hesitation in a step or the orientation of the head—that signal a pedestrian's intent to yield or cross. Without this high-fidelity behavioral data, AV models often struggle to distinguish between a pedestrian who is about to stop and one who is about to step into the vehicle's path.

The JaywalkerVR System

To bridge the "sim-to-real" gap, the researchers developed JaywalkerVR, a system integrated with the CARLA autonomous driving simulator. The system features several key technical components:

  • Human-in-the-Loop VR: Using an HTC Vive Pro 2 with a wireless adapter, participants physically walk within a 10m x 10m tracked space. Their real-world movements are mapped to a virtual avatar in real-time, allowing them to experience and react to traffic naturally.
  • High-Fidelity Behavioral Tracking: Unlike standard simulators, JaywalkerVR captures 3D location and head-yaw angle. Head orientation is a vital "leading indicator" of intent; a pedestrian looking directly at an oncoming car is statistically more likely to wait for a gap than one looking elsewhere.
  • Inverse Kinematics (IK): The system employs an IK setup to ensure the avatar’s skeletal animations match the human's actual walking speed and posture, providing a more immersive experience for the participant and more realistic data for the model.

Methodology and Datasets

The researchers utilized the system to create the CARLA-VR dataset, involving 80 participants across four high-risk scenarios: jaywalking, navigating around parked cars, 4-way stops, and parking lot entrances. This resulted in 572 scenes and over 12,000 frames of interaction data.

To test the utility of this data, the team used AgentFormer, a state-of-the-art Transformer-based model designed to predict future trajectories by modeling social interactions. They compared a baseline model trained only on real-world data (nuScenes) against a model fine-tuned with the CARLA-VR dataset.

Key Results and Insights

The study demonstrated that fine-tuning models on a small amount of high-quality, safety-critical VR data significantly improves performance in real-world interactive scenarios:

  • Improved Accuracy: The model's Marginal Displacement Error (ADE/FDE) improved by 10.7%.
  • Enhanced Safety: The Collision Rate (CR)—the frequency with which the model's predicted path would result in a crash—dropped by 4.9%.
  • Social Awareness: Joint metrics, which evaluate the interaction between all agents in a scene, improved by 12.6% to 16.9%. This suggests the model better understood the "negotiation" that occurs between drivers and pedestrians.

One of the most significant findings was the model's improved understanding of yielding. Models trained only on standard datasets often predicted "suicidal" straight-line trajectories for pedestrians. By incorporating CARLA-VR data, the model learned that humans typically pause or adjust their speed based on vehicle proximity and head orientation.

Limitations and Future Work

While JaywalkerVR provides a powerful tool for data collection, it has limitations. The physical constraints of the 10m x 10m tracking room prevent the simulation of long-distance walking paths. Additionally, while VR is highly immersive, it cannot fully replicate the physiological "real-world fear" that might influence decision-making in a truly life-threatening situation. Future work will focus on scaling the pipeline to include more diverse participants and exploring ways to further minimize the sim-to-real gap.

Conclusion

JaywalkerVR demonstrates that human-in-the-loop simulation is a viable and effective method for training AVs to handle the most dangerous parts of the driving environment. By capturing the subtle cues of human behavior in a safe, virtual setting, researchers can build more robust and socially aware autonomous systems.

Summary updated

BibTeX
@inproceedings{mukoya2024jaywalkervr,
  author = {Kenta Mukoya and Erica Weng and Rohan Choudhury and Kris Kitani},
  title = {{JaywalkerVR: A VR System for Collecting Safety-Critical Pedestrian-Vehicle Interactions}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  url = {https://openreview.net/forum?id=gggwyw8OGA},
}
Figure