VIPeR: Visual Incremental Place Recognition With Adaptive Mining and Continual Learning

Yuhang Ming, Minyang Xu, Xingrui Yang, Weicai Ye, Weihan Wang, Yong Peng, Weichen Dai, Wanzeng Kong

TL;DR

This paper introduces VIPeR, a novel approach to visual place recognition (VPR) that tackles the challenge of adapting to new environments without forgetting previously learned locations. VIPeR achieves this through an adaptive mining strategy for training, a multi-stage memory bank for retaining knowledge, and probabilistic knowledge distillation, outperforming existing methods on several large-scale datasets.

What Problem Does This Paper Address?

Autonomous systems like self-driving cars and robots rely heavily on visual place recognition (VPR) to know where they are. Traditional VPR methods often perform well in controlled environments but struggle significantly when deployed in new, unseen locations. This is because deep learning models trained on specific datasets tend to "forget" what they learned before when exposed to new data distributions, a phenomenon known as catastrophic forgetting. Collecting exhaustive data for all possible environments beforehand is often impractical. VIPeR aims to bridge this gap by enabling VPR systems to learn incrementally, adapting to new environments while preserving knowledge of previously visited places.

Methods

VIPeR introduces several key innovations to address continual learning in VPR:

  • Adaptive Mining Strategy: Instead of relying on random or strictly "hard" mining of training samples (which can lead to bias), VIPeR dynamically adjusts its mining strategy. It uses the fluctuation of the loss to determine the training difficulty, adaptively selecting positive and negative samples to balance performance within a single environment and generalizability across multiple environments.
  • Multi-stage Memory Bank: To combat catastrophic forgetting, VIPeR employs a novel memory bank with three components:
  • Sensory Memory: A FIFO queue for storing the most recent places, ensuring sensitivity to immediate environmental changes.
  • Working Memory: Stores places that "age out" of the sensory memory, with a probabilistic update mechanism to preserve older observations.
  • Long-term Memory: An environment-agnostic component that stores samples from all previously visited environments, ensuring stable knowledge retention.
  • Probabilistic Knowledge Distillation (PKD): Traditional knowledge distillation can be sensitive to outliers. VIPeR proposes a probabilistic version that uses Kullback-Leibler divergence to estimate the distribution of learned features from both the current and frozen models, providing a more robust way to transfer knowledge and prevent forgetting.

These components are integrated into a unified framework with an adaptive triplet loss for metric learning, a relational memory aware synapses (RMAS) loss for weight regularization, and the proposed PKD loss.

Datasets

VIPeR is evaluated on three large-scale, publicly available datasets:

  • Oxford RobotCar: A real-world autonomous driving dataset collected in Oxford, UK, featuring various weather and lighting conditions.
  • Nordland: A real-world dataset capturing cross-season data from a railway journey in Norway.
  • TartanAir: A photo-realistic synthetic dataset covering diverse environments, lighting, and weather conditions.

The paper also references other VPR methods and their evaluations on these or similar datasets.

Key Insights and Ideas

  • Adaptive Mining is Crucial: The paper demonstrates that simply using hard mining for VPR can lead to performance degradation in continual learning settings. An adaptive approach that balances difficulty is key to better generalization.
  • Memory Structure Matters: A simple queue is insufficient for effective continual learning. VIPeR's multi-stage memory bank, with its distinct roles for recent, aging, and long-term memories, significantly improves resilience to forgetting.
  • Probabilistic Distillation for Robustness: Moving from deterministic to probabilistic knowledge distillation helps the model better grasp underlying data distributions, which is vital for adapting to unseen environments without losing prior knowledge.
  • Foundation Models Need Continual Learning: Even with powerful foundation models like DINOv2, continual learning is essential for robust VPR, especially when dealing with diverse, real-world scenarios.

Key Results

VIPeR demonstrates superior performance across various metrics (Average Performance - AP, Backward Transfer - BWT, Forward Transfer - FWT) on all three datasets compared to baseline methods and recent continual learning VPR approaches like AirLoop and InCloud.

  • VIPeR achieved the biggest improvement of 13.85% in average performance.
  • It consistently outperformed naive finetuning, EWC, and SI methods, highlighting their inadequacy for continual VPR.
  • Even when using a standard VGG backbone, VIPeR showed strong results. When paired with the DINOv2 backbone, its cross-dataset performance not only matched but surpassed single-dataset results.
  • Ablation studies confirmed the significant contributions of the adaptive mining strategy, the multi-stage memory bank, and probabilistic knowledge distillation.

Limitations and Future Work

  • BWT Performance: While VIPeR excels in AP and FWT, its BWT (measuring forgetfulness) was not always the best. The authors argue this is an acceptable trade-off for better overall recognition performance.
  • Future Directions: The authors suggest extending VIPeR to handle other forms of single-modality input or cross-modality input, indicating potential for multimodal VPR systems.

Summary updated

BibTeX
@article{ming2025viper,
  author = {Yuhang Ming and Minyang Xu and Xingrui Yang and Weicai Ye and Weihan Wang and Yong Peng and Weichen Dai and Wanzeng Kong},
  title = {{VIPeR: Visual Incremental Place Recognition With Adaptive Mining and Continual Learning}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2025},
  url = {https://openreview.net/forum?id=4PZSjSCVpJ},
}
Figure