$\texttt{synax}$: A Differentiable and GPU-accelerated Synchrotron Simulation Package
Kangning Diao, Zack Li, Richard D.P. Grumitt, Yi Mao

TL;DR
synax is a GPU-accelerated, differentiable simulation library for Galactic synchrotron emission that enables efficient gradient-based inference and optimization, significantly improving computational performance and enabling complex model fitting.
Contribution
It introduces synax, a novel JAX-based library that provides automatic differentiation and GPU acceleration for synchrotron emission modeling, facilitating advanced inference techniques.
Findings
GPU acceleration yields twenty-fold speedup.
HMC outperforms RWMH in complex models.
Successful optimization of GMF with low residuals.
Abstract
We introduce 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 derivatives with respect to any model parameters. This feature 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 (CR) spectra, and thermal electron density fields. We…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Electron Microscopy Techniques and Applications · Machine Learning in Materials Science · Electron and X-Ray Spectroscopy Techniques
