Skip to main content
QUICK REVIEW

[Paper Review] Data-Efficient Large Scale Place Recognition With Graded Similarity Supervision

Maria Leyva-Vallina, Nicola Strisciuglio|arXiv (Cornell University)|Mar 11, 2021
Advanced Image and Video Retrieval TechniquesComputer Science59 references12 citations
TL;DR

This paper proposes a Generalized Contrastive Loss (GCL) function that uses continuous, graded similarity labels instead of binary similarity for training siamese CNNs in visual place recognition. By re-annotating MSLS, TB-Places, and 7Scenes with continuous similarity scores via GPS, pose, and 3D reconstruction, the authors show that GCL-trained models outperform binary counterparts and state-of-the-art methods like NetVLAD and Patch-NetVLAD, achieving a top-5 recall of 76.2% on MSLS and eliminating the need for complex hard-negative mining.

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.

Motivation & Objective

  • To address the limitation of binary similarity labeling in visual place recognition, which fails to capture partial or continuous similarity between images.
  • To develop a generalized contrastive loss function that leverages continuous similarity scores for improved embedding space learning.
  • To automatically re-annotate existing datasets (MSLS, TB-Places, 7Scenes) with graded similarity labels using geometric and 3D reconstruction data.
  • To train siamese CNNs with GCL that generalize well across diverse benchmarks without complex mining strategies.
  • To demonstrate that continuous supervision and GCL lead to higher performance and more efficient training than binary contrastive learning.

Proposed method

  • Proposes a Generalized Contrastive Loss (GCL) function that penalizes embedding distances proportionally to the degree of image similarity, rather than treating similarity as binary.
  • Develops three automatic labeling strategies: Weak 2D FoV overlap (using GPS and compass), Strong 2D FoV overlap (using 6DOF pose), and 3D FoV overlap (using 3D reconstruction).
  • Applies the GCL function to train siamese networks with a fully convolutional backbone and GeM or average pooling for global embedding.
  • Uses PCA whitening and dimensionality reduction to enhance generalization and performance of learned descriptors.
  • Trains models with a simple batch balance strategy—equal numbers of positive and negative pairs—avoiding hard-negative mining.
  • Deploys models on MSLS, Pittsburgh30k, Tokyo24/7, RobotCar Seasons v2, and Extended CMU Seasons for evaluation.

Experimental results

Research questions

  • RQ1Can continuous similarity supervision improve the performance of siamese networks in visual place recognition compared to binary supervision?
  • RQ2Does the proposed Generalized Contrastive Loss (GCL) function enable better generalization across diverse datasets without hard-negative mining?
  • RQ3How effective are automatic, geometry-based methods for estimating graded similarity between image pairs in large-scale datasets?
  • RQ4To what extent does PCA whitening improve the performance and generalization of learned image embeddings?
  • RQ5Can GCL-based models outperform state-of-the-art methods like NetVLAD and Patch-NetVLAD in top-5 recall and training efficiency?

Key findings

  • The ResNeXt-GeM-GCL model achieved a top-5 recall of 76.2% on the MSLS validation set, outperforming NetVLAD (58.8%), NetVLAD-SARE (44.3%), AP-GeM (44.5%), and Patch-NetVLAD (57.6%).
  • The GCL-based models achieved up to 18% higher top-5 recall than their binary contrastive loss counterparts on MSLS, TB-Places, and 7Scenes.
  • Training with GCL required only one epoch on MSLS, while NetVLAD-16 and NetVLAD-64 required 22 and 7 epochs respectively, reducing training time significantly.
  • PCA whitening improved performance by up to 28.2% on Tokyo24/7 and 12.8% on MSLS validation, even when reducing descriptor dimensionality to 128 or 256.
  • The ResNeXt-GeM-GCL model maintained strong performance at 256 dimensions, and VGG16-GeM-GCL reached peak top-5 recall at 256 dimensions.
  • The models generalized well to Pittsburgh30k, Tokyo24/7, RobotCar Seasons v2, and Extended CMU Seasons, demonstrating robustness to viewpoint, lighting, and seasonal variations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.