MILD: Multi-index hashing for appearance based loop closure detection

Lei Han, Lu Fang

TL;DR

This paper introduces MILD, a novel real-time approach for Loop Closure Detection (LCD) that leverages Multi-Index Hashing (MIH) to efficiently and accurately match image features. By approximating image similarity directly through feature matching with MIH, MILD achieves competitive accuracy with state-of-the-art methods while significantly improving computational efficiency, making it suitable for real-time robotic applications.

What Problem Does This Paper Address?

Robots operating in dynamic environments, especially those using Simultaneous Localization and Mapping (SLAM), need to recognize previously visited locations to maintain accurate maps and avoid accumulating errors. This is known as Loop Closure Detection (LCD). While methods using "Bag of Words" (BoW) representations of visual features have been popular for their efficiency, they often struggle with low recall. This is partly because binary features, which are computationally cheaper than traditional real-valued features like SIFT, lack well-defined "centroids" in their high-dimensional space, making them difficult to cluster effectively. Existing binary feature-based LCD methods are fast but often sacrifice accuracy. This paper aims to bridge this gap by developing an LCD system that is both fast and accurate, even when using binary features.

Methods

The core of MILD is the use of Multi-Index Hashing (MIH) for approximate image similarity measurement. Instead of relying on BoW representations, MILD directly compares binary local features extracted from images. MIH works by dividing each long binary feature descriptor into multiple shorter substrings. These substrings are then used as indices into multiple hash tables. The key idea is that if two features have a small Hamming distance (i.e., are similar), they are likely to fall into the same entry in at least one of the hash tables. This allows for a probabilistic approximation of feature similarity without the need for exact nearest neighbor searches or explicit clustering.

The paper also incorporates a Bayesian inference framework to handle the detection of multiple loop closures and to refine the decision-making process based on temporal coherency of camera movement. This framework models the probability of a loop closure event and uses the approximated image similarity scores as likelihoods.

Datasets

The paper evaluates MILD on several publicly available datasets:

  • NewCollege Dataset: Contains 1073 images.
  • CityCentre Dataset: Contains 1237 images.
  • Lip6Indoor Dataset: Contains 388 images.
  • Lip6Outdoor Dataset: Contains 1063 images.

These datasets are used for comparing MILD's performance against existing state-of-the-art methods.

Key Insights and Ideas

  • MIH for Approximate Similarity: The paper demonstrates that MIH can effectively approximate image similarity by directly matching features, bypassing the limitations of BoW and the computational cost of exact nearest neighbor search. This is a significant departure from traditional BoW approaches.
  • Probabilistic Trade-off Analysis: A theoretical analysis reveals the probabilistic trade-off between accuracy and computational complexity in MIH. This understanding allows for the selection of optimal parameters (like the number of hash tables) to balance these factors.
  • Real-time Performance with Binary Features: MILD successfully leverages the efficiency of binary features (specifically ORB) to achieve real-time performance, a feat that has been challenging for accurate LCD methods.
  • Handling Multiple Loop Closures: The Bayesian inference framework is extended to explicitly handle the detection of multiple loop closures, a capability not always present in prior work.

Key Results

  • Accuracy: MILD achieves competitive accuracy, comparable to methods using more computationally expensive SIFT/SURF features, and significantly outperforms other binary feature-based methods. For instance, on the NewCollege dataset, MILD achieves 83% recall at 100% precision, while BOBW [7] achieves only 38%.
  • Efficiency: MILD demonstrates remarkable speed. It can perform loop closure detection within 15 ms for a database of over 1000 images, making it suitable for real-time applications. This is a substantial improvement over methods like RTABMAP [6], which takes around 700ms per frame.
  • Memory Footprint: The memory requirement for MILD is deemed acceptable for modern mobile devices, with an estimated 84 MB for the NewCollege dataset.

Limitations and Future Work

  • Assumption of Uniform Distribution: The theoretical analysis of MIH assumes a uniform distribution of binary codes. In practice, many features might fall into the same hash table entry, which are currently discarded for efficiency. The authors suggest that considering prior knowledge about non-uniform feature distributions could further improve MILD.
  • Future Work: The authors propose exploring prior knowledge on non-uniform feature distributions to enhance MILD. They also suggest that MILD's application could be extended to other areas beyond loop closure detection, such as approximate nearest neighbor search.

Summary updated

BibTeX
@inproceedings{han2017mild,
  author = {Lei Han and Lu Fang},
  title = {{MILD: Multi-index hashing for appearance based loop closure detection}},
  booktitle = {ICME},
  year = {2017},
  url = {https://openreview.net/forum?id=aOaRuHDG8c},
}
Figure