Abstract
We propose a data structure obtained by hierarchically pooling Bag-of-Words (BoW) descriptors during a sequence of views. This approach achieves average speedups in large-scale loop closure applications ranging from 2 to 20 times on benchmark datasets. Although simple, the method works as well as sophisticated agglomerative schemes at a fraction of the cost with minimal loss of performance.
Introduction
In vision-based navigation and Simultaneous Localization and Mapping (SLAM), loop closure is critical for correcting the cumulative drift in a robot's estimated trajectory. By recognizing a previously visited location, the system can anchor its map and maintain global consistency. However, as environments scale to tens or hundreds of kilometers, comparing a new query image against a database of hundreds of thousands of previous views becomes a significant computational bottleneck. While Bag-of-Words (BoW) inverted indexes are standard, they often struggle to maintain real-time performance in massive datasets.
Methodology: Hierarchical Pooling
The proposed method builds a tree-based hierarchy on top of standard BoW descriptors. Unlike traditional flat inverted indexes, this structure leverages the temporal and spatial topology inherent in navigation data.
Construction and Search
- Hierarchy Construction: Individual image histograms (leaf nodes) are grouped based on temporal proximity. Parent nodes are created by pooling (aggregating) the histograms of their children.
- Pooling Strategies: Three strategies were evaluated: Mean-pooling (averaging), Sum-pooling (addition), and Max-pooling (element-wise maximum).
- Greedy Search and Pruning: During a query, the system traverses the tree from the root. If a query image does not meet a similarity threshold with a parent node (using the intersection kernel), the entire sub-tree is pruned.
Sum and Max pooling are particularly effective because they provide a mathematical upper bound on the similarity of their children, ensuring that the pruning process does not miss any matches that would have been found in a linear search.
Key Results
The method was evaluated on diverse datasets, including KITTI, Oxford City Centre, and TUM RGB-D.
Performance and Scalability
The hierarchical approach achieved speedups between 2x and 20x. When integrated into ORB-SLAM, it reduced mean query times by 65% without any degradation in localization accuracy. As shown in the scaling analysis, while query time still increases with database size, the rate of increase is significantly lower than the baseline, making it highly suitable for long-term autonomy.
Precision and Recall
For Sum and Max pooling, the precision-recall curves remained identical to the baseline. This confirms that the computational gains do not come at the expense of retrieval quality. The system's simplicity—using a fixed tree structure—allows it to perform nearly as well as complex adaptive clustering schemes at a fraction of the implementation cost.
Conclusion
By exploiting the natural topology of navigation data through simple hierarchical pooling, we provide a scalable solution for the loop closure problem. The simplicity of the fixed tree structure makes it easy to implement and integrate into existing SLAM pipelines, offering a robust path forward for large-scale robotic mapping.
Summary updated