Introduction
Visual Geo-localization (VG) is the process of determining the geographic location of a "query" image by matching it against a large-scale database of geo-tagged images. While deep learning models have achieved high accuracy in controlled environments, they often struggle with domain shift. Performance typically degrades significantly when a model trained on sunny, clear-day images (like Google Street View) is tasked with localizing images taken under different conditions, such as nighttime, rain, or snow.
Addressing this requires domain adaptation, but traditional methods often demand thousands of labeled images for every new environment. This paper introduces AdAGeo and AdAGeo-Lite, frameworks designed for Few-Shot Domain Adaptation, requiring as few as five unlabeled images from a target domain to effectively adapt.
Methodology
The proposed hybrid approach integrates three core components to achieve robust cross-domain localization:
1. Domain-Driven Data Augmentation (DDDA)
This module translates labeled source images into the style of the target domain to create a "pseudo-target" dataset.
- AdAGeo: Employs a learned approach using two parallel autoencoders for style transfer.
- AdAGeo-Lite: Utilizes a non-learnable Fourier Domain Adaptation (FDA) technique. FDA replaces the low-frequency components of the source image's amplitude spectrum with those of the target, effectively transferring lighting and color statistics without complex training.
2. Attention Layer
To improve feature stability, the authors integrated an attention layer based on Class Activation Maps (CAM). By pretraining on the Places365 dataset, the model learns to prioritize stable landmarks (e.g., buildings, houses) while ignoring transient noise like clouds, vehicles, or pedestrians.
3. Domain Adaptation (DA) Module
A discriminator network paired with a Gradient Reversal Layer (GRL) forces the feature extractor to produce domain-agnostic descriptors. This ensures the model focuses on structural geometry rather than domain-specific photometric features.
Datasets and Evaluation
The research utilizes several key datasets to benchmark performance:
- SVOX (Street View Oxford): A large-scale dataset of Oxford Street View images from 2012 and 2014, serving as the source domain.
- Oxford RobotCar: The primary target domain, featuring the same Oxford locations captured under five distinct conditions: Snow, Rain, Sun, Night, and Overcast.
- MSLS & St Lucia: Used to evaluate Domain Generalization, testing how well a model adapted to one city (Oxford) performs in entirely different urban environments like Copenhagen or Tokyo.
Key Insights and Results
The experimental results yielded several significant findings:
- Efficiency of Fourier Transforms: AdAGeo-Lite often outperformed the more complex learned version. This suggests that global photometric statistics (lighting and color) are the primary obstacles in domain shift for VG.
- Superior Performance: AdAGeo-Lite achieved an average Recall@1 of 50.4% across RobotCar domains, a substantial improvement over the standard NetVLAD baseline (33.2%).
- Few-Shot Success: The framework achieves state-of-the-art results using only five target images, significantly reducing the data requirements compared to previous methods.
- Generalization Capabilities: Models adapted to specific conditions (e.g., "Snowy Oxford") maintained high performance when tested in new cities, indicating the learning of general environmental robustness rather than city-specific memorization.
Conclusion and Future Work
AdAGeo demonstrates that combining domain-driven augmentation with structural attention and adversarial alignment creates a powerful tool for few-shot geolocalization. While the model shows significant progress, "Night" conditions remain a challenge due to extreme darkness. Future research may explore more advanced backbones like Vision Transformers (ViTs) and diverse style transfer techniques to further bridge the gap in extreme domain shifts.
Summary updated