LINX: A Fast, Differentiable, and Extensible Big Bang Nucleosynthesis Package
Cara Giovanetti, Mariangela Lisanti, Hongwan Liu, Siddharth Mishra-Sharma, Joshua T. Ruderman
TL;DR
LINX delivers an accurate, fast, and fully differentiable Big Bang Nucleosynthesis code built on JAX, enabling gradient-based inference and seamless coupling with differentiable CMB emulators for joint cosmological analyses. By modularizing background evolution and nuclear networks, LINX achieves sub-percent agreement with established codes while offering extensive network flexibility and a path to beyond-Standard-Model physics. Gradient-assisted inference, including neural-transport reparameterization and HMC, demonstrates efficient joint CMB+BBN analyses with practical resource needs, illustrating LINX’s potential to broaden exploration of early-Universe physics. The work highlights significant speedups, extensibility, and the practical impact of differentiable BBN in modern cosmology.
Abstract
We introduce LINX (Light Isotope Nucleosynthesis with JAX), a new differentiable public Big Bang Nucleosynthesis (BBN) code designed for fast parameter estimation. By leveraging JAX, LINX achieves both speed and differentiability, enabling the use of Bayesian inference, including gradient-based methods. We discuss the formalism used in LINX for rapid primordial elemental abundance predictions and give examples of how LINX can be used. When combined with differentiable Cosmic Microwave Background (CMB) power spectrum emulators, LINX can be used for joint CMB and BBN analyses without requiring extensive computational resources, including on personal hardware.
