Abstract
This paper adapts a general dataset representation technique to produce robust Visual Place Recognition (VPR) descriptors, crucial to enable real-world mobile robot localisation. Two parallel lines of work on VPR have shown, on one side, that general-purpose off-the-shelf feature representations can provide robustness to domain shifts, and, on the other, that fused information from sequences of images improves performance. In our recent work on measuring domain gaps between image datasets, we proposed a Visual Distribution of Neuron Activations (VDNA) representation to represent datasets of images. This representation can naturally handle image sequences and provides a general and granular feature representation derived from a general-purpose model. Moreover, our representation is based on tracking neuron activation values over the list of images to represent and is not limited to a particular neural network layer, therefore having access to high- and low-level concepts. This work shows how VDNAs can be used for VPR by learning a very lightweight and simple encoder to generate task-specific descriptors. Our experiments show that our representation can allow for better robustness than current solutions to serious domain shifts away from the training data distribution, such as to indoor environments and aerial imagery.
Introduction: The Challenge of Domain Shift
Visual Place Recognition (VPR) addresses the fundamental robotic question: "Have I been here before?" While deep learning has significantly advanced VPR, existing systems frequently encounter performance degradation due to domain shift. A model trained on sunny urban streets often fails when deployed in an indoor warehouse or when processing aerial views from a drone.
Current VPR solutions typically follow one of two paradigms: utilizing "off-the-shelf" features from pre-trained models, which are general but lack task specificity, or fine-tuning models on specific datasets, which yields high accuracy but results in "brittle" performance under environmental changes. Furthermore, efficiently aggregating temporal information from image sequences remains a computational challenge.
Methodology: The VDNA-PR Pipeline
The proposed VDNA-PR (Visual Distribution of Neuron Activations for Place Recognition) pipeline leverages the foundational knowledge of large-scale models while maintaining task-specific efficiency.
1. Feature Extraction
The system utilizes a frozen DINOv2 (Vision Transformer) backbone. Unlike standard approaches that only use the final layer, VDNA-PR tracks activations across multiple layers to capture a hierarchy of visual features.
2. VDNA Representation
Image sequences are treated as mini-datasets. For each neuron in the network, a histogram of its activation values is constructed over the sequence. This creates a "visual fingerprint" that represents how the model responds to a specific location over time, regardless of the sequence length.
3. Lightweight Encoding
To ensure real-time applicability in robotics, the raw histograms are compressed. A small 1D Convolutional Neural Network (CNN) encoder reduces each histogram into a compact 4-element vector.
4. Training and Generalization
The encoder is trained using a triplet loss on the MSLS urban dataset. To prevent over-specialization, the authors employ a "dismantling" strategy: a temporary linear layer used during training is discarded for deployment. This forces the encoder to learn generalizable histogram features rather than specific landmark identifiers.
Experimental Setup and Datasets
The system was put through a rigorous "stress test" across diverse domains to evaluate its resilience to domain shift:
- Training: MSLS (Mapillary Street-level Sequences), a massive urban dataset.
- Urban Evaluation: St Lucia, Pittsburgh-30k, and Oxford RobotCar (testing across different seasons and lighting).
- Indoor Evaluation: Baidu Mall, Gardens Point, and 17 Places.
- Aerial Evaluation: VPAIR, which uses images taken from overhead.
Key Results and Insights
VDNA-PR demonstrates superior performance in scenarios with extreme domain shifts:
- Aerial Robustness: On the VPAIR dataset, VDNA-PR achieved a 50.2% Recall@1, more than doubling the 20.5% achieved by the SeqVLAD baseline.
- Indoor Resilience: In the Baidu Mall dataset, it outperformed urban-fine-tuned models, proving that the VDNA representation is more resilient to the "street-to-mall" transition.
- Scalability: Because histograms represent distributions, the descriptor size remains constant regardless of sequence length (e.g., 5 vs. 50 frames), making it highly scalable.
- Multi-Level Features: The inclusion of multiple layers allows the system to leverage low-level textures (useful indoors) and high-level semantic concepts (useful for viewpoint invariance).
Conclusion and Future Work
VDNA-PR offers a robust framework for VPR by utilizing foundational model activations as statistical distributions. While effective, the current selection of layers and neurons is heuristic. Future research will explore unsupervised domain calibration, allowing robots to dynamically identify the most reliable neurons for a new environment without labeled data. Additionally, incorporating attention mechanisms could further refine the "visual DNA" by weighting the most informative neurons for specific scenes.
Summary updated