VIPeR: Visual Incremental Place Recognition with Adaptive Mining and Lifelong Learning

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

Abstract

Visual place recognition (VPR) is an essential component of many autonomous and augmented/virtual reality systems. It enables the systems to robustly localize themselves in large-scale environments. Existing VPR methods demonstrate attractive performance at the cost of heavy pre-training and limited generalizability. When deployed in unseen environments, these methods exhibit significant performance drops. Targeting this issue, we present VIPeR, a novel approach for visual incremental place recognition with the ability to adapt to new environments while retaining the performance of previous environments. We first introduce an adaptive mining strategy that balances the performance within a single environment and the generalizability across multiple environments. Then, to prevent catastrophic forgetting in lifelong learning, we draw inspiration from human memory systems and design a novel memory bank for our VIPeR. Our memory bank contains a sensory memory, a working memory and a long-term memory, with the first two focusing on the current environment and the last one for all previously visited environments. Additionally, we propose a probabilistic knowledge distillation to explicitly safeguard the previously learned knowledge. We evaluate our proposed VIPeR on three large-scale datasets, namely Oxford Robotcar, Nordland, and TartanAir. Our VIPeR achieves better performance in almost all aspects with the biggest improvement of 13.65% in average performance.

Introduction

Visual Place Recognition (VPR) serves as the critical "Where am I?" component for robot navigation and spatial computing. While deep learning has significantly advanced VPR accuracy, most existing models rely on the assumption that training data is independent and identically distributed (I.I.D.). In real-world deployments, robots encounter a continuous stream of shifting environments—such as transitioning from a sunny park to a rainy city street or moving between different cities.

Incremental learning across environments and the evolution of the feature space.

Standard VPR models face two primary hurdles in these scenarios. First, the I.I.D. assumption fails as the robot moves sequentially through the world. Second, they suffer from catastrophic forgetting: when a model is finetuned on a new environment, it tends to overwrite the internal representations that were crucial for recognizing previously visited locations. Existing continual learning solutions often rely on simple memory buffers or rigid loss functions that either adapt too slowly or lose old knowledge too quickly.

Methodology: The VIPeR Framework

VIPeR (Visual Incremental Place Recognition) addresses these challenges through three core innovations: an adaptive mining strategy, a multi-stage memory bank, and probabilistic knowledge distillation.

The complete VIPeR architecture, illustrating the training flow, memory management, and loss components.

Adaptive Mining Strategy

Most VPR models utilize a "triplet loss" to pull similar places closer in feature space while pushing dissimilar ones apart. A common practice is "hard mining," which focuses on the most difficult examples to drive learning. However, the authors discovered a "hard mining trap": extreme hard mining forces the model to over-specialize on the nuances of the current environment, which is detrimental to generalizability and accelerates the forgetting of previous environments. VIPeR employs a dynamic strategy that adjusts the difficulty of training samples based on loss fluctuations, striking a balance between local precision and global robustness.

Multi-stage Memory Bank

Drawing inspiration from human cognitive systems, VIPeR implements a three-tiered storage architecture to manage rehearsal data:

  • Sensory Memory: A short-term FIFO (First-In-First-Out) queue that holds the most recent observations.
  • Working Memory: This stage stores samples with a decreasing probability over time, ensuring that a representative set of older observations from the current environment is preserved.
  • Long-term Memory: An environment-agnostic bank that aggregates and maintains knowledge from all previously visited locations, acting as a stable anchor for the model.

Probabilistic Knowledge Distillation (PKD)

To explicitly safeguard previously learned knowledge, VIPeR uses a distillation process where the current model learns from its predecessor. Unlike standard deterministic distillation, PKD examines the global distribution of samples. It incorporates a model-specific scaling factor ($\sqrt{d}$, where $d$ is the descriptor dimension) to mitigate the "vanishing gradient" problem, ensuring stable and effective knowledge transfer across training steps.

Experiments and Results

The researchers evaluated VIPeR against state-of-the-art continual learning methods (such as AirLoop and InCloud) across three diverse, large-scale benchmarks: Oxford RobotCar (real-world driving in varied weather), Nordland (extreme seasonal changes), and TartanAir (complex synthetic environments).

Key Findings

  • Superior Accuracy: VIPeR consistently outperformed baselines. On the Oxford RobotCar dataset using a NetVLAD-based setup, VIPeR achieved an Average Performance (AP) of 0.559, a substantial lead over AirLoop's 0.416.
  • Forward Transfer (FWT): The framework demonstrated strong forward transfer, where learning a new environment actually enhanced the model's ability to generalize to future, unseen environments.
  • Foundation Model Synergy: VIPeR scales effectively with large vision foundation models like DINOv2. In cross-dataset training scenarios, the combination of VIPeR and DINOv2 showed improved performance, suggesting that incremental learning is a key enabler for "universal" VPR systems.

Conclusion

VIPeR presents a robust framework for lifelong visual place recognition, successfully mitigating catastrophic forgetting while maintaining high adaptation speeds. By mimicking human memory structures and refining the way models mine and distill information, it sets a new benchmark for robots operating in dynamic, ever-changing worlds. Future work aims to extend this framework to multi-modal inputs, integrating LiDAR and other sensor data for even more resilient navigation.

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 Lifelong Learning}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2025},
  url = {https://openreview.net/forum?id=4PZSjSCVpJ},
}
Figure