synax : A Differentiable and GPU-accelerated Synchrotron Simulation Package
The Astrophysical Journal Supplement Series · 01.05.2025 · 278 (1) · 25
DOI: 10.3847/1538-4365/adc5ff ↗Kurz gefasst
Fachartikel in der Zeitschrift The Astrophysical Journal Supplement Series, online erschienen am 05.05.2025. Verfasst von Kangning Diao und 3 weiteren Autor:innen. Die Arbeit wurde bisher 5-mal zitiert (Crossref) und nennt 49 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: DOE ∣ Office of Science.
Abstract (Originalsprache)
We introduce synax ( https://github.com/dkn16/Synax ), a novel library for automatically differentiable simulation of Galactic synchrotron emission. Built on the JAX framework, synax leverages JAX’s capabilities, including batch acceleration, just-in-time compilation, and hardware-specific optimizations (CPU, GPU, TPU). Crucially, synax uses JAX’s automatic differentiation (AD) mechanism, enabling precise computation of analytical derivatives with respect to any model parameters. This facilitates powerful inference algorithms, such as Hamiltonian Monte Carlo (HMC) and gradient-based optimization, which enables inference over models that would otherwise be computationally prohibitive. In its initial release, synax supports synchrotron intensity and polarization calculations down to GHz frequencies, alongside several models of the Galactic magnetic field (GMF), cosmic-ray spectra, and thermal electron density fields. When running synax on the CPU we obtain identical performance to hammurabi , a state-of-the-art synchrotron simulation package, while on the GPU synax brings a 20-fold enhancement in efficiency. We further demonstrate the potential of AD in enabling full posterior inference using gradient-based inference algorithms. Using synax with HMC to perform inference over a four-parameter test model, we attain a twofold improvement compared to standard random walk Metropolis–Hastings (RWMH). When applied to a more complex 16-parameter model, HMC is still able to obtain accurate posterior expectations, while RWMH fails to converge. We also showcase the application of synax to optimizing the GMF based on the Haslam 408 MHz map, achieving residuals with a standard deviation below 1 K.
Förderung
- DOE ∣ Office of Science
Zitieren
APA
Diao, K., Li, Z., Grumitt, R. D. P., & Mao, Y. (2025). synax : A Differentiable and GPU-accelerated Synchrotron Simulation Package. The Astrophysical Journal Supplement Series, 278(1), 25. https://doi.org/10.3847/1538-4365/adc5ff
Vancouver
Diao K, Li Z, Grumitt RDP, Mao Y. synax : A Differentiable and GPU-accelerated Synchrotron Simulation Package. The Astrophysical Journal Supplement Series. 2025;278(1):25. doi:10.3847/1538-4365/adc5ff
BibTeX
@article{Diao2025,
author = {Diao, Kangning and Li, Zack and Grumitt, Richard D. P. and Mao, Yi},
title = {synax : A Differentiable and GPU-accelerated Synchrotron Simulation Package},
journal = {The Astrophysical Journal Supplement Series},
year = {2025},
volume = {278},
number = {1},
pages = {25},
doi = {10.3847/1538-4365/adc5ff}
}
EUVIMED