Camera relocalization relies on 3D models of the scene with a large memory footprint that is incompatible with the memory budget of several applications. One solution to reduce the scene memory size is map compression by removing certain 3D points and descriptor quantization. This achieves high compression but leads to performance drop due to information loss. To address the memory performance tradeoff, we train a light-weight scene-specific auto-encoder network that performs descriptor quantization-dequantization in an end-to-end differentiable manner updating both product quantization centroids and network parameters through back-propagation. In addition to optimizing the network for descriptor reconstruction, we encourage it to preserve the descriptor-matching performance with margin-based metric loss functions. Results show that for a local descriptor memory of only 1MB, the synergistic combination of the proposed network and map compression achieves the best performance on the Aachen Day-Night compared to existing compression methods.
In this work we use differentiable Product Quantization to perform memory-efficient camera relocalization. More specifically, a set of local image descriptors extracted from an image is fed into an encoder parameterized by the M codebooks that are used to obtain a quantized representation of the input vectors. The quantized descriptors are then passed into the scene-specific differentiable decoder that can recover the original descriptors that are susequently used in the localization pipeline. The encoder and decoder together represent a layer called D-PQED.
We compare localization performance of the proposed approach with state-of-the-art methods on the Aachen Day-Night, 7Scenes, and Cambridge Landmarks datasets.
The proposed method outperforms other map compression methods in terms of localization accuracy and memory budget. The best and second best results are marked with bold and underline. The map compression methods are highlighted in italic.
@inproceedings{Laskar2024dpqed,
author = {Laskar, Zakaria and Melekhov, Iaroslav and Benbihi, Assia and Wang, Shuzhe and Kannala, Juho},
title = {Differentiable Product Quantization for Memory Efficient Camera Relocalization},
journal = {European Conference on Computer Vision (ECCV)},
year = {2024},
}