PADLoC: LiDAR-Based Deep Loop Closure Detection and Registration Using Panoptic Attention

José Arce, Niclas Vödisch, Daniele Cattaneo, Wolfram Burgard, Abhinav ValadaarXiv 2022 · DOI

TL;DR

PADLoC introduces a joint framework for LiDAR-based loop closure detection and point cloud registration using a novel transformer architecture. By leveraging panoptic (semantic and instance) segmentation only during training, it forces the network to learn robust, structurally meaningful geometric features, achieving state-of-the-art performance at inference without requiring runtime semantic annotations.

What Problem Does This Paper Address?

Simultaneous Localization and Mapping (SLAM) is a foundational capability for autonomous vehicles and mobile robots. However, as a robot moves, small errors in its odometry accumulate over time, causing the map to "drift." To fix this, graph-based SLAM systems rely on loop closure detection—recognizing when the robot has returned to a previously visited location—and point cloud registration, which aligns the current scan with past scans to correct the trajectory.

While geometric information is often enough for standard alignment algorithms, it can fail in complex, repetitive, or structurally challenging environments. Incorporating semantic data (knowing what objects are in the scene) helps significantly, but existing semantic SLAM methods usually require running heavy segmentation networks during deployment. This creates a massive computational bottleneck and limits the system's versatility if semantic labels aren't available for a new environment. PADLoC solves this by using panoptic data as a "privileged" training signal: it guides the model during training but is completely absent during inference.

Methods

PADLoC features a unified architecture that jointly handles place recognition and 6-DoF (Degrees of Freedom) pose estimation.

Fig. 2. Overview of our proposed PADLoC architecture for joint loop closure detection and point cloud registration. It consists of a shared feature extractor (green) followed by a global descriptor head (blue) for loop closure detection and a registration and matching module (orange) to estimate the 6-DoF transform between two point clouds (red). To train the global descriptor, we use a triplet loss (purple) that compares the anchor point cloud with a positive and negative sample. For training the registration module, we leverage losses (purple) based on both geometric and panoptic information. Note that during inference, no panoptic annotations are required, making PADLoC more versatile than other methods.

Key components include:

  • Shared Feature Extraction: Built on the PV-RCNN architecture, this backbone processes raw LiDAR point clouds into voxel grids and sparse 3D convolutions, outputting keypoints and high-dimensional feature vectors.
  • Loop Closure Head: A NetVLAD layer aggregates local features into a compact global descriptor. At runtime, a simple nearest-neighbor search in this descriptor space identifies potential loop closures.
  • Transformer-Based Matching: Instead of using a standard transformer encoder-decoder setup, the authors feed independent inputs directly into a cross-attention transformer encoder. It uses source features as queries, target features as keys, and raw target 3D coordinates as values. This allows the encoder to directly output projected target coordinates, bypassing a decoder entirely.
  • Advanced SVD Weighting: To compute the final rigid transformation, the system uses a weighted Kabsch-Umeyama algorithm. The weights are derived using the Berger-Parker index as a diversity metric to penalize dispersed, uncertain point matches.
  • Novel Panoptic Loss: During training, the model is optimized using a combination of triplet loss (for place recognition), geometric loss, and a unique panoptic loss. The panoptic loss treats semantic matching as a classification task and instance matching as a graph connectivity assignment problem, preventing distinct objects from being incorrectly matched together.
  • Forward-Backward Consistency: The training pipeline duplicates the registration head with swapped source and target inputs, enforcing bidirectional consistency.

Datasets

The authors evaluated PADLoC across three distinct environments using weights trained purely on the KITTI dataset:

  1. KITTI Odometry Benchmark: Evaluated on Sequence 08. Training labels were augmented with panoptic annotations from SemanticKITTI.
  2. Ford Campus Dataset: Used to test the model's zero-shot generalization capabilities without retraining.
  3. Freiburg In-House Dataset: A challenging, cross-domain dataset collected locally by the authors to test real-world robustness.

Key Insights and Ideas

  • Privileged Training Works: You don't need semantic labels at runtime to benefit from semantics. Training the network to respect semantic boundaries forces the shared geometric feature extractor to learn higher-level structural representations that persist even when the semantic labels are turned off.
  • Graph-Based Instance Matching: By representing object instances as adjacency matrices (graphs), the authors formulated a multi-matched object loss. This elegantly penalizes the network if it tries to map a single object in the source scan to multiple distinct objects in the target scan.
  • Coordinates as Values: Passing raw 3D coordinates as the value vector in a transformer encoder is a clever architectural shortcut. The attention matrix automatically creates a linear combination of these coordinates, outputting perfectly paired, projected target points ready for Singular Value Decomposition (SVD).

Key Results

PADLoC achieves state-of-the-art (SOTA) performance in both loop closure detection and registration accuracy:

  • Loop Closure Detection: On KITTI Sequence 08, PADLoC achieved the highest Average Precision (AP) of 0.81 and a Max-F1 score of 0.78, outperforming prominent baselines like OverlapNet and its predecessor, LCDNet.
  • Registration Accuracy: PADLoC consistently produced the lowest rotation errors ($r_{err}$) across all datasets, achieving 0.37° on KITTI and 1.50° on the Ford Campus dataset.
  • Efficiency: Despite its performance, PADLoC has a remarkably low memory footprint of 3.4 GB—only a third of the 10.3 GB required by Deep Closest Point (DCP). A single forward pass of the registration module takes just 14 ms.

Limitations and Future Work

While PADLoC successfully discards the need for panoptic annotations during inference, the panoptic information itself remains locked within the training phase. The authors note that future work will explore methods to exploit panoptic information in an online, self-supervised manner during deployment. Additionally, they plan to adapt this transformer-based cross-attention matching mechanism to point cloud registration tasks outside the domain of autonomous driving.

Summary updated

BibTeX
@misc{arce2022padloc,
  author = {José Arce and Niclas Vödisch and Daniele Cattaneo and Wolfram Burgard and Abhinav Valada},
  title = {{PADLoC: LiDAR-Based Deep Loop Closure Detection and Registration Using Panoptic Attention}},
  year = {2022},
  eprint = {2209.09699},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.09699},
}
Figure