Dynamic Object Aware LiDAR SLAM based on Automatic Generation of Training Data

Patrick Pfreundschuh, Hubertus Franciscus Cornelis Hendrikx, Victor Reijgwart, Renaud Dubé, Roland Siegwart, Andrei CramariucarXiv 2021 · DOI

TL;DR

This paper introduces a LiDAR SLAM system that tackles the "moving object problem" by automatically generating its own training data. By using an offline occupancy-grid pipeline to label dynamic objects without human intervention, the authors trained a real-time neural network that improves SLAM odometry accuracy by nearly 40% in crowded urban environments.

What Problem Does This Paper Address?

Most Simultaneous Localization and Mapping (SLAM) algorithms operate on a fundamental assumption: the world is static. When a robot navigates through a busy city square, moving pedestrians and vehicles act as "noise." If the SLAM system tries to match current LiDAR points against these moving targets, the resulting trajectory estimate (odometry) drifts, and the final 3D map becomes cluttered with "ghost" artifacts.

Existing solutions usually fall into two camps:

  1. Heuristics: Simple rules, like "ignore small objects," which often discard useful static features like thin poles or signs.
  2. Supervised Learning: Training deep networks to recognize specific classes (like cars or people). This requires massive, manually labeled datasets (e.g., SemanticKITTI), which are expensive to produce and don't generalize well to new environments like indoor warehouses or different sensor setups.

The authors aim to bridge this gap with a system that can learn to detect arbitrary dynamic objects in any environment without a single human-provided label.

Methods

The researchers proposed a two-stage pipeline: an offline auto-labeler and an online dynamic-aware SLAM.

1. The Auto-Labeler (Offline)

To generate training data, the system uses a global occupancy grid. The core idea is simple: if a voxel (a 3D pixel) was previously observed as "free space" but is now "occupied," something must have moved into it.

However, naive ray-tracing often fails at object boundaries due to occlusions, creating false "dynamic" labels. To fix this, the authors implemented a range-image-based discontinuity check to identify partially occluded voxels and prevent them from being falsely labeled as free space. They also used a two-stage clustering process and a validation step to ensure that only coherent, moving clusters are labeled as dynamic.

The offline and online pipeline overview.

2. Real-Time Detection and SLAM (Online)

The auto-generated labels are used to train 3D-MiniNet, a fast semantic segmentation network. During live operation, this network predicts which points in a LiDAR scan are dynamic. These points are then filtered out before the data reaches the SLAM algorithm (in this case, a custom version of LOAM). By ignoring these points for both pose estimation and mapping, the system maintains a "static world" assumption even in a crowd.

Detailed view of the occupancy grid based detection pipeline.

Datasets

  • Simulated Dataset: A custom environment containing a wide variety of moving objects (planes, animals, cubes) to test the system's ability to detect arbitrary motion.
  • Real-World Dataset: Over 12,000 LiDAR scans collected at ETH Zurich and the Zurich main station. These environments are highly dynamic, featuring dense crowds of pedestrians.
  • Evaluation Benchmarks: The authors manually annotated a subset of their real-world data to provide a ground-truth baseline for calculating Intersection over Union (IoU) scores.

Key Insights and Ideas

  • Unsupervised Supervised Learning: The paper effectively uses a computationally expensive, "all-knowing" offline process (which has the benefit of seeing the future and the past of a sequence) to train a lightweight, real-time online model.
  • Handling Occlusion Discontinuities: A major technical contribution is the range-image heuristic shown in Figure 4. By detecting sharp jumps in range, the system avoids the common pitfall of labeling the edges of static walls as "dynamic" just because the sensor moved.
  • Class-Agnosticism: Unlike models trained on KITTI, this system doesn't care if an object is a "pedestrian" or a "bicyclist." It only cares that the object moved, allowing it to generalize to any dynamic entity.
Visualizing how naive ray-tracing (right) creates false positives compared to the proposed approach (middle).

Key Results

  • Odometry Accuracy: The dynamic-aware LOAM improved relative translational odometry performance by 39.6% compared to standard LOAM.
  • Segmentation Performance: The 3D-MiniNet, trained entirely on auto-generated labels, achieved an average IoU of 0.82 for pedestrians in real-world urban scenes.
  • Map Quality: The resulting maps are significantly cleaner, removing the "red" dynamic points that would otherwise clutter the reconstruction.
Comparison of a cluttered map (left) vs. a cleaned map (right) where dynamic points are discarded.

Limitations and Future Work

While highly effective, the system has some constraints:

  • Sensor Sparsity: As objects get further from the LiDAR, the point cloud becomes sparser. If a cluster has fewer than 5 points, the validation step rejects it, meaning far-away dynamic objects might be missed.
  • Reflective Surfaces: Mirrors or highly reflective windows can cause "ghost" points that the occupancy grid might misinterpret as dynamic objects.
  • Static Pedestrians: Because the auto-labeler relies on motion, pedestrians who are standing perfectly still during the entire observation window might be labeled as static.

Future work could involve extending this approach to indoor environments with even more diverse dynamic objects or refining the clustering to handle under-segmentation in very dense crowds.

Summary updated

BibTeX
@misc{pfreundschuh2021dynamic,
  author = {Patrick Pfreundschuh and Hubertus Franciscus Cornelis Hendrikx and Victor Reijgwart and Renaud Dubé and Roland Siegwart and Andrei Cramariuc},
  title = {{Dynamic Object Aware LiDAR SLAM based on Automatic Generation of Training Data}},
  year = {2021},
  eprint = {2104.03657},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.03657},
}
Figure