SOTAVerified

Pair-VPR: Place-Aware Pre-training and Contrastive Pair Classification for Visual Place Recognition with Vision Transformers

2024-10-09Code Available2· sign in to hype

Stephen Hausler, Peyman Moghadam

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

In this work we propose a novel joint training method for Visual Place Recognition (VPR), which simultaneously learns a global descriptor and a pair classifier for re-ranking. The pair classifier can predict whether a given pair of images are from the same place or not. The network only comprises Vision Transformer components for both the encoder and the pair classifier, and both components are trained using their respective class tokens. In existing VPR methods, typically the network is initialized using pre-trained weights from a generic image dataset such as ImageNet. In this work we propose an alternative pre-training strategy, by using Siamese Masked Image Modelling as a pre-training task. We propose a Place-aware image sampling procedure from a collection of large VPR datasets for pre-training our model, to learn visual features tuned specifically for VPR. By re-using the Mask Image Modelling encoder and decoder weights in the second stage of training, Pair-VPR can achieve state-of-the-art VPR performance across five benchmark datasets with a ViT-B encoder, along with further improvements in localization recall with larger encoders. The Pair-VPR website is: https://csiro-robotics.github.io/Pair-VPR.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
Mapillary testPair-VPR-pRecall@181.7Unverified
Mapillary testPair-VPR-sRecall@179Unverified
Mapillary valPair-VPR-pRecall@195.4Unverified
Mapillary valPair-VPR-sRecall@193.7Unverified
Pittsburgh-30k-testPair-VPR-pRecall@195.4Unverified
Pittsburgh-30k-testPair-VPR-sRecall@194.7Unverified
Tokyo247Pair-VPR-pRecall@1100Unverified
Tokyo247Pair-VPR-sRecall@198.1Unverified

Reproductions