ABCMB: A Python+JAX Package for the Cosmic Microwave Background Power Spectrum
summary
The gist
This paper presents ABCMB (Autodifferentiable Boltzmann solver for the CMB), a new differentiable Einstein-Boltzmann solver designed for cosmic microwave background (CMB) analysis.
In short
ABCMB is a Python and JAX-based package used to model the Cosmic Microwave Background power spectrum. The hosts discuss its ability to simulate early universe physics, its GPU optimization for high-resolution data, and its differentiable nature which improves parameter estimation. They also note its flexible design for testing new physics.
Key concepts
- Differentiable code
- This means the code provides mathematical gradients that show exactly how results change when a cosmological parameter is adjusted. Instead of providing just a single answer, this capability makes the process of parameter estimation much more efficient for researchers analyzing early universe data.
- JAX-based simulation
- By using JAX, ABCMB acts as a high-performance simulator for the early universe. This allows researchers to model complex interactions of light and matter using modern computing techniques and GPU optimization, which can outperform single-core CPU runs when working with high-resolution data.
- Object-oriented design
- The package's design allows researchers to add new physics, such as new particle species, without modifying the original source files. A user can define a new particle as a simple Python class, and the entire solver integrates it automatically, lowering the barrier for testing new dark matter models.
Terminology used across episodes
This episode discusses
- ABCMB: A Python+JAX Package for the Cosmic Microwave Background Power Spectrum · Paper Radio
- Evidence for dark matter interactions in cosmological precision data?
- Interacting Dark Sector and Precision Cosmology
- Reducing the H 0 and sigma 8 tensions with Dark Matter-neutrino interactions
- Early Dark Energy Can Resolve The Hubble Tension
- A Critical Assessment of CMB Limits on Dark Matter-Baryon Scattering: New Treatment of the Relative Bulk Velocity
- Cosmological implications of ultra-light axion-like fields
- CMB power spectrum parameter degeneracies in the era of precision cosmology
- Constraining Dark Acoustic Oscillations with the High-Redshift UV Luminosity Function
- Neutrino decoupling including flavour oscillations and primordial nucleosynthesis
- Towards a precision calculation of N eff in the Standard Model II: Neutrino decoupling in the presence of flavour oscillations and finite-temperature QED
- PArthENoPE: Public Algorithm Evaluating the Nucleosynthesis of Primordial Elements
- PArthENoPE Revolutions
- Radiative transfer effects in primordial hydrogen recombination
- Fast and accurate CMB computations in non-flat FLRW universes
The paper
ABCMB: A Python+JAX Package for the Cosmic Microwave Background Power Spectrum · Read on arXiv
Zilu Zhou, Cara Giovanetti, Hongwan Liu
New York University · Lawrence Berkeley National Laboratory · University of California, Berkeley · Boston University
We present ABCMB, a differentiable Einstein-Boltzmann solver for the cosmic microwave background (CMB). ABCMB is an analysis-ready code package capturing important effects to linear order in Λ CDM cosmology. It computes the CMB power spectrum and includes effects like lensing, polarization, massive neutrinos, and a state-of-the-art treatment of Big Bang Nucleosynthesis and recombination. ABCMB has sub-percent-level agreement with CLASS and can be run on a GPU with competitive, and sometimes even faster, run times, owing to ABCMB's favorable run time scaling with maximum multipole moment. It is refactored compared to previous codes and takes advantage of object-oriented programming to improve extensibility, meaning new physics can be added to it without the need for modifying source files. ABCMB provides accurate and stable gradients to the user, making Fisher analyses straightforward, and enabling the use of efficient gradient-based sampling methods.
DOI: 10.1088/1475-7516/2026/08/078
Transcript
Introduction to the show: ident: Astrophysics Radio. Generated commentary on the latest astrophysics papers.
Vera: Next we'll be talking about the paper "ABCMB: A Python+JAX Package for the Cosmic Microwave Background Power Spectrum".
Jocelyn: The paper was written by Zilu Zhou, Cara Giovanetti and Hongwan Liu from New York University and Lawrence Berkeley National Laboratory and University of California, Berkeley and Boston University.
Vera: Stay tuned as we take you through the paper and discuss its implications.
Jocelyn: We also have Subrahmanyan with us today — guest researcher.
Vera: Alright, let's get started.
Title: Vera: We're starting our show with a new paper titled 'ABCMB: A Python+JAX Package for the Cosmic Microwave Background Power Spectrum'. It's written by Zilu Zhou, Cara Giovanetti, and Hongwan Liu.
Jocelyn: That title is a lot to take in, Vera. What does a 'Python and JAX package' actually mean for someone trying to interpret CMB data?
Subrahmanyan: It acts as a high-performance simulator for the early universe. By using JAX, the authors are able to model the complex interactions of light and matter using modern computing techniques.
Vera: I noticed the authors are coming from heavy-hitting institutions like NYU and Berkeley.
Jocelyn: Does that mean this is a tool specifically designed for the big survey teams?
Subrahmanyan: It's certainly built for that level of precision. This software provides a way to test cosmological models against the high-resolution data coming from missions like Planck or the Simons Observatory.
Vera: I'm so excited to see how this impacts our ability to map the sky.
Jocelyn: We definitely need to see what this code actually does under the hood.
Summary: Vera: We're diving into the mechanics of 'ABCMB: A Python+JAX Package for the Cosmic Microwave Background Power Spectrum'. It handles everything from gravitational lensing to the effects of massive neutrinos.
Jocelyn: I was reading about how it manages recombination and BBN. How does a software package handle the physics of the first few minutes of the universe?
Subrahmanyan: They've integrated specialized modules called LINX and HyRex to do that. These allow the code to calculate the abundance of elements and the state of the early plasma with extreme precision.
Vera: And the whole system is differentiable.
Jocelyn: I've heard that term used in machine learning, but how does it apply to the sky?
Subrahmanyan: It means the code doesn't just give you a single answer. It provides the mathematical gradients that show exactly how your results change when you adjust a cosmological parameter.
Vera: That's going to make parameter estimation so much more efficient.
Jocelyn: We should check how it compares to the current industry standards.
Improvements: Vera: Let's talk about the results for 'ABCMB: A Python+JAX Package for the Cosmic Microwave Background Power Spectrum'. The authors claim subpercent agreement with the standard CLASS code.
Jocelyn: If it's that accurate, I'm wondering about the computational cost. Is it going to be a slog to run on a standard workstation?
Subrahmanyan: That's the beauty of the GPU optimization they've implemented. The code can actually outperform single-core CPU runs, especially when you're working with high-resolution data.
Vera: I also love the object-oriented design they used. They mention you can add new physics without ever touching the original source files.
Jocelyn: That sounds like a massive win for researchers testing new dark matter models.
Subrahmanyan: It really lowers the barrier to entry for new physics. You can define a new particle species as a simple Python class and the entire solver integrates it automatically.
Vera: It's such a flexible approach for the community.
Jocelyn: We're almost ready to wrap this up.
Conclusion: Vera: We're wrapping up our discussion on 'ABCMB: A Python+JAX Package for the Cosmic Microwave Background Power Spectrum'.
Jocelyn: This tool feels like it will be a staple for the next generation of CMB surveys.
Subrahmanyan: It provides a powerful link between theoretical particle physics and observational data.
Vera: We've seen how it can change the way we analyze the early universe.
Jocelyn: I'm really looking forward to seeing it used in the next big data release.
Subrahmanyan: It's a significant step forward for computational cosmology.
Vera: Thanks for joining us today, everyone.
Jocelyn: See you for the next paper.
More episodes
- 2605.15146-Matter Flavor Conversion Mediated by Pseudo-Sterile States as the Possible Origin of Neutrino Oscillation Anomalies
- 2503.19660-Effect of ultralight dark matter on compact binary mergers
- 2510.25383-Rapid bulge assembly in young galaxy disks at Cosmic Dawn
- 2505.02253-Infrared-Selected Active Galactic Nuclei in the Kepler Fields
- 2511.21627-New Signs Pointing Toward a Correlation Between Astrophysical Neutrinos and Radio Flares
- 2605.05327-Shape of the direct-method mass-metallicity relation with JWST: Fast-Track Nitrogen and Helium Enrichment
- 2605.28752-Inflation with vector fields revisited: non-Gaussianities
- 2605.11332-Reviving primordial black hole formation in slow first-order phase transitions
- 2606.04083-Studying the absorption signatures of H I Lyman-alpha in the warm-hot circumgalactic medium with TNG50
- 2605.13955-Exploring neutrino loss with diffuse astrophysical neutrino fluxes