Abstract
In this study, we introduce a new problem raised by social media and photojournalism, named Image Address Localization (IAL), which aims to predict the readable textual address where an image was taken. Existing two-stage approaches involve predicting geographical coordinates and converting them into human-readable addresses, which can lead to ambiguity and be resource-intensive. In contrast, we propose an end-to-end framework named AddressCLIP to solve the problem with more semantics, consisting of two key ingredients: i) image-text alignment to align images with addresses and scene captions by contrastive learning, and ii) image-geography matching to constrain image features with the spatial distance in terms of manifold learning. Additionally, we have built three datasets from Pittsburgh and San Francisco on different scales specifically for the IAL problem. Experiments demonstrate that our approach achieves compelling performance on the proposed datasets and outperforms representative transfer learning methods for vision-language models. Furthermore, extensive ablations and visualizations exhibit the effectiveness of the proposed method.
Introduction
Traditional image geo-localization, often referred to as Visual Place Recognition (VPR), is typically treated as a retrieval task. A query image is compared against a massive database of geo-tagged photos to find the closest match and extract its GPS coordinates. To obtain a human-readable address, these coordinates must then be processed through a reverse geocoding API.
This two-stage approach suffers from high resource requirements and "compounded errors" during the GPS-to-address conversion. We propose Image Address Localization (IAL) to solve this by training models to understand the direct relationship between visual scenes and textual addresses.
Methodology
AddressCLIP builds upon the Contrastive Language-Image Pre-training (CLIP) architecture, incorporating three primary pillars to bridge the gap between visual features and geographic semantics.
Semantic Address Partitioning
To handle the "long-tail" problem where street lengths vary significantly, cities are segmented at intersections. This creates discrete, manageable textual labels that align with human description habits (e.g., identifying a street segment between two specific avenues).
Image-Text Alignment with Scene Captions
Because a bare address provides limited context, AddressCLIP uses a secondary model (BLIP) to generate descriptive scene captions. During training, the model learns to align images with both specific addresses and these descriptive captions, helping it learn the visual features associated with labels like "Downtown" or "Residential."
Image-Geography Matching
Using manifold learning, we introduce a geographic loss function. This forces the model to ensure that images taken physically close to each other have similar feature embeddings, while images far apart are pushed away in the feature space. This helps mitigate "perceptual aliasing," where two visually similar but geographically distant locations (like two different chain stores) are confused.
Datasets
We developed three new benchmarks for the IAL problem, enriched with administrative addresses via the Google Maps API:
- Pitts-IAL: 234,000 images from Pittsburgh.
- SF-IAL-Base: 184,000 images from San Francisco.
- SF-IAL-Large: 1.96 million images covering the entirety of San Francisco.
Key Results
AddressCLIP significantly outperforms traditional two-stage pipelines and general-purpose transfer learning methods:
- Accuracy: Achieved a Top-1 address localization accuracy of 85.92% on the SF-IAL-Large dataset.
- Efficiency: Unlike retrieval-based methods that require massive image galleries, AddressCLIP only needs the query image and a candidate address list, reducing memory requirements from gigabytes to less than 1 MB (0.64 MB).
- Baselines: Outperformed representative prompt-learning methods (e.g., CoOp and MaPLe) by 3% to 7% across various metrics.
Conclusion
AddressCLIP demonstrates that textual addresses are semantically richer than raw GPS coordinates for vision-language models. While the system is highly effective for city-wide localization, future work will focus on achieving "meter-level" precision and exploring the use of Multimodal Large Language Models (MLLMs) to combine conversational flexibility with localization accuracy.
Summary updated