LiDAR-EDIT: LiDAR Data Generation by Editing the Object Layouts in Real-World Scenes

Shing-Hei Ho, Bao Thach, Minghan Zhu

TL;DR

LiDAR-EDIT is a new framework for generating synthetic autonomous driving data by "editing" real-world LiDAR scans rather than building them from scratch. By combining generative inpainting with a novel spherical voxelization technique, it allows researchers to precisely place, move, or remove objects in a scene while maintaining the geometric realism and sensor patterns of the original environment.

What Problem Does This Paper Address?

Training autonomous vehicles (AVs) requires massive amounts of data, especially for "long-tail" corner cases—rare, dangerous scenarios like a car suddenly swerving into a lane. Collecting this data in the real world is expensive and risky.

Current synthetic data solutions fall into two camps, both with flaws:

  1. Simulators (Gaming Engines): Highly controllable but suffer from a "sim-to-real gap" where the physics and textures don't perfectly match reality.
  2. End-to-End Generative Models: Produce realistic-looking scans but offer very little control. You can't tell the model, "Put a truck exactly 5 meters in front of me at a 30-degree angle."

LiDAR-EDIT bridges this gap. It keeps the high-fidelity background of a real-world recording but gives the user "Photoshop-like" control over the dynamic objects within that scene.

Methods

The framework operates in three main stages:

  • Spherical Voxelization: This is the core technical innovation. Standard 3D grids (Cartesian) don't align well with how LiDAR works. By discretizing space based on radius, azimuth, and elevation, the researchers ensure that occlusion handling and point density naturally follow the "ray-casting" physics of a real sensor.
  • Object Removal & Background Inpainting: When an object is removed, it leaves a "hole" (an occlusion shadow) where the sensor couldn't see. The authors use a generative transformer (inspired by MaskGIT) to fill these gaps. They train a VQ-VAE to compress point clouds into a discrete latent map, then use the transformer to predict the most likely background points for the missing regions.
  • Object Library & Insertion: The system maintains a library of "watertight" 3D vehicle models (completed from partial real-world scans using a network called AnchorFormer). Users specify a pose $(x, y, \text{yaw})$, and the system "drops" the object into the scene. Crucially, it resamples the object's points to match the specific LiDAR scan pattern and automatically masks out any background points that the new object would now occlude.

Datasets

The researchers used the nuScenes-LidarSeg dataset for training and evaluation. This dataset contains 40,000 point clouds from 1,000 real-world driving scenes captured with a 32-beam Velodyne sensor. No new datasets were introduced, but the authors created a "synthetic validation set" by editing the original nuScenes data to test their model's performance on downstream tasks.

Key Insights and Ideas

  • Geometry by Construction: Instead of trying to teach a neural network the laws of optics, the authors use spherical voxelization as a geometric prior. This ensures that the generated data is "physically correct" regarding LiDAR projection and occlusion by default.
  • Faithfulness vs. Controllability: The paper argues that we don't need to generate the entire world. By keeping the real-world background (trees, buildings, road textures), the "sim-to-real" gap is minimized, while the generative parts handle the "counterfactual" changes (the "what if?" scenarios).
  • Inpainting is Essential: Simply removing a car from a scan isn't enough; you have to "hallucinate" what was behind it. The paper shows that using a context-aware generative model for this produces much more realistic results than naive methods like copying-and-pasting nearby road segments.

Key Results

  • Realistic Inpainting: In quantitative tests using perceptual metrics (FSVD/FPVD) and statistical metrics (JSD/MMD), LiDAR-EDIT outperformed naive baselines, proving it generates background points that are statistically indistinguishable from real ones.
  • Clean Object Removal: When using a pre-trained object detector (VoxelNext) on scenes where objects were removed, the detector found almost no "ghost" objects (2.6 detections per frame vs. 15.5 for competing generative methods), indicating the removal process is very clean.
  • Downstream Utility: The authors showed that pre-training an object detector on their synthetic "edited" data before fine-tuning on real data improved performance (mAP increased from 0.361 to 0.368). This proves the synthetic data has "practical value" for training real-world AI models.

Limitations and Future Work

  • Ray-Drop Effects: Real LiDAR sensors often fail to return points from highly reflective or very dark surfaces (like black cars or puddles). LiDAR-EDIT does not currently model these intensity-based "ray-drop" effects.
  • Object Diversity: The current implementation focuses primarily on cars. Expanding the object library to include pedestrians, cyclists, and debris is a noted next step.
  • Manual Layouts: While the tool provides high control, it currently requires the user to specify object poses. Future versions could integrate traffic simulators to automatically generate complex, realistic multi-agent scenarios.

Summary updated

BibTeX
@inproceedings{ho2025lidar,
  author = {Shing-Hei Ho and Bao Thach and Minghan Zhu},
  title = {{LiDAR-EDIT: LiDAR Data Generation by Editing the Object Layouts in Real-World Scenes}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2025},
  doi = {10.1109/icra55743.2025.11127587},
}
Figure