Towards Seamless Adaptation of Pre-trained Models for Visual Place Recognition

Feng Lu, Lijun Zhang, Xiangyuan Lan, Shuting Dong, Yaowei Wang +1 more
2/12/2026

No official code found. Best implementation: Lu-Feng/SelaVPR (267 stars, MIT, last commit 2026-02-04).

Abstract

Recent studies show that vision models pre-trained in generic visual learning tasks with large-scale data can provide useful feature representations for a wide range of visual perception problems. However, few attempts have been made to exploit pre-trained foundation models in visual place recognition (VPR). Due to the inherent difference in training objectives and data between the tasks of model pre-training and VPR, how to bridge the gap and fully unleash the capability of pre-trained models for VPR is still a key issue to address. To this end, we propose a novel method to realize seamless adaptation of pre-trained models for VPR. Specifically, to obtain both global and local features that focus on salient landmarks for discriminating places, we design a hybrid adaptation method to achieve both global and local adaptation efficiently, in which only lightweight adapters are tuned without adjusting the pre-trained model. Besides, to guide effective adaptation, we propose a mutual nearest neighbor local feature loss, which ensures proper dense local features are produced for local matching and avoids time-consuming spatial verification in re-ranking. Experimental results show that our method outperforms the state-of-the-art methods with less training data and training time, and uses about only 3% retrieval runtime of the two-stage VPR methods with RANSAC-based spatial verification. It ranks 1st on the MSLS challenge leaderboard (at the time of submission). The code is released at https://github.com/Lu-Feng/SelaVPR.

View on arXivView PDF

Code Implementations(1)

Lu-Feng/SelaVPRCommunity100%
MIT

Official repository for the ICLR 2024 paper "Towards Seamless Adaptation of Pre-trained Models for Visual Place Recognition".

26720PythonJan 22, 20248 months agoMIT
adapterimage-localizationloop-closure-detectionrelocalizationvisual-geolocalization+2 more

Similar Papers

Cite this paper

@article{lu2026towards,
  title  = {Towards Seamless Adaptation of Pre-trained Models for Visual Place Recognition},
  author = {Feng Lu and Lijun Zhang and Xiangyuan Lan and Shuting Dong and Yaowei Wang and Chun Yuan},
  year   = {2026},
  eprint = {2402.14505},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.14505},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.14505.svg)](https://codeofpaper.com/paper/2402.14505)

Discussion