Papers › Differentiable and accelerated spherical harmonic and Wigner transforms

Differentiable and accelerated spherical harmonic and Wigner transforms

24 Nov 2023arXiv:2311.14670archive 2025-07-28

Matthew A. Price, Jason D. McEwen

Many areas of science and engineering encounter data defined on spherical manifolds. Modelling and analysis of spherical data often necessitates spherical harmonic transforms, at high degrees, and increasingly requires efficient computation of gradients for machine learning or other differentiable programming tasks. We develop novel algorithmic structures for accelerated and differentiable computation of generalised Fourier transforms on the sphere 𝕊² and rotation group SO(3), i.e. spherical harmonic and Wigner transforms, respectively. We present a recursive algorithm for the calculation of Wigner d-functions that is both stable to high harmonic degrees and extremely parallelisable. By tightly coupling this with separable spherical transforms, we obtain algorithms that exhibit an extremely parallelisable structure that is well-suited for the high throughput computing of modern hardware accelerators (e.g. GPUs). We also develop a hybrid automatic and manual differentiation approach so that gradients can be computed efficiently. Our algorithms are implemented within the JAX differentiable programming framework in the S2FFT software code. Numerous samplings of the sphere are supported, including equiangular and HEALPix sampling. Computational errors are at the order of machine precision for spherical samplings that admit a sampling theorem. When benchmarked against alternative C codes we observe up to a 400-fold acceleration. Furthermore, when distributing over multiple GPUs we achieve very close to optimal linear scaling with increasing number of GPUs due to the highly parallelised and balanced nature of our algorithms. Provided access to sufficiently many GPUs our transforms thus exhibit an unprecedented effective linear time complexity.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2311.14670")

Code

Syntology Ran 10 of 13 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 9 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

astro-informatics/s2fft officialmentioned in papermentioned on GitHubjaxMIT report
astro-informatics/s2scat mentioned on GitHubjax report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 10 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · fixture could not drive it
9ran
3unverified

Licence: 1 of the 13 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from astro-informatics/s2fft. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_full astro-informatics/s2fft/s2fft/recursions/risbo.py official repository ran MIT (permissive) · a4e804d1d407a86e · report
compute_full astro-informatics/s2fft/s2fft/recursions/risbo_jax.py official repository ran MIT (permissive) · 552a27b0485e72c0 · report
compute_full_vectorised astro-informatics/s2fft/s2fft/recursions/risbo.py official repository ran MIT (permissive) · 2447906fec80c98c · report
compute_quarter_slice astro-informatics/s2fft/s2fft/recursions/turok.py official repository ran MIT (permissive) · 026fdb890667ab0e · report
compute_slice astro-informatics/s2fft/s2fft/recursions/turok.py official repository ran MIT (permissive) · 346716e3f7703576 · report
init astro-informatics/s2fft/s2fft/recursions/trapani.py official repository ran MIT (permissive) · 94b976a8c3413231 · report
init_jax astro-informatics/s2fft/s2fft/recursions/trapani.py official repository ran fingerprinted MIT (permissive) · 673585ba8e588087 · report
init_nonjax astro-informatics/s2fft/s2fft/recursions/trapani.py official repository ran fingerprinted MIT (permissive) · 3f7d7b4c5efdc5fd · report
wigner_subset_to_s2 astro-informatics/s2fft/s2fft/precompute_transforms/custom_ops.py official repository ran MIT (permissive) · ecb6493183644480 · report
compute_full astro-informatics/s2fft/s2fft/recursions/turok.py official repository unverified MIT (permissive) · 1ba1cd2ff98f34dc · report
so3_to_wigner_subset astro-informatics/s2fft/s2fft/precompute_transforms/custom_ops.py official repository unverified MIT (permissive) · 15e9838df19f7d05 · report
wigner_subset_to_s2_jax astro-informatics/s2fft/s2fft/precompute_transforms/custom_ops.py official repository unverified MIT (permissive) · 9a351188dfafb704 · report
C01_C11_to_isotropic identical code first harvested elsewhere ran · fixture could not drive it fingerprinted licence of this copy not recorded · 2201fad4e6787496 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections