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

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

arXiv:2607.10419·astro-ph.GA·Published 2026-07-11

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.

TopicsGenerative Models & Discovery

Tagsdark-matter

arXiv categoriesastro-ph.GA, astro-ph.CO

arXiv abstract pagePDF