HierLoc: Hyperbolic Entity Embeddings for Hierarchical Visual Geolocation
Gadi, Hari Krishna, Matos, Daniel, Luo, Hongyi, Liu, Lu, Wang, Yongliang, Zhang, Yanfeng, Meng, Liqiu
–arXiv.org Artificial Intelligence
ABSTRACT Visual geolocalization, the task of predicting where an image was taken, remains challenging due to global scale, visual ambiguity, and the inherently hierarchical structure of geography. Existing paradigms rely on either large-scale retrieval, which requires storing a large number of image embeddings, grid-based classifiers that ignore geographic continuity, or generative models that diffuse over space but struggle with fine detail. We introduce an entity-centric formulation of geolocation that replaces image-to-image retrieval with a compact hierarchy of geographic entities embedded in Hyperbolic space. Images are aligned directly to country, region, subregion, and city entities through Geo-Weighted Hyperbolic contrastive learning by directly incorporating haversine distance into the contrastive objective. This hierarchical design enables interpretable predictions and efficient inference with 240k entity embeddings instead of over 5 million image embeddings on the OSV5M benchmark, on which our method establishes a new state-of-the-art performance. Compared to the current methods in the literature, it reduces mean geodesic error by 19.5%, while improving the fine-grained subregion accuracy by 43%. These results demonstrate that geometry-aware hierarchical embeddings provide a scalable and conceptually new alternative for global image geolocation. 1 INTRODUCTION Visual geolocalization, inferring where an image was taken from its content alone, is a fundamental challenge with applications in biodiversity monitoring (Van Horn et al., 2021), cultural heritage preservation (DeLozier et al., 2016), news verification (Tahmasebzadeh et al., 2023), and augmented reality (Mercier et al., 2023). However, many real-world images lack geotags in their metadata (Flatow et al., 2015), making automated solutions increasingly important. The task remains difficult due to its scale and ambiguity (Dufour et al., 2025). The search space spans the entire globe; visual patterns such as beaches or skylines recur across continents; language similarities in the street view images span continents; and geographic space itself is structured hierarchically from continents down to cities. Most existing methods follow one of three paradigms: retrieval-based, classification, and more recently, generative methods. Retrieval-based approaches index millions of image embeddings and return nearest neighbors (Haas et al., 2023), which capture fine-grained similarity but do not scale gracefully and provide limited interpretability. Classification methods (Astruc et al., 2024; Haas et al., 2024) tackle this task by predicting a discrete cell, respecting geography but failing to capture cross-continental visual relationships.
arXiv.org Artificial Intelligence
Mar-3-2026
- Country:
- North America > United States (0.28)
- Europe > Germany (0.28)
- Genre:
- Research Report > New Finding (0.87)
- Technology: