Abstract
Visual Place Recognition (VPR) is a fundamental task for autonomous systems, requiring the identification of a camera's location by matching query images against a reference database. A primary challenge in VPR is the extreme variation in appearance caused by environmental factors such as weather, lighting, and seasonal changes. This paper presents CLASP-Net (Contrastive Learning with Appearance Augmentations and Spatial Predictions), a novel self-supervised framework that learns robust place representations without the need for human-labeled data. By simultaneously optimizing for appearance invariance through contrastive learning and geometric sensitivity through predictive learning, CLASP-Net achieves state-of-the-art results on challenging benchmarks, including the Alderley day/night and Nordland seasonal datasets.
Introduction
The core difficulty in Visual Place Recognition lies in the discrepancy between a location's appearance at different times. A street corner captured at noon on a sunny day bears little pixel-level resemblance to the same corner during a midnight storm. While supervised systems have made significant strides, they often rely on large-scale datasets of matched pairs, which are expensive to collect and can lead to models that overfit to specific environmental conditions.
Self-supervised learning (SSL) offers a promising alternative by enabling models to learn intrinsic scene structures from unlabeled data. The authors propose that a successful VPR representation must balance two competing objectives: invariance to appearance changes (like lighting) and equivariance to geometric structure (to distinguish between different but visually similar locations).
Methodology: CLASP-Net
The proposed CLASP-Net framework utilizes a dual-purpose training strategy centered on a shared ResNet50 encoder. The architecture consists of two primary modules:
- Appearance Module (Contrastive Learning): Inspired by SimCLR, this branch focuses on learning appearance invariance. It generates "distorted" versions of an image using heavy pixel-level augmentations, such as color jittering, blurring, and solarization. The model is trained to minimize the distance between the representations of the original and distorted images in latent space, effectively teaching the network to ignore transient environmental features.
- Geometry Module (Predictive Learning): To ensure the model retains sensitivity to the spatial layout of a scene, this branch employs a pretext task of rotation prediction. Images are rotated by 0°, 90°, 180°, or 270°, and the network must classify the rotation. This forces the encoder to capture the geometric cues and structural silhouettes that define a unique place.
During inference, the geometry branch is discarded, and the appearance-robust encoder generates global descriptors for image retrieval via k-nearest neighbors.
Data Augmentations for Self-Supervision
The effectiveness of CLASP-Net relies on the specific augmentations used to drive the self-supervised tasks. The appearance module uses transformations that mimic environmental shifts, while the geometry module uses discrete rotations to emphasize structural layout.
Experimental Results
CLASP-Net was evaluated on three major VPR benchmarks: Nordland (seasonal changes), Alderley (extreme day/night and storm conditions), and Oxford RobotCar Seasons v2 (diverse weather and lighting).
The model demonstrated significant improvements over both supervised and unsupervised baselines:
- Alderley (Day/Night): CLASP-Net achieved a Recall@1 of 25.2%, outperforming the previous state-of-the-art AFD (21.0%) and vastly exceeding standard NetVLAD (3.35%).
- Nordland (Summer/Winter): It reached a Recall@10 of 80.2%, surpassing competitive methods like TransVPR (78.7%) and DELG (69.8%).
- Generalization: Ablation studies confirmed that predicting 90° rotations was more effective than other geometric tasks, and visualizations showed the model naturally focuses on stable structures like skylines and silhouettes.
Conclusion and Future Work
CLASP-Net successfully leverages self-supervised learning to create place representations that are robust to extreme appearance changes while remaining sensitive to scene geometry. While highly effective against lighting and weather shifts, the system remains sensitive to significant viewpoint changes. Future research may explore 3D geometric transformations and view synthesis to enhance robustness to perspective shifts, further bridging the gap towards fully autonomous, environment-agnostic navigation.
Summary updated