Automatic Labeling to Generate Training Data for Online LiDAR-based Moving Object Segmentation

Xieyuanli Chen, Benedikt Mersch, Lucas Nunes, Rodrigo Marcuzzi, Ignacio Vizzo, Jens Behley, Cyrill StachnissarXiv 2022 · DOI

TL;DR

This paper introduces an automated offline pipeline that generates high-quality training labels for 3D LiDAR Moving Object Segmentation (MOS) without any manual intervention. By combining SLAM, map cleaning, and object tracking, the authors produce labels that allow deep learning models to achieve—and even exceed—the performance of networks trained on costly, manually annotated datasets.

What Problem Does This Paper Address?

For an autonomous vehicle, distinguishing between a moving car and a parked one is critical for path planning and collision avoidance. While deep learning models like LMNet can perform this "Moving Object Segmentation" (MOS) in real-time, they are data-hungry.

The bottleneck is the data itself: manually labeling 3D LiDAR point clouds is an incredibly tedious, expensive process that doesn't scale. Furthermore, a model trained on one city might fail in another due to different sensor heights or environmental layouts. This paper tackles the "labeling bottleneck" by creating a system that can take raw, unlabeled LiDAR sequences and automatically figure out what was moving and what wasn't.

Methods

The authors propose a five-stage offline pipeline to generate binary (moving vs. static) labels:

  1. LiDAR Odometry/SLAM: The system first uses an off-the-shelf SLAM algorithm (SuMa) to estimate the vehicle's trajectory. This allows all individual LiDAR scans to be aligned into a single global coordinate system.
  2. Coarse Dynamic Removal: Using a map-cleaning tool called ERASOR, the system compares individual scans against the aggregated global map. Points that appear in a scan but aren't consistent with the long-term map are flagged as "potentially dynamic."
  3. Instance Segmentation: These potential dynamic points are grouped into distinct objects (instances) using HDBSCAN, a density-based clustering algorithm.
  4. Multi-Object Tracking: The system tracks these clusters across time using Kalman filters and the Hungarian method for data association.
  5. Trajectory-based Labeling: This is the "aha" moment. An object is only labeled as moving if its total tracked trajectory is longer than its own physical size (bounding box length). Everything else—including parked cars that might have been flagged by map cleaning—is reverted to static.
Fig. 2: Overview of our method. It uses sequential LiDAR scans as input, and first conducts a LiDAR odometry / SLAM step to estimate the poses. With the estimated poses, it then applies a map cleaning method to coarsely detect the moving objects (colored in green). A clustering method is then used to extract instances (in different colors) based on the detected moving object proposals. After that, a multi-object tracking method is applied to associate instances (with bounding boxes) and decide the final labels of instances based on the tracked trajectories (colored in black). With the generated labels, we train LMNet that can be later deployed for online LiDAR-MOS.

Once these labels are generated offline, they are used to train a real-time network (LMNet) that can then be deployed for online use on a vehicle.

Datasets

The authors validated their approach across several diverse datasets to prove generalization:

  • SemanticKITTI / KITTI Odometry: Used as the primary benchmark for comparing auto-labels against human-generated ground truth.
  • KITTI Road: Used as an "extra" unlabeled source to show how scaling up data improves performance.
  • Apollo, MulRan, and IPB-Car: These datasets feature different sensors (Velodyne vs. Ouster) and environments (urban vs. campus) to test how well the method generalizes to unseen domains.

Key Insights and Ideas

  • Map Cleaning $\neq$ MOS: Traditional map-cleaning algorithms (like ERASOR or Removert) are designed to produce a clean static map. They are often "too aggressive," removing static objects due to sensor noise or slight misalignments. The authors show that tracking is the essential "filter" needed to turn map-cleaning outputs into accurate MOS labels.
  • The Power of Hindsight: Because the labeling happens offline, the system can look at the entire history of an object's movement. An online system has to guess if a car will move; this offline system knows if it did move.
  • Quantity Beats Perfection: A key finding is that training on a massive amount of "noisy" auto-generated data can actually outperform training on a smaller set of "perfect" manual labels.

Key Results

The quantitative results are impressive, particularly in how the auto-labels compare to existing baselines:

  • Label Quality: In terms of Intersection-over-Union (IoU) for moving objects, the proposed method achieved 74.2%, dwarfing baselines like ERASOR (19.1%) and other recent auto-labeling attempts (34.5%).
  • Network Performance: A model trained only on these auto-labels achieved a 54.3% IoU on the KITTI benchmark, very close to the 58.3% achieved by the same model trained on manual labels.
  • Scaling Up: When the authors added extra auto-labeled data from the KITTI Road sequences, the performance jumped to 62.3%, actually outperforming the model trained on the standard manual training set.
Fig. 3: Qualitative results of (a) Octomap-based [1], (b) Removert [22], (c) Erasor [27], (d) Yoon’s [42], (e) Pfreundschuh’s [35], and (f) ours. The green points represent the true dynamics (TD), red points are false dynamics (FD), blue points are false statics (FS), and the gray background are true statics (TS).

Limitations and Future Work

While robust, the method has a few acknowledged constraints:

  • SLAM Dependency: The pipeline relies on accurate pose estimation. While the authors claim their tracking stage mitigates some noise, significant SLAM drift would likely degrade label quality.
  • Slow-Moving Objects: If an object moves very slowly (less than its own length during the observation window), it might be incorrectly labeled as static.
  • Future Directions: The authors suggest that integrating semantic information (e.g., knowing an object is a "car" vs. a "tree") could further refine the proposals before the tracking stage.

Overall, this work provides a practical path forward for scaling up autonomous driving datasets without the linear cost of human labor.

Summary updated

BibTeX
@misc{chen2022automatic,
  author = {Xieyuanli Chen and Benedikt Mersch and Lucas Nunes and Rodrigo Marcuzzi and Ignacio Vizzo and Jens Behley and Cyrill Stachniss},
  title = {{Automatic Labeling to Generate Training Data for Online LiDAR-based Moving Object Segmentation}},
  year = {2022},
  eprint = {2201.04501},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.04501},
}
Figure