TL;DR
Pinpointing where on Earth a photo was taken usually forces a choice between two flawed AI strategies: matching the photo against a massive database (great for exact landmarks, terrible for generic cafés) or asking a Vision-Language Model to reason from visual clues (great for deducing regions from vegetation, clumsy at street-level precision). GeoRouter breaks this trade-off by acting as an intelligent dispatcher, inspecting both the query image and candidate predictions to dynamically pick the right strategy for each specific photo. The result is a system that outperforms every single-paradigm baseline across all spatial scales, from street corners to continents.
What Problem Does This Paper Address?
Imagine playing GeoGuessr at a global scale. Modern AI approaches this "worldwide image geolocalization" task using two competing paradigms:
- Retrieval-based methods: Search a massive reference database of geotagged photos for a visual twin. If you photograph a distinct mountain silhouette or famous statue, retrieval nails it down to the meter. Give it an unremarkable coastal restaurant, however, and it might confidently match a lookalike patio 9,000 kilometers away.
- Generation-based methods: Use Large Vision-Language Models (LVLMs) to "read" semantic clues—architecture, road signs, flora, climate—and directly output GPS coordinates. They rarely make continent-level blunders on generic scenes, but they suffer from spatial hallucinations and struggle with fine-grained precision.
When the authors tested leading representatives of each camp, they found neither dominates globally. Retrieval wins at street-level (1km) and coarse (750km+) scales, while generation shines at city and regional scales (25km–200km). Yet existing research optimizes these paradigms in isolation. The authors ask: Can we build a router that dynamically assigns each photo to whichever paradigm will handle it best?
Methods
Instead of predicting coordinates itself, GeoRouter treats paradigm selection as a learnable decision problem.
- Context-Rich Routing Architecture: For any incoming query image, the system runs both a retrieval model (GeoRanker) and a generation model (Gemini-2.5-Flash). It then feeds a unified prompt into a fine-tuned LVLM backbone (Qwen2-VL-7B adapted via LoRA). Crucially, the router doesn't just look at the query photo in a vacuum—it inspects the query image, the top retrieved reference image, the candidate GPS coordinates from retrieval, and the generated GPS coordinate. A linear head projects the final token's hidden state into a single scalar routing score ($r_i > 0$ picks generation; otherwise, retrieval).
- Distance-Aware Preference Optimization (DisPO): What is genuinely novel here is how the router is trained. Standard binary classification (0 for retrieval, 1 for generation) treats winning by 50 meters the same as winning by 5,000 kilometers. DisPO instead takes the logarithmic difference between the two paradigms' geodesic distance errors and passes it through a scaled sigmoid function to create continuous soft probability labels. Training with cross-entropy against these soft targets teaches the router not just who wins, but by how much, yielding well-calibrated confidence scores.
Datasets
- GeoRouting (Newly Introduced): Standard geolocalization datasets only contain images and ground-truth GPS. To train a router, the authors sampled 100K images from the MP16-Pro database and pre-computed predictions, candidate contexts, and exact distance errors from both retrieval and generation paradigms, releasing it as a public benchmark for multimodal routing.
- IM2GPS3K & YFCC4K: Two standard, challenging evaluation benchmarks used to test geolocalization accuracy across five distance thresholds: Street (1km), City (25km), Region (200km), Country (750km), and Continent (2500km).
Key Insights and Ideas
- Blind routing fails; comparative context is king: In ablation studies, asking the router to pick a paradigm using only the query image caused accuracy to drop noticeably (from 61.60% to 58.63% average on IM2GPS3K). Letting the LVLM eyeball the top retrieved photo alongside both coordinate predictions allows it to spot bad retrieval matches or implausible generated coordinates directly.
- Soft labels beat hard choices: Tuning the steepness hyperparameter ($\alpha$) in DisPO revealed a "Goldilocks" zone ($\alpha = 1.6$). Too flat, and the model ignores error magnitudes; too steep, and soft labels collapse back into hard binary steps, hurting city- and region-level accuracy.
- Remarkable data and scale efficiency: Even when trained on just 10% of the GeoRouting dataset, GeoRouter already beats the strongest single-paradigm baseline. Furthermore, swapping in newer or larger LVLM backbones (moving from 2B to 7B/8B parameters, or upgrading from Qwen2-VL to Qwen3-VL) immediately translates into better routing.
Key Results
Tested against 14 baselines, GeoRouter achieves state-of-the-art accuracy across every single distance threshold on both benchmarks:
- City-Level Surge: Its biggest gains appear at the 25km city scale, reaching 50.48% on IM2GPS3K (a 12.05% relative jump over the best baseline, GeoRanker's 45.05%) and 46.01% on YFCC4K (+5.67% relative).
- Distribution Robustness: On IM2GPS3K, pure retrieval and pure generation are evenly matched (~50% win rate each), and GeoRouter routes accurately 62.78% of the time. On YFCC4K, where pure generation struggles mightily (winning under 29% of queries), GeoRouter adapts seamlessly, picking the right paradigm 77.81% of the time and still beating pure retrieval across the board.
Limitations and Future Work
- Double Inference Cost: Because GeoRouter compares outputs from both paradigms inside its prompt, inference requires running both the retrieval pipeline and the generative LVLM, plus the 7B router model itself, for every query (inference overhead details are deferred to the appendix).
- Room Below the Ceiling: While GeoRouter breaks past single-model limits (reaching 61.61% average accuracy on IM2GPS3K), a noticeable gap remains before hitting the theoretical "Oracle" upper bound of 65.84% (perfectly picking the winner every time). The authors highlight stronger policy optimization as a ripe direction for future work.
Summary updated