Geographic Location Encoding with Spherical Harmonics and Sinusoidal Representation Networks
Marc Rußwurm, Konstantin Klemmer, Esther Rolf, Robin Zbinden, Devis Tuia
Abstract
Learning representations of geographical space is vital for any machine learning model that integrates geolocated data, spanning application domains such as remote sensing, ecology, or epidemiology. Recent work embeds coordinates using sine and cosine projections based on Double Fourier Sphere (DFS) features. These embeddings assume a rectangular data domain even on global data, which can lead to artifacts, especially at the poles. At the same time, little attention has been paid to the exact design of the neural network architectures with which these functional embeddings are combined. This work proposes a novel location encoder for globally distributed geographic data that combines spherical harmonic basis functions, natively defined on spherical surfaces, with sinusoidal representation networks (SirenNets) that can be interpreted as learned Double Fourier Sphere embedding. We systematically evaluate positional embeddings and neural network architectures across various benchmarks and synthetic evaluation datasets. In contrast to previous approaches that require the combination of both positional encoding and neural networks to learn meaningful representations, we show that both spherical harmonics and sinusoidal representation networks are competitive on their own but set state-of-the-art performances across tasks when combined. The model code and experiments are available at https://github.com/marccoru/locationencoder .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
22 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Spatial Implicit Neural Representations for Global-Scale Species Mapping cites Multi-Scale Representation Learning for Spatial Feature Distributions using Grid Cells
- Spatial Implicit Neural Representations for Global-Scale Species Mapping cites Presence-Only Geographical Priors for Fine-Grained Image Classification
- Combining Observational Data and Language for Species Range Estimation cites Spatial Implicit Neural Representations for Global-Scale Species Mapping
- Combining Observational Data and Language for Species Range Estimation cites SatCLIP: Global, General-Purpose Location Embeddings with Satellite Imagery
- Combining Observational Data and Language for Species Range Estimation cites Active Learning-Based Species Range Estimation
- Multi-Scale Representation Learning for Spatial Feature Distributions using Grid Cells cites Presence-Only Geographical Priors for Fine-Grained Image Classification
- CSP: Self-Supervised Contrastive Spatial Pre-Training for Geospatial-Visual Representations cites Multi-Scale Representation Learning for Spatial Feature Distributions using Grid Cells
- CSP: Self-Supervised Contrastive Spatial Pre-Training for Geospatial-Visual Representations cites Presence-Only Geographical Priors for Fine-Grained Image Classification
- SatCLIP: Global, General-Purpose Location Embeddings with Satellite Imagery cites Spatial Implicit Neural Representations for Global-Scale Species Mapping
- SatCLIP: Global, General-Purpose Location Embeddings with Satellite Imagery cites Implicit Neural Representations with Periodic Activation Functions
- SatCLIP: Global, General-Purpose Location Embeddings with Satellite Imagery cites Multi-Scale Representation Learning for Spatial Feature Distributions using Grid Cells
- SatCLIP: Global, General-Purpose Location Embeddings with Satellite Imagery cites Presence-Only Geographical Priors for Fine-Grained Image Classification
- SatCLIP: Global, General-Purpose Location Embeddings with Satellite Imagery cites CSP: Self-Supervised Contrastive Spatial Pre-Training for Geospatial-Visual Representations
- Active Learning-Based Species Range Estimation cites Presence-Only Geographical Priors for Fine-Grained Image Classification
Cited by top-tier papers22
- Mastering Sparse CUDA Generation through Pretrained Models and Deep Reinforcement LearningYaoyu Wang, Hankun Dai, Zhidong Yang, Junmin Xiao et al.ICLR 2026 · 476 citations
- SatCLIP: Global, General-Purpose Location Embeddings with Satellite ImageryKonstantin Klemmer, Esther Rolf, Caleb Robinson, Lester Mackey et al.AAAI 2025 · 173 citations
- Combining Observational Data and Language for Species Range EstimationMax Hamilton, Christian Lange, Elijah Cole, Alexander Shepard et al.NeurIPS 2024 · 18 citations
- Active Learning-Based Species Range EstimationChristian Lange, Elijah Cole, Grant Van Horn, Oisin Mac AodhaNeurIPS 2023 · 18 citations
- Attention on the SphereBoris Bonev, Max Rietmann, Andrea Paris, Alberto Carpentieri et al.NeurIPS 2025 · 13 citations
Builds on7
- Implicit Neural Representations with Periodic Activation FunctionsVincent Sitzmann, Julien N. P. Martel, Alexander W. Bergman, David B. Lindell et al.NeurIPS 2020 · 4,008 citations
- Presence-Only Geographical Priors for Fine-Grained Image ClassificationOisin Mac Aodha, Elijah Cole, Pietro PeronaICCV 2019 · 206 citations
- Multi-Scale Representation Learning for Spatial Feature Distributions using Grid CellsGengchen Mai, Krzysztof Janowicz, Bo Yan, Rui Zhu et al.ICLR 2020 · 161 citations
- CSP: Self-Supervised Contrastive Spatial Pre-Training for Geospatial-Visual RepresentationsGengchen Mai, Ni Lao, Yutong He, Jiaming Song et al.ICML 2023 · 103 citations
- Spatial Implicit Neural Representations for Global-Scale Species MappingElijah Cole, Grant Van Horn, Christian Lange, Alexander Shepard et al.ICML 2023 · 70 citations
Related papers
- Localized, High-resolution Geographic Representations with Slepian FunctionsArjun Rao, Ruth Crasto, Tessa Ooms, David Rolnick et al.ICML 2026 · 2 citations
- LocDiff: Identifying Locations on Earth by Diffusing in the Hilbert SpaceZhangyu Wang, Zeping Liu, Jielu Zhang, Zhongliang Zhou et al.NeurIPS 2025 · 7 citations
- SASNet: Spatially-Adaptive Sinusoidal Networks for INRsHaoan Feng, Diana Aldana, Tiago Novello, Leila De FlorianiCVPR 2026 · 4 citations
- 3D Equivariant Pose Regression via Direct Wigner-D Harmonics PredictionJongmin Lee, Minsu ChoNeurIPS 2024 · 6 citations
- Learning High-Frequency Functions Made Easy with Sinusoidal Positional EncodingChuanhao Sun, Zhihang Yuan, Kai Xu, Luo Mai et al.ICML 2024 · 12 citations
