Diffhalos: A Generative Model of Cosmological Lightcones of Dark Matter Halos

arXiv:2607.10419 · astro-ph.GA, astro-ph.CO · Submitted 2026-07-11 · Read on arXiv

Georgios Zacharegkas, Andrew P. Hearin, Alan Pearl, Matthew R. Becker, Florian Kéruzoré, Sara Ortega-Martinez

astro-ph.GA, astro-ph.CO

Submitted: 2026-07-11

Comments: 10 pages, 9 figures, source code publicly available at https://github.com/ArgonneCPAC/diffhalos

Code: https://github.com/ArgonneCPAC/diffhalos

License: http://creativecommons.org/licenses/by/4.0/

The gist: We present a generative model of cosmological lightcones of dark matter halos, Diffhalos.

Terminology

Abstract

We present a generative model of cosmological lightcones of dark matter halos, Diffhalos. In our model, we draw Monte Carlo samples of the halo mass function in a lightcone with a JAX-based implementation of the halo model, Halox, and we generate samples of subhalos by drawing from a model for the conditional subhalo mass function. We generate mass assembly histories (MAHs) using a normalizing flow trained on merger trees in cosmological N-body simulations. We show that Diffhalos can generate samples of halos, subhalos, and their MAHs with a statistical distribution that accurately approximates populations in simulated lightcones. As an example application, we use Diffhalos to calculate gradients of the halo and subhalo mass functions with respect to cosmological parameters. We conclude with a discussion of ongoing work using Diffhalos together with models of the galaxy--halo connection to make theoretical predictions for cosmological populations of galaxies, and to generate mock galaxy catalogs.

Sources

Related papers