A LiDAR Point Cloud Generator: from a Virtual World to Autonomous Driving

Xiangyu Yue, Bichen Wu, Sanjit A. Seshia, Kurt Keutzer, Alberto L. Sangiovanni-Vincentelli

Abstract

Deep learning models for autonomous driving require vast amounts of labeled data, which is particularly difficult and expensive to obtain for 3D LiDAR point clouds. Researchers from UC Berkeley have developed a framework that leverages the rich, programmable environments of video games—specifically Grand Theft Auto V (GTA-V)—to automatically generate labeled 3D LiDAR data. By augmenting real-world datasets with this synthetic data, they achieved a 9% improvement in segmentation accuracy and demonstrated a systematic method for identifying and "fixing" neural network blind spots through virtual stress-testing.

Introduction

While capturing raw sensor data for autonomous vehicles is relatively straightforward, labeling 3D LiDAR point clouds is a significant bottleneck. Unlike 2D image annotation, 3D segmentation requires labeling every individual point in a cloud, a process that is slow, expensive, and prone to human error. Furthermore, real-world datasets often lack rare "edge cases"—specific vehicle orientations or weather conditions—making it difficult to ensure the safety of Cyber-Physical Systems.

Methodology

The proposed framework bridges the gap between the virtual world of GTA-V and real-world LiDAR perception tasks. The system utilizes the DeepGTAV plugin and Script Hook V to tap into the game's engine and simulate LiDAR sensors via ray casting. By defining specific angular resolutions, the system emits virtual rays and records their intersection points with game objects.

LiDAR scanning simulation parameters for vertical (a) and horizontal (b) angular sampling.

To ensure the data is useful for sensor fusion, the researchers developed an automatic calibration method to align the virtual LiDAR's coordinate system with the game's camera. This ensures that objects in the point cloud perfectly correspond to their visual counterparts in captured images.

Synthetic Data Generation

A key advantage of this approach is that the game engine already possesses semantic knowledge of every object in the scene. Consequently, the generated point clouds come "pre-labeled" with classes such as car, building, or road. The virtual environment also allows for a "modification space" where variables like car model, orientation, background, and weather can be precisely controlled.

The generation pipeline: (a) original game scene, (b) virtual ray-object intersections, and (c) the resulting segmented 3D point cloud.

Experimental Results and Insights

The researchers evaluated their approach using SqueezeSeg, a convolutional neural network for LiDAR segmentation, on the KITTI dataset.

  • Accuracy Boost: Training on real-world KITTI data alone resulted in a 57.1% Mean Intersection-over-Union (mIoU). Augmenting this with GTA-V synthetic data boosted performance to 66.0% mIoU, a nearly 9% absolute improvement. This suggests the model learns general geometric features from the simulation that translate effectively to reality.
  • Surpassing Intensity Data: The KITTI+GTA-V model (66.0%) outperformed a model trained on KITTI using additional intensity (reflectance) data (64.6%), highlighting the value of high-quality synthetic geometry.
  • Systematic Falsification: By moving vehicles around the virtual field of view, the authors created "mIoU maps" to identify blind spots. They discovered the model struggled with objects at specific boundary angles or extremely close ranges. By generating thousands of targeted examples of these failure cases and retraining the model, they were able to "close the loop" and fix these weaknesses.

Conclusion and Future Work

This research demonstrates that synthetic data from video games can significantly enhance the robustness of autonomous driving perception systems. While the current framework is limited by a lack of intensity (reflectance) simulation and a 90-degree field of view, future work aims to incorporate material properties into the simulation and expand the diversity of virtual environments to further bridge the reality gap.

Summary updated

BibTeX
@inproceedings{yue2018lidar,
  author = {Xiangyu Yue and Bichen Wu and Sanjit A. Seshia and Kurt Keutzer and Alberto L. Sangiovanni-Vincentelli},
  title = {{A LiDAR Point Cloud Generator: from a Virtual World to Autonomous Driving}},
  booktitle = {ICMR},
  year = {2018},
  doi = {10.1145/3206025.3206080},
}
Figure