HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

ProGEO: Generating Prompts through Image-Text Contrastive Learning for Visual Geo-localization

Chen Mao Jingqi Hu

ProGEO: Generating Prompts through Image-Text Contrastive Learning for Visual Geo-localization

Abstract

Visual Geo-localization (VG) refers to the process to identify the location described in query images, which is widely applied in robotics field and computer vision tasks, such as autonomous driving, metaverse, augmented reality, and SLAM. In fine-grained images lacking specific text descriptions, directly applying pure visual methods to represent neighborhood features often leads to the model focusing on overly fine-grained features, unable to fully mine the semantic information in the images. Therefore, we propose a two-stage training method to enhance visual performance and use contrastive learning to mine challenging samples. We first leverage the multi-modal description capability of CLIP (Contrastive Language-Image Pretraining) to create a set of learnable text prompts for each geographic image feature to form vague descriptions. Then, by utilizing dynamic text prompts to assist the training of the image encoder, we enable the image encoder to learn better and more generalizable visual features. This strategy of applying text to purely visual tasks addresses the challenge of using multi-modal models for geographic images, which often suffer from a lack of precise descriptions, making them difficult to utilize widely. We validate the effectiveness of the proposed strategy on several large-scale visual geo-localization datasets, and our method achieves competitive results on multiple visual geo-localization datasets. Our code and model are available at https://github.com/Chain-Mao/ProGEO.

Code Repositories

chain-mao/progeo
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
visual-place-recognition-on-mslsProGEO
Recall@1: 84.9
Recall@5: 91.6
visual-place-recognition-on-pittsburgh-250kProGEO
Recall@1: 92.2
Recall@5: 97.7
visual-place-recognition-on-pittsburgh-30kProGEO
Recall@1: 93.0
Recall@5: 98.3
visual-place-recognition-on-sf-xl-test-v1ProGEO
Recall@1: 84.7
Recall@5: 90.3
visual-place-recognition-on-sf-xl-test-v2ProGEO
Recall@1: 93.0
Recall@5: 96.7
visual-place-recognition-on-st-luciaProGEO
Recall@1: 99.7
Recall@5: 99.9
visual-place-recognition-on-tokyo247ProGEO
Recall@1: 88.6
Recall@5: 93.3

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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp