mlsanityData to 14 Oct 2026

Attention on the Sphere

arXiv 2505.11157 ↗First posted 16 May 2025cs.LG cs.AIcited by 10

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,940
  4. 2020SE(3)-Transformers: 3D Roto-Translation Equivariant Attention Networkscited by 607
  5. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
  6. 2018Spherical CNNscited by 456
  7. 2021Neural Operator: Learning Maps Between Function Spacescited by 414
  8. 2017Joint 2D-3D-Semantic Data for Indoor Scene Understandingcited by 406
  9. 2022Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphscited by 264
  10. 2017Learning SO(3) Equivariant Representations with Spherical CNNscited by 248
  11. 2022Neighborhood Attention Transformercited by 239
  12. 2023Spherical Fourier Neural Operators: Learning Stable Dynamics on the Spherecited by 233
15 more
  1. 2024Poseidon: Efficient Foundation Models for PDEscited by 200
  2. 2020DeepSphere: a graph-based spherical CNNcited by 66
  3. 2024Neural Operators with Localized Integral and Differential Kernelscited by 62
  4. 2023Geographic Location Encoding with Spherical Harmonics and Sinusoidal Representation Networkscited by 61
  5. 2020Spin-Weighted Spherical CNNscited by 50
  6. 2020Efficient Generalized Spherical CNNscited by 29
  7. 2023Advancing Parsimonious Deep Learning Weather Prediction using the HEALPix Meshcited by 28
  8. 2022SE(3)-Equivariant Attention Networks for Shape Reconstruction in Function Spacecited by 27
  9. 2022VN-Transformer: Rotation-Equivariant Attention for Vector Neuronscited by 27
  10. 2022Scalable and Equivariant Spherical CNNs by Discrete-Continuous (DISCO) Convolutionscited by 24
  11. 2023Scaling Spherical CNNscited by 21
  12. 2024Faster Neighborhood Attention: Reducing the O(n^2) Cost of Self Attention at the Threadblock Levelcited by 14
  13. 2024SphereUFormer: A U-Shaped Transformer for Spherical 360 Perceptioncited by 13
  14. 2022Spherical Transformercited by 11
  15. 2024SE(3) Equivariant Ray Embeddings for Implicit Multi-View Depth Estimationcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 9.

10 papers.