Lune

NeurIPS2020Top-tier venue

Soft Contrastive Learning for Visual Localization

Janine Thoma, Danda Pani Paudel, Luc Van Gool

Abstract

Localization by image retrieval is inexpensive and scalable due to its simple mapping and matching techniques. The localization accuracy, however, depends on the quality of the underlying image features, often obtained using contrastive learning. Most contrastive learning strategies learn features that distinguish between different classes. In the context of localization, however, there is no natural definition of classes. Therefore, images are artificially separated into positive/negative classes with respect to the chosen anchor images, based on some geometric proximity measure. In this paper, we show why such divisions are problematic for learning localization features. We argue that any artificial division based on a proximity measure is undesirable due to the inherently ambiguous supervision for images near the proximity threshold. To avoid this problem, we propose a novel technique that uses soft positive/negative assignments of images for contrastive learning. Our soft assignment makes a gradual distinction between close and far images in both geometric and feature space. Experiments on four large-scale benchmark datasets demonstrate the superiority of our soft contrastive learning over the state-of-the-art method for retrieval-based visual localization.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Simple Framework for Contrastive Learning of Visual Representations cites Momentum Contrast for Unsupervised Visual Representation Learning
  • Momentum Contrast for Unsupervised Visual Representation Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Soft Contrastive Learning for Time Series cites A Simple Framework for Contrastive Learning of Visual Representations
  • Contrastive Learning of Global and Local Video Representations cites A Simple Framework for Contrastive Learning of Visual Representations
  • Contrastive Learning of Global and Local Video Representations cites Supervised Contrastive Learning
  • Contrastive Learning of Global and Local Video Representations cites Momentum Contrast for Unsupervised Visual Representation Learning
  • Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Supervised Contrastive Learning cites Momentum Contrast for Unsupervised Visual Representation Learning
  • Democracy Does Matter: Comprehensive Feature Mining for Co-Salient Object Detection cites A Simple Framework for Contrastive Learning of Visual Representations
  • Democracy Does Matter: Comprehensive Feature Mining for Co-Salient Object Detection cites Momentum Contrast for Unsupervised Visual Representation Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Democracy Does Matter: Comprehensive Feature Mining for Co-Salient Object DetectionSiyue Yu, Jimin Xiao, Bingfeng Zhang, Eng Gee LimCVPR 2022 · 76 citations
  2. Soft Contrastive Learning for Time SeriesSeunghan Lee, Taeyoung Park, Kibok LeeICLR 2024 · 63 citations
  3. Contrastive Learning of Global and Local Video RepresentationsShuang Ma, Zhaoyang Zeng, Daniel McDuff, Yale SongNeurIPS 2021 · 45 citations
  4. SuperVLAD: Compact and Robust Image Descriptors for Visual Place RecognitionFeng Lu, Xinyao Zhang, Canming Ye, Shuting Dong et al.NeurIPS 2024 · 24 citations
  5. Deep Declarative Dynamic Time Warping for End-to-End Learning of Alignment PathsMing Xu, Sourav Garg, Michael Milford, Stephen GouldICLR 2023 · 3 citations

Builds on5

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
  3. SoftTriple Loss: Deep Metric Learning Without Triplet SamplingQi Qian, Lei Shang, Baigui Sun, Juhua Hu et al.ICCV 2019 · 419 citations
  4. Deep Metric Learning With Tuplet Margin LossBaosheng Yu, Dacheng TaoICCV 2019 · 104 citations
  5. Momentum Contrast for Unsupervised Visual Representation LearningKaiming He, Haoqi Fan, Yuxin Wu, Saining Xie et al.CVPR 2020

Related papers

  1. Data-Efficient Large Scale Place Recognition with Graded Similarity SupervisionMaria Leyva-Vallina, Nicola Strisciuglio, Nicolai PetkovCVPR 2023
  2. Text to Point Cloud Localization with Multi-Level Negative Contrastive LearningDunqiang Liu, Shujun Huang, Wen Li, Siqi Shen et al.AAAI 2025 · 7 citations
  3. From Coarse to Fine: A Matching and Alignment Framework for Unsupervised Cross-View Geo-LocalizationXueyi Wang, Lele Zhang, Zheng Fan, Yang Liu et al.AAAI 2025 · 12 citations
  4. Rethinking Visual Geo-localization for Large-Scale ApplicationsGabriele Moreno Berton, Carlo Masone, Barbara CaputoCVPR 2022 · 235 citations
  5. HierLoc: Hyperbolic Entity Embeddings for Hierarchical Visual GeolocationHari Krishna Gadi, Daniel Matos, Hongyi Luo, Lu Liu et al.ICLR 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines