Data-Efficient Large Scale Place Recognition with Graded Similarity Supervision

María Leyva-Vallina, N. Strisciuglio, N. Petkov
2/14/2026

No official code found. Best implementation: marialeyvallina/generalized_contrastive_loss (90 stars, MIT, last commit 2023-06-14).

Abstract

Visual place recognition (VPR) is a fundamental task of computer vision for visual localization. Existing methods are trained using image pairs that either depict the same place or not. Such a binary indication does not consider continuous relations of similarity between images of the same place taken from different positions, determined by the continuous nature of camera pose. The binary similarity induces a noisy supervision signal into the training of VPR methods, which stall in local minima and require expensive hard mining algorithms to guarantee convergence. Motivated by the fact that two images of the same place only partially share visual cues due to camera pose differences, we deploy an automatic re-annotation strategy to re-label VPR datasets. We compute graded similarity labels for image pairs based on available localization metadata. Furthermore, we propose a new Generalized Contrastive Loss (GCL) that uses graded similarity labels for training contrastive networks. We demonstrate that the use of the new labels and GCL allow to dispense from hard-pair mining, and to train image descriptors that perform better in VPR by nearest neighbor search, obtaining superior or comparable results than methods that require expensive hard-pair mining and re-ranking techniques.

View on arXivView PDF

Code Implementations(1)

MIT
9014Shell, PythonFeb 12, 20213 years agoMIT

Similar Papers

Cite this paper

@article{leyvavallina2026dataefficient,
  title  = {Data-Efficient Large Scale Place Recognition with Graded Similarity Supervision},
  author = {María Leyva-Vallina and N. Strisciuglio and N. Petkov},
  year   = {2026},
  eprint = {2303.11739},
  archivePrefix = {arXiv},
  url    = {https://pure.rug.nl/ws/files/918539465/Data-Efficient_Large_Scale_Place_Recognition_with_Graded_Similarity_Supervision.pdf},
  journal = {CVPR 2023 2023}
}

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/2303.11739.svg)](https://codeofpaper.com/paper/2303.11739)

Discussion