OverlapNet: Loop Closing for LiDAR-based SLAM

Xieyuanli Chen, Thomas Läbe, Andres Milioto, Timo Röhling, Olga Vysotska, Alexandre Haag, Jens Behley, Cyrill StachnissarXiv 2021 · DOI

TL;DR

OverlapNet is a deep learning framework that identifies loop closures in LiDAR-based SLAM by predicting the geometric overlap and relative yaw between 3D scans. By exploiting multiple data cues—including range, normals, and semantics—it provides a robust, sensor-agnostic way to correct mapping drift in real-time.

What Problem Does This Paper Address?

Simultaneous Localization and Mapping (SLAM) is the "bread and butter" of autonomous navigation. However, as a robot moves, small errors in its motion estimation (odometry) accumulate, leading to "drift" where the map no longer aligns with reality.

To fix this, robots use loop closure detection: recognizing when they have returned to a previously visited location to "snap" the map back into a globally consistent state. Traditional LiDAR-based methods often rely on handcrafted geometric features or simple distance heuristics, which can fail in complex, changing, or symmetrical environments. The authors tackle the challenge of finding these loop closures reliably without needing a prior estimate of the robot's pose.

Methods

The core of the paper is OverlapNet, a siamese neural network architecture designed to compare two LiDAR scans.

  1. Input Representation: Instead of processing raw 3D point clouds (which are computationally heavy), the system projects LiDAR scans into 2D spherical range images.
  2. Multiple Cues: The network doesn't just look at distance (depth). It exploits four distinct "cues":
  3. Range ($R$): The distance to objects.
  4. Normals ($N$): The local surface orientation.
  5. Intensity ($I$): The reflectivity of the surface.
  6. Semantics ($S$): Probability distributions over object classes (e.g., car, road, building) generated by a pre-trained segmentation network.
  7. Siamese Architecture: Two identical "legs" process the two scans to extract feature volumes. These features are then fed into two specialized heads:
  8. Delta Head: Uses a novel Delta Layer to compute pairwise differences between feature pixels, ultimately regressing a single "overlap" value (0 to 1).
  9. Correlation Head: Exploits the fact that a yaw (horizontal) rotation in the real world corresponds to a horizontal shift in the range image. It uses cross-correlation to estimate the relative yaw angle between the scans.
Fig. 3: Pipeline overview of our proposed approach. The left-hand side shows the preprocessing of the input data which exploits multiple cues generated from a single LiDAR scan, including range R, normal N, intensity I, and semantic class probability S information. The right-hand side shows the proposed OverlapNet which consists of two legs sharing weights and the two heads use the same pair of feature volumes generated by the two legs. The outputs are the overlap and relative yaw angle between two LiDAR scans.

Datasets

The authors evaluated OverlapNet on two major benchmarks:

  • KITTI Odometry Dataset: Recorded in urban Germany using a Velodyne HDL-64E. Sequences 03–10 were used for training, while 00 and 02 were used for evaluation.
  • Ford Campus Dataset: Recorded in the US with a different sensor setup. Crucially, the authors used this to test generalization: they tested the model on Ford data without ever training on it, proving the network learns fundamental geometric concepts rather than just memorizing a specific city.

Key Insights and Ideas

  • Overlap as a Quality Metric: Rather than a binary "yes/no" for loop closures, the network predicts a continuous overlap percentage. As shown in Figure 1, higher overlap values correlate with better potential alignment, providing a built-in confidence measure for the SLAM system.
  • Yaw from Translation: Because the range images are cyclic projections, the network can treat rotation estimation as a translation-equivariant problem. This makes the Correlation Head much more efficient and accurate than standard regression.
  • Semantic Robustness: The ablation studies show that adding semantic information drastically reduces errors in yaw estimation, likely because it helps the network distinguish between similar-looking structures (like two different rows of trees).
  • Delta Layer Efficiency: The Delta Layer (Figure 4) allows the network to capture latent differences between scans efficiently, which is critical for the 17ms inference time required for real-time SLAM.
Fig. 4: Delta layer. Computation of pairwise differences is efficiently performed by concatenating the feature volumes and transposition of one concatenated feature volume.

Key Results

  • Superior Detection: OverlapNet outperformed state-of-the-art baselines like M2DP and Histogram-based methods on the KITTI dataset, achieving an Area Under the Curve (AUC) of 0.87.
  • Accurate Yaw Estimation: The model predicts relative yaw with a mean error of only 1.13° on KITTI, significantly better than OREOS (12.67°).
  • Generalization: Even when trained only on KITTI, the model maintained high performance on the Ford Campus dataset, outperforming the original SuMa SLAM heuristic (AUC 0.85 vs 0.33).
  • Mapping Improvement: Integrating OverlapNet into a full SLAM pipeline (SuMa) resulted in much more accurate global maps with significantly lower translation errors.

Limitations and Future Work

  • Degrees of Freedom: Currently, the network only estimates relative yaw (1-DOF rotation). While this is often sufficient for ground vehicles, it does not provide the full 6-DOF transformation (though it successfully initializes ICP to find the rest).
  • Computational Overhead: While the core network is fast, generating semantic maps via RangeNet++ adds significant pre-processing time.
  • Future Directions: The authors suggest integrating other modalities like vision and radar, and testing the system's robustness across different seasons and weather conditions.

Summary updated

BibTeX
@misc{chen2021overlapnet,
  author = {Xieyuanli Chen and Thomas Läbe and Andres Milioto and Timo Röhling and Olga Vysotska and Alexandre Haag and Jens Behley and Cyrill Stachniss},
  title = {{OverlapNet: Loop Closing for LiDAR-based SLAM}},
  year = {2021},
  eprint = {2105.11344},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.11344},
}
Figure