arXiv:2610.05497cs.LGOct 2026

Manuscript Offprint

arXiv:2610.05497

LEON: Location Embeddings from OSM Neighborhoods via Hexagonal Graph Masked Autoencoders

Szymon Soltysiak, Radoslaw Malek, Jedrzej Kusnierz, Milosz Chojecki, Piotr Szymanski, Aleksandra Kawala-Sterniuk

Szymon Soltysiak 1^{1}[0009-0001-2054-2857], Radoslaw Malek 1^{1}[0009-0007-1834-9453], Jedrzej Kusnierz 1^{1}[0009-0008-6086-9118], Milosz Chojecki 1^{1}[0009-0007-7802-3463], Piotr Szymanski 1^{1}[0000-0002-7733-3239], and Aleksandra Kawala-Sterniuk 1^{1}[0000-0001-7826-1292]

Department of Artificial Intelligence, Wrocław University of Science and Technology,

Wroclaw, Poland

{szymon.soltysiak,radoslaw.malek}@pwr.edu.pl,

{263494,268484}@student.pwr.edu.pl,

{piotr.szymanski,aleksandra.kawala-sterniuk}@pwr.edu.pl

Abstract. Geographic information systems increasingly rely on sophisticated spatial representation learning techniques to extract meaningful patterns from complex geospatial data. This paper introduces LEON, a novel self-supervised framework that adapts Graph Masked Autoencoders (GraphMAE) for geospatial region representation learning. Our method leverages the inherent spatial structure of geographic data by constructing hexagonal grid graphs using H3 indexing and applying masked autoencoding techniques to learn robust spatial embeddings from OpenStreetMap (OSM) amenity distribution patterns. We evaluate LEON on multiple real-world datasets including EuroSAT satellite imagery classification and various geographic prediction tasks (housing prices, crime prediction, and urban analytics). Experimental results demonstrate that LEON achieves significant improvements in spatial understanding, with up to 1.87% accuracy improvement on EuroSAT classification and consistent performance gains across geographic prediction benchmarks. The learned embeddings exhibit highly structured and distinct properties, making them particularly suitable for downstream spatial analysis tasks. Our findings suggest that self-supervised learning provides an effective paradigm for geospatial region representation learning using widely available crowdsourced data.

Keywords: Self-Supervised Learning · Graph Neural Networks · OpenStreetMap · Spatial Representation Learning · Geographic Information Systems.

1 Introduction

Geographic Information Systems (GIS) are crucial across domains like urban planning, environmental monitoring, and public safety [17, 18]. The growing

Soltysiak et al.

availability of satellite imagery and crowdsourced mapping creates unprecedented opportunities [3, 17]. However, learning meaningful geographic representations remains challenging due to data complexity and multi-scale spatial dependencies.

Recent advances in deep learning have shown promising results in spatial representation learning. Graph Neural Networks (GNNs) have emerged as particularly suitable architectures for modeling spatial relationships, as they can naturally capture the neighborhood structure and spatial autocorrelation present in geographic data [15, 16, 21]. However, most existing approaches rely on supervised learning paradigms that require extensive labeled datasets, which are often expensive to obtain for geographic applications.

Self-supervised learning has gained significant attention as an alternative paradigm that can learn meaningful representations without explicit labels. Masked Language Models (MLMs) like BERT [5] have demonstrated remarkable success in natural language processing, inspiring similar approaches in other domains. Recently, Masked Autoencoders (MAE) [10] have shown excellent performance in computer vision tasks by learning to reconstruct randomly masked portions of images.

The extension of masked autoencoding to graph domains has led to the development of GraphMAE [12], which adapts the masking strategy to graph-structured data. However, existing graph masked autoencoders have primarily focused on general graph learning tasks and have not been specifically tailored for the unique characteristics of geographic data.

This paper introduces LEON (Fig. 1), a novel self-supervised framework that adapts Graph Masked Autoencoders for geospatial region representation learning. Our key contributions include:

  1. A specialized self-supervised framework (LEON) for geospatial data that leverages hexagonal grid structures based on H3 indexing system.

  2. Comprehensive evaluation on multiple real-world geographic datasets, demonstrating consistent improvements over baseline approaches.

  3. Analysis of learned spatial embeddings showing desirable properties, including high anisotropy and scale-invariance.

  4. Demonstration of the effectiveness of self-supervised learning for spatial representation learning across diverse geographic applications.