SegMatch: Segment based loop-closure for 3D point clouds

Renaud Dubé, Daniel Dugas, Elena Stumm, Juan Nieto, Roland Siegwart, Cesar CadenaarXiv 2016 · DOI

TL;DR

SegMatch is a real-time algorithm for 3D place recognition that identifies revisited locations by matching geometric segments rather than individual points or entire scenes. By extracting and describing these "blobs" of geometry, it achieves robust, illumination-invariant loop-closure in large-scale environments at a frequency of 1Hz.

What Problem Does This Paper Address?

For autonomous robots, knowing where you are is fundamental. This is typically handled by Simultaneous Localization and Mapping (SLAM), but as a robot travels, small errors in its motion estimation accumulate into large "drifts." To fix this, robots need loop-closure detection: the ability to recognize a previously visited place and snap the map back into alignment.

Traditional approaches in 3D Lidar data usually fall into two camps:

  1. Local Keypoints: Matching individual points based on their immediate surroundings. These are often ambiguous and struggle in unstructured environments like forests or parks.
  2. Global Descriptors: Describing an entire 360-degree scan. These are highly sensitive to the robot's viewpoint; if you approach the same intersection from a different street, the global descriptor changes completely.

The authors propose SegMatch to find the "Goldilocks zone" between these two extremes by focusing on segments—distinct clusters of points that represent parts of objects or structures.

Methods

The SegMatch pipeline is modular, consisting of four main stages:

  1. Segmentation: The algorithm filters the raw point cloud, removes the ground plane, and uses Euclidean clustering to group points into segments. Crucially, it doesn't assume these segments are "perfect" objects (like a whole car); they can be parts of walls, tree crowns, or pillars.
  2. Feature Extraction: Each segment is compressed into a compact "signature." The authors use two types:
  3. Eigenvalue-based: Capturing geometric properties like linearity, planarity, and scattering.
  4. Ensemble of Shape Histograms: Encoding distributions of distances and angles between random points within the segment.
  5. Segment Matching: Instead of using simple distance metrics, the authors employ a Random Forest classifier. This machine learning approach learns how to distinguish true matches from false ones across different feature types.
  6. Geometric Verification: To ensure a match is real, the system uses RANSAC on the centroids of matched segments. It looks for a cluster of segments that all agree on a single 6DOF (six degrees of freedom) transformation between the current view and the map.
Fig. 2: Block diagram of SegMatch, a modular place recognition algorithm. The target map can either be loaded from disk (for localization) or computed online (for loop-closure).

Datasets

The algorithm was primarily evaluated using the KITTI odometry dataset (specifically sequences 00, 05, and 06), which contains Lidar scans from a car driving through urban and residential areas. To demonstrate modularity and generalizability, they also tested it on custom data collected in Zurich (Clausiusstrasse) using different segmentation parameters.

Key Insights and Ideas

  • Segments as the Atomic Unit: By matching segments (like the side of a van or a specific tree branch) rather than points, the system significantly compresses the data. This reduces matching time and, more importantly, reduces the "noise" that leads to false positives.
  • Learning the Metric: The move from simple Euclidean distance (L2) to a Random Forest classifier is a major win. As shown in the ROC curves, the learned approach (RF_eigen+shapes) provides a much higher true-positive rate for a given false-positive rate.
  • Robustness to Imperfection: SegMatch doesn't need a library of known objects. It works just as well on "meaningless" geometric blobs as it does on recognizable cars or buildings, provided the segmentation is somewhat consistent across visits.
Fig. 4: Corresponding segments successfully detected by the SegMatch algorithm. The top and bottom rows illustrate segments from the target and the source clouds respectively.

Key Results

  • Reliability: In tests on KITTI sequence 00, the Random Forest strategies achieved zero false localizations over 90 runs, whereas the L2 and keypoint baselines produced several.
  • Efficiency: The system can localize within 35 meters 95% of the time. It operates at roughly 1Hz, which is sufficient for real-time operation on most robotic platforms.
  • Performance vs. Baselines: SegMatch significantly outperformed keypoint-based methods (like FPFH), which struggled to find enough true matches without also accepting a high number of false positives.
Fig. 5: Probability of travelling a given distance before localizing in the target segment map. Data is obtained from 90 localization runs for each strategy on drive 00 of the KITTI dataset. Over these 90 runs, the keypoint and L2 strategies respectively detected 292 and 14 false localizations while RF_eigen and RF_eigen+shapes made no false detections.

Limitations and Future Work

While SegMatch is robust, it still relies on the consistency of the segmentation algorithm. If a scene is segmented very differently during a revisit (e.g., due to extreme occlusion), matching will fail.

The authors suggest two main paths forward:

  1. Semantic Interpretation: Using the extracted segments not just for matching, but to actually classify the environment (e.g., "this segment is a tree," "this is a building").
  2. Parallelization: The current pipeline takes ~740ms to ~1200ms per cycle; the authors note that many modules (like feature extraction) are prime candidates for parallel processing to further boost speed.

Summary updated

BibTeX
@misc{dube2016segmatch,
  author = {Renaud Dubé and Daniel Dugas and Elena Stumm and Juan Nieto and Roland Siegwart and Cesar Cadena},
  title = {{SegMatch: Segment based loop-closure for 3D point clouds}},
  year = {2016},
  eprint = {1609.07720},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1609.07720},
}
Figure