Fast and Incremental Loop Closure Detection Using Proximity Graphs

Shan An, Guangfu Che, Fangru Zhou, Xianglong Liu, Xin Ma, Yu Chen

Abstract

Loop Closure Detection (LCD) is a critical component of Simultaneous Localization and Mapping (SLAM), enabling mobile robots to recognize previously visited locations. Traditional Bag-of-Words (BoW) approaches often suffer from rigidity due to pre-trained vocabularies and high computational overhead during incremental updates. This paper introduces FILD (Fast and Incremental Loop closure Detection), a framework that utilizes CNN-based global features and Hierarchical Navigable Small World (HNSW) proximity graphs for efficient, real-time LCD. By incorporating a memory-efficient binary ratio test for geometric verification, FILD achieves high recall at 100% precision while operating significantly faster than state-of-the-art methods.

Introduction

In SLAM, the ability to detect loop closures is essentially an image retrieval problem: determining if the current camera view matches any previously recorded location. Conventional methods typically rely on BoW models, which require an offline-trained visual dictionary. This dependency often limits generalization to new environments and introduces significant memory and processing bottlenecks as the map grows. FILD addresses these challenges by replacing the rigid visual vocabulary with a dynamic proximity graph and optimizing the geometric verification process.

The FILD Framework

The FILD pipeline is designed for speed and incremental scalability, consisting of three primary stages: feature extraction, candidate generation, and geometrical verification.

The FILD pipeline architecture, illustrating feature extraction, HNSW-based candidate generation, and binary geometrical verification.

Feature Extraction and Indexing

The system utilizes a lightweight MobileNetV2 CNN to extract global features and SURF for local features. To optimize inference, batch normalization layers are fused into convolutional layers. Instead of a standard tree-based search, FILD employs Hierarchical Navigable Small World (HNSW) graphs. This proximity graph structure allows for logarithmic scaling when adding new images to the robot's memory on-the-fly, ensuring search speeds remain high even in large-scale environments.

Binary Geometrical Verification

A key innovation in FILD is the use of CasHash to convert high-dimensional SURF descriptors into binary hash codes. This allows the system to perform a binary ratio test using Hamming distance rather than Euclidean distance. This optimization reduces the memory footprint of local features by approximately 97% (from 128 floats to 128 bits), drastically lowering the computational cost of confirming matches.

Experimental Results

The researchers evaluated FILD on several standard benchmarks, including KITTI 00/05 and the New College dataset.

Speed and Scalability

On the New College dataset, which contains over 52,000 images, FILD processed queries in approximately 50ms (20Hz), outperforming leading competitors by up to six times. The efficiency of the HNSW graph construction and search is a primary driver of this performance.

Graph construction and search time performance relative to parameter M, demonstrating the system's efficient scaling.

Precision and Recall

FILD maintained 100% precision across all tested datasets, ensuring zero false positives—a requirement for stable SLAM. It achieved high recall rates, reaching ~91% on KITTI 00 and ~90% on New College. Furthermore, the binary hashing approach resulted in a 32% reduction in total memory usage compared to systems storing full floating-point descriptors.

Conclusion

FILD provides a robust and efficient solution for real-time loop closure detection in mobile robotics. By moving away from pre-trained visual vocabularies in favor of proximity graphs and binary verification, the framework achieves a superior balance of speed, memory efficiency, and precision. Future work will explore more specialized CNN models and hardware-level optimizations to further enhance recall and performance.

Summary updated

BibTeX
@inproceedings{an2019fast,
  author = {Shan An and Guangfu Che and Fangru Zhou and Xianglong Liu and Xin Ma and Yu Chen},
  title = {{Fast and Incremental Loop Closure Detection Using Proximity Graphs}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=_DaLvj7bXj},
}
Figure