arXiv:2610.24306cs.LGOct 2026

Manuscript Offprint

arXiv:2610.24306

Learning Administrative Boundary-Aware Location Encoders via Reverse Geocoding

Lakshay Sharma, Alex Marin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Location encoders learn compact representations of latitude–longitude coordinates for downstream geospatial prediction tasks. Existing approaches are pretrained using continuous or naturally occurring supervision, such as imagery, climate variables, or species distributions, and therefore do not explicitly capture administrative boundaries or place names, despite their strong influence on many real-world geospatial phenomena. We introduce, to our knowledge, the first method for learning administrative boundary-aware location encoders, using reverse-geocoded text as a self-supervised training signal. Our approach can be applied to existing location encoder architectures and consistently improves their downstream performance. We further introduce RevGeoRQ, a custom architecture tailored to reverse-geocoding supervision, which yields additional gains and exceeds contemporary location encoders on several downstream tasks. Finally, the use of human-interpretable reverse-geocoded strings and residual-quantized semantic IDs provides a more interpretable representation of geographic location than existing approaches. Code and model weights to be released soon.

1 INTRODUCTION

Location encoders have emerged as a foundational building block for modern data-driven geographic information systems, enabling models to convert raw latitude–longitude coordinates into rich, high-dimensional representations. Learning effective such spatial representations is critical across a wide spectrum of downstream tasks, ranging from predicting species distributions and environmental variables to optimizing urban planning, route navigation, and localized economic forecasting. By replacing hand-engineered spatial features with expressive pre-trained neural embeddings, location encoders allow predictive models to better reason about distance, regional continuity, and geographic context directly from raw coordinate inputs, reducing the need for time-consuming implementation.

Despite their success, training general-purpose location encoders that transfer effectively across diverse downstream applications remains challenging. Existing representation learning strategies typically rely on continuous pretraining targets, such as multispectral satellite imagery, climate grids, or naturally occurring species presence logs. While these signals capture smooth environmental gradients and various visual patterns, they largely overlook the discrete, structured boundaries that define human geography. However, real-world geospatial phenomena are heavily shaped by administrative borders, regional nomenclature, and socio-political divisions - for example, boundaries between urban and natural terrain are often artificial, informed by administrative boundaries - exactly the type of information that purely physical or visual pretraining signals fail to encode explicitly. As a result, current encoders often struggle on downstream tasks where administrative context and localized place identity play a decisive role.

To bridge this gap, we use reverse-geocoded text as a rich, scalable, and relatively cheap signal for developing self-supervised location encoders. Reverse geocoding translates raw spatial coordinates into structured text strings containing hierarchical place names, administrative units, and other localized metadata. By training encoders to predict or align with these textual representations in a self-supervised manner, models can internalize both continuous spatial topology and discrete human-centric boundaries without requiring costly manual annotations. This supervision source is applicable across diverse encoder architectures, providing a fine-grained, semantically rich representation of geographic space that aligns well with human mental models of geography. The novel self-supervised training is one of the main contributions of our work, alongside a novel architecture tailored to reverse-geocoding supervision. As an additional contribution, we show evidence that reverse geocoded output improves interpretability in downstream systems.

The rest of the paper is structured as follows. We discuss past work and how our contributions complement these past approaches in section 2. Section 3 contains the description of our novel model architecture and the location encoder usage. Our main experimental results on downstream tasks are discussed in section 4, with a detailed ablation study discussed in section 5. We perform further analysis of the interpretability of our embeddings in section 6. Finally, we briefly discuss limitations to our approach in section 7, and conclude with future work in section 8.

References (32)