Around the World in 80 Timesteps: A Generative Approach to Global Visual Geolocation
Nicolas Dufour, David Picard, Vicky Kalogeiton, Loic Landrieu
TL;DR
This work introduces a generative framework for global visual geolocation that respects Earth's spherical geometry by leveraging diffusion in $\mathbb{R}^3$ and Riemannian flow matching on $\mathcal{S}^2$. By training a conditioned denoiser $\psi$ to predict noise or velocity fields, the model generates location trajectories whose endpoints provide location estimates and full conditional densities $p(y\mid c)$. The approach yields state-of-the-art results on OSV-5M, iNat21, and YFCC4k, and enables probabilistic visual geolocation with calibrated metrics such as NLL, localizability, density, and coverage. The paper also introduces classifier-free guidance to sharpen distributions and provides detailed implementation and theoretical notes on spherical geometry and density estimation on manifolds, highlighting the practical impact for uncertainty-aware geolocation tasks.
Abstract
Global visual geolocation predicts where an image was captured on Earth. Since images vary in how precisely they can be localized, this task inherently involves a significant degree of ambiguity. However, existing approaches are deterministic and overlook this aspect. In this paper, we aim to close the gap between traditional geolocalization and modern generative methods. We propose the first generative geolocation approach based on diffusion and Riemannian flow matching, where the denoising process operates directly on the Earth's surface. Our model achieves state-of-the-art performance on three visual geolocation benchmarks: OpenStreetView-5M, YFCC-100M, and iNat21. In addition, we introduce the task of probabilistic visual geolocation, where the model predicts a probability distribution over all possible locations instead of a single point. We introduce new metrics and baselines for this task, demonstrating the advantages of our diffusion-based approach. Codes and models will be made available.
