[Paper Review] GeoCLIP: Clip-Inspired Alignment between Locations and Images for Effective Worldwide Geo-localization
GeoCLIP introduces an image-to-GPS retrieval framework that aligns CLIP-based image features with high-dimensional GPS embeddings, enabling worldwide geo-localization with strong data efficiency and qualitative text-based geo-localization capabilities.
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
Motivation & Objective
- Motivate and address the challenge of pinpointing global image locations without constructing a globe-wide image gallery.
- Propose a CLIP-inspired image-to-GPS retrieval model that aligns image features with GPS embeddings.
- Develop a location encoder that encodes GPS coordinates as high-dimensional, multi-resolution features using equal Earth projection and random Fourier features.
- Demonstrate data-efficient performance and qualitative text-based geo-localization via CLIP text capabilities.
- Empirically validate on benchmark datasets with ablations and limited-data scenarios.
Proposed method
- Use a CLIP-based image encoder (frozen ViT-L/14 backbone) with two trainable linear layers for task-specific adaptation.
- Introduce a location encoder that maps 2D GPS coordinates to high-dimensional embeddings using Equal Earth Projection (EEP), Random Fourier Features (RFF), and a hierarchical (multi-resolution) strategy with an exponential sigma schedule.
- Train with a contrastive loss aligning image embeddings with corresponding GPS embeddings and push away non-matching GPS embeddings using a dynamic GPS queue of negatives.
- Employ a SimCLR-like augmentation and a GPS perturbation noise to encourage spatial smoothness in the location encoder.
- During evaluation, treat geo-localization as image-to-GPS retrieval, comparing image embeddings to GPS embeddings; enable text-based geo-localization by leveraging CLIP text embeddings for GPS coordinates.
Experimental results
Research questions
- RQ1Can a CLIP-inspired image-to-GPS retrieval framework achieve competitive worldwide geo-localization without a full image gallery?
- RQ2Does encoding GPS coordinates with equal Earth projection, random Fourier features, and hierarchical resolutions improve localization accuracy across scales?
- RQ3How data-efficient is GeoCLIP in limited-data settings compared to classification-based approaches?
- RQ4Can the model support text-based geo-localization by leveraging the CLIP text backbone?
- RQ5What is the impact of negative sampling via a dynamic GPS queue on localization performance?
Key findings
- GeoCLIP achieves competitive performance with only 20% of training data, approaching or surpassing prior SOTA under several thresholds.
- On Im2GPS3k, GeoCLIP reaches 1 km: 14.11, 25 km: 34.47, 200 km: 50.65, 750 km: 69.67, 2500 km: 83.82.
- On GWS15k, GeoCLIP outperforms prior SOTA with 1 km: 0.6, 25 km: 3.1, 200 km: 16.9, 750 km: 45.7, 2500 km: 74.1.
- Qualitative results show text-based queries (e.g.,
- mapping to geographic regions using the CLIP backbone.
- Ablations demonstrate the importance of Equal Earth Projection (EEP), Random Fourier Features (RFF), dynamic negative queue, and hierarchical learning for multi-scale performance improvements.
- GeoCLIP’s location encoder produces a versatile GPS embedding that can be repurposed for tasks beyond geo-localization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.