Localized, High-resolution Geographic Representations with Slepian Functions

Arjun Rao, Ruth Crasto, Tessa Ooms, David Rolnick, Konstantin Klemmer, Marc Rußwurm

TL;DR

Traditional geographic location encoders distribute their representational capacity uniformly across the globe, wasting compute on empty oceans while struggling to capture fine-grained local details. This paper introduces a novel location encoder based on spherical Slepian functions that concentrates high-resolution capacity entirely within a specific region of interest. By pairing these localized functions with coarse global spherical harmonics, the authors create a hybrid encoder that is computationally efficient, "pole-safe," and highly accurate for both local and global geospatial machine learning tasks.

What Problem Does This Paper Address?

Geospatial data is inherently localized—think of urban microclimates, localized disease outbreaks, or species habitats along a specific coastline. To use neural networks for these phenomena, researchers use geographic location encoders to map coordinate pairs (latitude and longitude) into high-dimensional vector spaces.

However, existing coordinate encoders (like Spherical Harmonics or Double Fourier Sphere bases) suffer from a fundamental flaw: they distribute their spatial resolution budget uniformly across the entire planet. If you want to increase the resolution to capture block-level details in San Francisco, you have to increase the frequency across the entire globe. This leads to a massive explosion in feature dimensions and severe numerical instability (standard Spherical Harmonics diverge beyond modest resolutions, typically around degree $L \geq 40$).

The challenge is to build a location encoder that can scale to ultra-high resolutions locally without breaking the computational budget or sacrificing global context.

Methods

The authors turn to Slepian functions (specifically prolate spheroidal wave functions adapted to a sphere). These functions mathematically solve the "concentration problem": finding a set of band-limited functions that maximize their energy within a specific region of interest (ROI) while remaining orthogonal across the whole sphere.

The core components of their methodology include:

  1. Spherical Slepian Caps: To avoid the intractable computational cost of calculating Slepian functions for arbitrary shapes, the authors use circular "patches" (spherical caps). For these caps, the concentration matrix block-diagonalizes, making high-resolution calculations computationally feasible.
  2. The Regional Shannon Number: The encoder uses the regional Shannon number $N(R, L_r)$ as an information-theoretic budget. It selects only the top $K$ well-concentrated eigenfunctions where eigenvalues $\mu \approx 1$, discarding the rest. This drastically reduces the embedding dimensionality.
  3. Hybrid Slepian-SH Architecture: To ensure the model doesn't completely lose global context (which is vital when background samples are drawn globally), they concatenate the high-resolution regional Slepian component with a low-resolution, stable global Spherical Harmonic (SH) backbone.
Figure 2. Constructing our hybrid Slepian encoder. ( A ) For a region encompassing the geographic coordinate, we compute Slepian eigenfunctions {gn} ordered by their eigenvalues µn and discard modes with eigenvalues under the regional Shannon number to form our Slepian positional encoder. These modes are concatenated with global SH basis functions ( B ) of a coarse resolution to form our hybrid positional embedding ( C ). The hybrid positional embedding is passed to a neural network to form our final location encoder that captures high-resolution detail within the region-of-interest (ROI) while retaining global context ( D ).
  1. Spatio-Temporal Extension: They extend this concentration principle to the time domain using Discrete Prolate Spheroidal Sequences (DPSS) to handle finite, non-periodic temporal data (like a single year of climate data) without suffering from the spectral leakage common to Fourier methods.

Datasets

The authors benchmarked their approach across five diverse tasks:

  • California Housing: A classic spatial regression task predicting median house prices.
  • Japan Prefectures: A highly challenging classification task focusing on points within 2 km of tightly packed administrative boundaries.
  • Arctic Mean Sea Surface (MSS): An oceanographic interpolation task specifically chosen to evaluate "pole-safety" (handling coordinate singularities at the poles).
  • AI2 Climate Emulator (ACE): A spatio-temporal dataset consisting of 94.6M points simulating atmospheric air temperatures across 8 pressure levels.
  • OpenBuildings: A geo-aware image regression task mapping high-resolution satellite imagery to building densities across four global regions.
  • iNaturalist: Presence-only species distribution modeling evaluated against expert range maps (eBird and IUCN).

Key Insights and Ideas

  • Sparsity is Intrinsic: Because Slepian functions concentrate energy inside the ROI, the feature dimension scales with the area fraction of the region rather than the entire sphere. For example, resolving details over Sri Lanka at a high bandlimit requires only 9 regional modes, compared to over 66,000 modes required by a global basis.
  • Inherited Pole-Safety: Because Slepian functions are constructed as linear combinations of spherical harmonics, they are completely analytic and smooth everywhere—including at the poles where standard latitude-longitude grids break down.
  • Bridging the Local-Global Tradeoff: Purely regional encoders fail when models evaluate global background data (like pseudo-negatives in species modeling). The hybrid approach provides a stable global baseline while injecting localized degrees of freedom.

Key Results

  • Superior Accuracy with Fewer Dimensions: On the California Housing task, the Hybrid Slepian encoder achieved an $R^2$ of 0.71 using only 186 embedding dimensions, outperforming a high-bandlimit global SH encoder ($R^2 = 0.64$) which required 1,600 dimensions.
  • Compute Efficiency: As shown in the Pareto front analysis, Slepians drastically outperform SH baselines at higher resolutions. At a matched performance level, Slepians deliver a 3× training speedup over Spherical Harmonics.
Compute-performance Pareto front
  • Sharp, Artifact-Free Interpolation: In the Arctic MSS task, where high-degree global SH completely diverges, the Slepian encoder successfully recovered sharp gradients and localized anomalies near the North Pole without introducing structured artifacts.
Qualitative comparison on Arctic MSS reconstruction

Limitations and Future Work

  • Manual Specification: The primary limitation is that the target region $R$, the cap radius $\Theta$, and the bandlimits must be manually specified using domain knowledge.
  • Data Density Requirements: High-resolution Slepian caps require a high density of local training observations to properly learn the weights for the highly concentrated, high-frequency modes.
  • Future Directions: The authors point toward developing adaptive-resolution location encoders that can automatically learn region boundaries or apply attention mechanisms over multiple regional bases, eliminating manual tuning.

Summary updated

BibTeX
@inproceedings{rao2026localized,
  author = {Arjun Rao and Ruth Crasto and Tessa Ooms and David Rolnick and Konstantin Klemmer and Marc Rußwurm},
  title = {{Localized, High-resolution Geographic Representations with Slepian Functions}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=eWQQ0tO0kB},
}
Figure