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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2ee6621c-8ee2-4946-88be-b4e2c0d0008aCited 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
