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 · DOI

TL;DR

VIPeR introduces a novel continual learning framework for Visual Place Recognition (VPR) that allows autonomous systems to adapt to new environments sequentially without forgetting previously visited ones. By combining a dynamic adaptive triplet mining strategy, a human-inspired multi-stage memory bank, and probabilistic knowledge distillation, VIPeR achieves up to a 13.85% improvement in average performance over existing state-of-the-art methods.

What Problem Does This Paper Address?

Visual Place Recognition (VPR) is the backbone of robot localization and SLAM systems, enabling an agent to determine if it has visited a location before based purely on visual data. While deep learning-based VPR methods excel in static settings, they rely heavily on the assumption that training and testing data share the same distribution (i.i.d.).

When deployed in the real world, autonomous robots encounter drastically changing environments (e.g., transitioning from sunny streets to night scenes, or from urban roads to snowy railways). Collecting all this data beforehand for pre-training is impossible. However, if you simply fine-tune a model on a new environment, it suffers from catastrophic forgetting—rapidly overwriting the knowledge required to recognize places from its past environments. VIPeR aims to bridge this gap by enabling robust, incremental learning for VPR.

The core concept of VIPeR: balancing single-environment discrimination with cross-environment generalization.

Methods

VIPeR tackles catastrophic forgetting and environment adaptation through three interconnected strategies integrated into a standard VPR pipeline:

Overview of the VIPeR architecture, highlighting the multi-stage memory bank and the loss functions.
  1. Adaptive Triplet Mining: Standard VPR uses triplet loss to pull matching places together and push different places apart. "Hard mining" (focusing on the most difficult examples) works well for single environments but introduces severe bias in continual learning. "Random mining" generalizes better but creates less distinct features. VIPeR dynamically adjusts mining difficulty by monitoring training loss fluctuations ($\Delta L_{triplet}$), striking a stable balance between discrimination and generalization.
  2. Multi-Stage Memory Bank: Mimicking human cognitive architecture, VIPeR splits its rehearsal memory into three stages:
  3. Sensory Memory ($M^{sn}$): A first-in-first-out (FIFO) queue that holds the most recent places, keeping the model sensitive to immediate environmental changes.
  4. Working Memory ($M^{wk}$): Stores older samples from the current environment with a probability that decreases over time, ensuring early observations aren't completely overwritten.
  5. Long-Term Memory ($M^{lt}$): An environment-agnostic bank that aggregates consolidated knowledge from all past environments using a controlled update ratio ($\omega$).
  6. Probabilistic Knowledge Distillation (PKD): To prevent the model's feature space from drifting as it learns new environments, VIPeR distills knowledge from a frozen copy of the old model. Instead of using rigid, deterministic angular metrics, PKD minimizes the KL-divergence between the global feature distributions of the old and new models. It incorporates a scaled dot-product (dividing by $\sqrt{d}$, inspired by Transformers) to prevent vanishing gradients during training.
  7. Relational Memory Aware Synapses (RMAS): Inherited from prior work (AirLoop), this weight regularization technique estimates parameter importance and penalizes drastic changes to weights critical to past tasks.

Datasets

The authors evaluated VIPeR on three large-scale, distinct benchmarks to test its resilience across diverse domains:

  • Oxford RobotCar: A real-world autonomous driving dataset. The authors evaluated sequential transitions across three distinct environmental conditions: "sun", "overcast", and "night".
  • Nordland: A real-world railway dataset capturing extreme seasonal variations (spring, summer, fall, winter) across a continuous journey.
  • TartanAir: A highly diverse, photo-realistic synthetic dataset covering 5 distinct indoor and outdoor environments with varying lighting and weather conditions.

Key Insights and Ideas

  • Breaking the Aggregator Bottleneck: Historically, using highly discriminative feature aggregators like NetVLAD in a continual learning setup exacerbated catastrophic forgetting compared to simpler aggregators like GeM. VIPeR successfully breaks this bottleneck; it actually performs better when scaled up to NetVLAD, unlocking higher performance ceilings.
  • Dynamic Difficulty as a Regularizer: Hard mining acts as a double-edged sword in lifelong learning. By treating mining difficulty as a dynamic variable regulated by training stability, the model avoids overfitting to local environment quirks.
  • Foundation Models Still Need Continual Learning: The paper demonstrates that even powerful zero-shot foundation models (like DINOv2 via AnyLoc) experience performance drops when evaluated across highly diverse sequential environments. However, combining VIPeR with a DINOv2 backbone yields state-of-the-art results, proving that continual learning algorithms complement foundation models rather than being replaced by them.

Key Results

VIPeR was compared against baseline fine-tuning, generic continual learning methods (EWC, SI), and VPR-specific continual learning frameworks (AirLoop, InCloud).

  • Superior Average Performance (AP): When utilizing the NetVLAD aggregator, VIPeR achieved an AP of 0.559 on RobotCar, 0.704 on Nordland, and 0.800 on TartanAir—significantly outperforming AirLoop (0.416, 0.639, 0.782 respectively).
  • Mitigating Forgetting: VIPeR demonstrated excellent Backward Transfer (BWT) metrics, showing near-zero or positive knowledge retention when moving between environments, whereas baseline fine-tuning suffered massive performance drops.
  • Cross-Dataset Robustness: In a grueling multi-dataset setup (training sequentially across TartanAir $\rightarrow$ Nordland $\rightarrow$ RobotCar using a DINOv2 backbone), VIPeR achieved an AP of 0.807, 0.711, and 0.680, comfortably beating the zero-shot AnyLoc baseline.

Limitations and Future Work

While VIPeR demonstrates exceptional capability, the authors note a few areas for expansion:

  • Single-Modality Focus: The current framework is designed and evaluated strictly for visual data (RGB images).
  • Future Directions: A promising next step is extending VIPeR to handle other single-modality inputs common in robotics (such as LiDAR point clouds) or developing it into a cross-modality place recognition system capable of matching images to 3D point clouds incrementally.

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