A library for differentiable signal processing and machine learning on the sphere
Thorsten KurthMax RietmannMauro BissonAndrea ParisAlberto CarpentieriJean Kossaifi
Anima AnandkumarChristian HundtBoris Bonev Thorsten Kurth
Max Rietmann
Mauro Bisson
Andrea Paris
Alberto Carpentieri
Jean Kossaifi

Anima Anandkumar
Christian Hundt
Boris Bonev
+9
We present torch-harmonics, a PyTorch-based library providing efficient, differentiable implementations of advanced spherical signal processing and machine learning methods. The central contribution is a comprehensive toolset, including the spherical harmonic transform (SHT), vector spherical harmonics, discrete-continuous and spectral convolutions, and global and neighborhood spherical attention mechanisms. By offering these building blocks, torch-harmonics supports scalable, rotationally-aware spherical ML architectures such as spherical transformers, enabling research in domains where the sphere's topology and symmetry matter, such as geophysics, cosmology, and virtual reality.

arXiv ·
· September 30, 2026