FAB-MAP: Appearance-Based Place Recognition and Mapping using a Learned Visual Vocabulary Model

Mark Joseph Cummins, Paul M. NewmanICML 2010

TL;DR

FAB-MAP (Fast Appearance-Based Mapping) is a probabilistic framework that allows mobile robots to recognize previously visited locations using only camera imagery. By modeling the correlations between visual features rather than treating them as independent, the system achieves high-precision "loop closure" detection across trajectories as long as 1,000 km with millisecond-level processing times.

What Problem Does This Paper Address?

In mobile robotics, Simultaneous Localization and Mapping (SLAM) is the bread and butter of navigation. However, traditional "metric SLAM"—which tracks a robot's precise (x, y, z) coordinates and local landmarks—struggles at large scales. As a robot travels, small measurement errors accumulate, causing the map to drift.

The critical challenge is the loop closure problem: when a robot returns to a previously seen area after a long journey, can it recognize where it is and "snap" its map back into alignment? This is difficult because of two main factors:

  1. Perceptual Variability: The same place looks different due to lighting, weather, or moving objects (e.g., a person walking or a car parked in a different spot).
  2. Perceptual Aliasing: Different places look identical (e.g., two different stretches of a repetitive brick wall or a uniform forest path).
Perceptual challenges: (a) variability and (b) aliasing

Methods

FAB-MAP moves away from metric coordinates and instead navigates purely in "appearance space."

  • Visual Vocabulary: The system uses a "bag-of-words" approach. It extracts SURF (Speeded Up Robust Features) from images and quantizes them into a "vocabulary" of visual words.
  • Chow Liu Tree: This is the paper's core innovation. Standard models (like Naive Bayes) assume visual words appear independently. FAB-MAP uses a Chow Liu tree to learn the joint distribution of these words. It captures the fact that certain features (like a car wheel and a car door) are likely to appear together. This allows the system to realize that seeing a common feature (like a brick) is less informative than seeing a rare, distinctive combination of features.
  • Recursive Bayesian Filtering: The system maintains a probability distribution over all known locations. Every time the robot sees a new image, it updates this distribution, deciding whether it is at a known location or a brand-new one.
  • Efficiency Hacks: To handle thousands of kilometers, the authors implemented an inverted index (similar to a search engine) and a probabilistic bail-out test. The bail-out test uses concentration inequalities to quickly discard unlikely location matches, resulting in a 25-50x speedup.
Visual features extracted for appearance-based matching

Datasets

The authors evaluated FAB-MAP on several challenging datasets:

  • New College (Oxford): A 2 km trajectory used for initial benchmarking.
  • 70 km Urban Dataset: A large-scale test in a city environment.
  • 1,000 km Trajectory: A massive dataset used to demonstrate the system's scalability and robustness over extreme distances.
  • Training Data: The visual vocabulary and Chow Liu tree were often trained on independent data, such as images from Google Street View, to show the model generalizes well to new environments.

Key Insights and Ideas

  • Correlation is Key: Modeling the dependencies between visual features is significantly more effective than standard tf-idf ranking. It prevents the system from being "fooled" by repetitive, non-distinctive textures.
  • Probabilistic "New Place" Detection: Unlike standard image retrieval, FAB-MAP explicitly calculates the probability that the current view comes from a place not yet in the map. This is essential for autonomous exploration.
  • Distinctiveness over Similarity: A match isn't just about how many features two images share; it's about how rare those shared features are. FAB-MAP can correctly identify a match even if only 8% of the visual words are the same, provided those words are highly unique.

Key Results

  • Speed: The system achieved a mean filter update time of just 14 ms on the 1,000 km trajectory.
  • Robustness: FAB-MAP successfully identified loop closures even with significant scene changes (e.g., different people or vehicles in the frame).
  • Precision: In repetitive environments (like brick walls), the system correctly assigned near-zero probability to false matches, whereas simpler models would have failed due to perceptual aliasing.

Limitations and Future Work

While FAB-MAP is highly successful, the authors note that the 1,000 km experiment is "not fully solved." At such extreme scales, even very low false-positive rates can eventually lead to errors.

The current system is "appearance-only." A promising direction mentioned is the integration of appearance-based recognition with metric or topological constraints to create even more robust navigation systems. Additionally, while the system handles some scene change, extreme seasonal variations (e.g., summer vs. winter) remain a challenge for most visual-only SLAM systems.

Summary updated

BibTeX
@inproceedings{cummins2010fab,
  author = {Mark Joseph Cummins and Paul M. Newman},
  title = {{FAB-MAP: Appearance-Based Place Recognition and Mapping using a Learned Visual Vocabulary Model}},
  booktitle = {International Conference on Machine Learning},
  year = {2010},
}
Figure