MutualVPR: A Mutual Learning Framework for Resolving Supervision Inconsistencies via Adaptive Clustering

Qiwen Gu, Xufei Wang, Junqiao Zhao, Siyue Tao, Tiantian Feng, Ziqiao Wang, Guang Chen

TL;DR

MutualVPR introduces a mutual learning framework that resolves supervision inconsistencies in Visual Place Recognition (VPR) by co-evolving image descriptors and place labels. By using adaptive clustering instead of rigid GPS or orientation labels, the model learns to group images based on visual semantics, achieving state-of-the-art performance—particularly in challenging, occluded environments.

The Problem: Supervision Inconsistency

Visual Place Recognition (VPR) is essentially a massive image retrieval task: given a query photo, find its match in a database of geo-tagged images to determine where you are. The standard approach is to treat this as a classification problem, where images from the same geographic "grid" are assigned the same label.

However, this leads to supervision inconsistency. Imagine standing at a street corner: if you look North, you see a skyscraper; if you look South, you see a park. Traditional models tell the neural network that these two vastly different images are the "same place." This conflicting signal confuses the feature extractor. While some methods try to fix this using orientation labels (e.g., "North-facing") or handcrafted cropping rules, they often fail when buildings, trees, or vehicles (occlusions) block the view, creating visual differences that labels alone can't explain.

Comparison of VPR supervision strategies. MutualVPR (right) uses adaptive clustering to handle viewpoint variations and occlusions better than traditional methods.

The MutualVPR Approach

The authors propose MutualVPR, a framework where feature learning and label assignment happen simultaneously and inform one another.

  1. Feature Encoder: The system uses a DINOv2 backbone equipped with a MulConv adapter. This adapter uses parallel convolutional branches with different receptive fields to capture multi-scale features, helping the model handle objects of varying sizes (like a distant monument vs. a nearby parked car).
  2. Adaptive Clustering: Instead of relying on fixed orientation labels, MutualVPR performs iterative K-means clustering within each geographic (UTM) grid.
  3. Mutual Learning (Co-evolution): This is the core innovation. The process happens in two stages:
  4. Stage 1: The current clusters act as "pseudo-labels" to supervise the training of the feature encoder using a Large Margin Cosine Loss (LMCL).
  5. Stage 2: The improved features from the encoder are then used to re-cluster the images more accurately.

By iterating this cycle, the model progressively separates images of the same location that look different and groups those that look similar, even if they were captured from slightly different angles or contain partial occlusions.

Key Insights and Results

The core insight of MutualVPR is that visual semantics are a more reliable supervisor than raw GPS or orientation metadata. By letting the model decide which images "belong together" through clustering, it naturally handles occlusions that manual labels would miss. Unlike rigid classification that creates artificial gaps between adjacent views, MutualVPR brings semantically similar views closer in the embedding space.

t-SNE visualizations showing how MutualVPR creates tighter, more semantically meaningful clusters compared to CosPlace and EigenPlaces, effectively handling view variations and occlusions.

The model was trained primarily on SF-XL (San Francisco eXtra Large) and evaluated across standard benchmarks (Pitts30k, Tokyo 24/7) and a custom robustness set, SF-XL-Occlusion.

  • Occlusion Robustness: On SF-XL-Occlusion, MutualVPR achieved 47.4% Recall@1, significantly outperforming the previous best classification-based method, EigenPlaces (36.8%), and the popular CosPlace (32.9%).
  • Generalization: It showed strong performance on Tokyo 24/7 (92.4% R@1) and Pitts30k (90.9% R@1), proving that the adaptive clustering doesn't just help with occlusions but improves general viewpoint invariance.
  • Efficiency: By using a DINOv2-ViT-B backbone with a small adapter, the model remains efficient for single-query inference without needing complex batch-level interactions.

Limitations and Future Work

The primary bottleneck identified by the authors is the fixed cluster number ($K$). Currently, the model assumes every geographic location has exactly $K$ distinct "views." In reality, a wide-open square might only have one distinct view, while a complex intersection might have many more.

Future work will likely focus on developing methods to automatically determine the optimal number of clusters for each location based on visual complexity, and further refining the synergy between classification and representation learning to prevent "collapsed" solutions.

Summary updated

BibTeX
@inproceedings{gu2025mutualvpr,
  author = {Qiwen Gu and Xufei Wang and Junqiao Zhao and Siyue Tao and Tiantian Feng and Ziqiao Wang and Guang Chen},
  title = {{MutualVPR: A Mutual Learning Framework for Resolving Supervision Inconsistencies via Adaptive Clustering}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Jugw5alhnF},
}
Figure