Attention on the Sphere
Not on the map. Why?
Abstract (arXiv)
We introduce a generalized attention mechanism for spherical domains, enabling Transformer architectures to natively process data defined on the two-dimensional sphere - a critical need in fields such as atmospheric physics, cosmology, and robotics, where preserving spherical symmetries and topology is essential for physical accuracy. By integrating numerical quadrature weights into the attention mechanism, we obtain a geometrically faithful spherical attention that is approximately rotationally equivariant, providing strong inductive biases and leading to better performance than Cartesian approaches. To further enhance both scalability and model performance, we propose neighborhood attention on the sphere, which confines interactions to geodesic neighborhoods. This approach reduces computational complexity and introduces the additional inductive bias for locality, while retaining the symmetry properties of our method. We provide optimized CUDA kernels and memory-efficient implementations to ensure practical applicability. The method is validated on three diverse tasks: simulating shallow water equations on the rotating sphere, spherical image segmentation, and spherical depth estimation. Across all tasks, our spherical Transformers consistently outperform their planar counterparts, highlighting the advantage of geometric priors for learning on spherical domains.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 27 of its 40 references that are in the map. First posted on arXiv 16 May 2025.
Builds on
27 of 40 references.
References · 27
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,940
- 2020SE(3)-Transformers: 3D Roto-Translation Equivariant Attention Networkscited by 607
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2018Spherical CNNscited by 456
- 2021Neural Operator: Learning Maps Between Function Spacescited by 414
- 2017Joint 2D-3D-Semantic Data for Indoor Scene Understandingcited by 406
- 2022Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphscited by 264
- 2017Learning SO(3) Equivariant Representations with Spherical CNNscited by 248
- 2022Neighborhood Attention Transformercited by 239
- 2023Spherical Fourier Neural Operators: Learning Stable Dynamics on the Spherecited by 233
15 more
- 2024Poseidon: Efficient Foundation Models for PDEscited by 200
- 2020DeepSphere: a graph-based spherical CNNcited by 66
- 2024Neural Operators with Localized Integral and Differential Kernelscited by 62
- 2023Geographic Location Encoding with Spherical Harmonics and Sinusoidal Representation Networkscited by 61
- 2020Spin-Weighted Spherical CNNscited by 50
- 2020Efficient Generalized Spherical CNNscited by 29
- 2023Advancing Parsimonious Deep Learning Weather Prediction using the HEALPix Meshcited by 28
- 2022SE(3)-Equivariant Attention Networks for Shape Reconstruction in Function Spacecited by 27
- 2022VN-Transformer: Rotation-Equivariant Attention for Vector Neuronscited by 27
- 2022Scalable and Equivariant Spherical CNNs by Discrete-Continuous (DISCO) Convolutionscited by 24
- 2023Scaling Spherical CNNscited by 21
- 2024Faster Neighborhood Attention: Reducing the O(n^2) Cost of Self Attention at the Threadblock Levelcited by 14
- 2024SphereUFormer: A U-Shaped Transformer for Spherical 360 Perceptioncited by 13
- 2022Spherical Transformercited by 11
- 2024SE(3) Equivariant Ray Embeddings for Implicit Multi-View Depth Estimationcited by 6
Built on by
Citing papers per year: 2025: 1; 2026: 9.
10 papers.
- 2026SO3UFormer: Learning Intrinsic Spherical Features for Rotation-Robust Panoramic Dense Predictioncited by 2
- 2026MARA: Continuous SE(3)-Equivariant Attention for Molecular Force Fieldscited by 1
- 2026Riemann GeoResolver: A Non-Euclidean Attention Framework from Euclidean Resolver to Hyperbolic-Spherical Geometrycited by 1
- 2025HRTFformer: A Spatially-Aware Transformer for Individual HRTF Upsampling in Immersive Audio Renderingcited by 0
- 2026Chem-GMNet: A Sphere-Native Geometric Transformer for Molecular Property Predictioncited by 0
- 2026DoRF++: Spherical Representation Learning over Doppler Radiance Fields for Robust Wi-Fi Sensingcited by 0
- 2026Dandelion: A Spherical Flower for Neural Simulation of Planetary Dynamicscited by 0
- 2026Refinement Symmetry in Multimodal Transformerscited by 0
- 2026A library for differentiable signal processing and machine learning on the spherecited by 0
- 2026SO(3)-RoPE for Spherical Transformerscited by 0
- 2026SO(3)-RoPE for Spherical Transformers5 Oct 2026
- 2026A library for differentiable signal processing and machine learning on the sphere30 Sep 2026
- 2026Refinement Symmetry in Multimodal Transformers26 Sep 2026
- 2026Dandelion: A Spherical Flower for Neural Simulation of Planetary Dynamics27 Aug 2026
- 2026Riemann GeoResolver: A Non-Euclidean Attention Framework from Euclidean Resolver to Hyperbolic-Spherical Geometry11 Aug 2026
- 2026DoRF++: Spherical Representation Learning over Doppler Radiance Fields for Robust Wi-Fi Sensing9 Aug 2026
- 2026Chem-GMNet: A Sphere-Native Geometric Transformer for Molecular Property Prediction13 May 2026
- 2026SO3UFormer: Learning Intrinsic Spherical Features for Rotation-Robust Panoramic Dense Prediction26 Feb 2026
- 2026MARA: Continuous SE(3)-Equivariant Attention for Molecular Force Fields2 Feb 2026
- 2025HRTFformer: A Spatially-Aware Transformer for Individual HRTF Upsampling in Immersive Audio Rendering2 Oct 2025