Command Palette
Search for a command to run...
GeoCLIP: Clip-Inspired Alignment between Locations and Images for Effective Worldwide Geo-localization
Vicente Vivanco Cepeda; Gaurav Kumar Nayak; Mubarak Shah

Abstract
Worldwide Geo-localization aims to pinpoint the precise location of images taken anywhere on Earth. This task has considerable challenges due to immense variation in geographic landscapes. The image-to-image retrieval-based approaches fail to solve this problem on a global scale as it is not feasible to construct a large gallery of images covering the entire world. Instead, existing approaches divide the globe into discrete geographic cells, transforming the problem into a classification task. However, their performance is limited by the predefined classes and often results in inaccurate localizations when an image's location significantly deviates from its class center. To overcome these limitations, we propose GeoCLIP, a novel CLIP-inspired Image-to-GPS retrieval approach that enforces alignment between the image and its corresponding GPS locations. GeoCLIP's location encoder models the Earth as a continuous function by employing positional encoding through random Fourier features and constructing a hierarchical representation that captures information at varying resolutions to yield a semantically rich high-dimensional feature suitable to use even beyond geo-localization. To the best of our knowledge, this is the first work employing GPS encoding for geo-localization. We demonstrate the efficacy of our method via extensive experiments and ablations on benchmark datasets. We achieve competitive performance with just 20% of training data, highlighting its effectiveness even in limited-data settings. Furthermore, we qualitatively demonstrate geo-localization using a text query by leveraging CLIP backbone of our image encoder. The project webpage is available at: https://vicentevivan.github.io/GeoCLIP
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| gps-embeddings-on-geo-tagged-nus-wide-gps | GeoCLIP | mAP: 0.249 |
| gps-embeddings-on-geo-tagged-nus-wide-gps-1 | GeoCLIP | mAP: 0.362 |
| photo-geolocation-estimation-on-gws15k | GeoCLIP | City level (25 km): 3.1 Continent level (2500 km): 74.1 Country level (750 km): 45.7 Region level (200 km): 16.9 Street level (1 km): 0.6 |
| photo-geolocation-estimation-on-im2gps3k | GeoCLIP | City level (25 km): 34.5 Continent level (2500 km): 83.8 Country level (750 km): 69.7 Region level (200 km): 50.7 Street level (1 km): 14.1 Training Images: 4.7M |
| photo-geolocation-estimation-on-yfcc26k | GeoCLIP | City level (25 km): 22.2 Continent level (2500 km): 76.0 Country level (750 km): 57.5 Region level (200 km): 36.7 Street level (1 km): 11.6 Training Images: 4.7M |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.