Searcharxiv⌕ Search

arXiv · 2610.00725

Emulation of the Halo Mass Function with Neural Networks

Abstract

The abundance of galaxy clusters as a function of mass --- the halo mass function (HMF) --- depends strongly on cosmological parameters. Large-scale simulations are computationally expensive, motivating emulators that interpolate simulation outputs. We present a neural network emulator that maps cosmological and astrophysical parameters, halo mass, and redshift directly to a cumulative count of halos above the input mass, avoiding the information loss inherent to binning and to the functional or PCA-based data reduction used in prior emulators. Each emulator prediction is accompanied by a self-estimated error, expressed in units of Poisson shot noise, that the network learns to predict alongside the halo count itself --- giving every output a built-in confidence metric. We validate the emulator with leave-one-out tests on three simulation suites --- the N-body MassiveNus suite and the hydrodynamical CAMELS IllustrisTNG and SIMBA suites --- spanning a range of box sizes, redshifts, sub-grid physics, and softwares. Of all the held-out predictions ($1.2\times 10^6$ in total), 88\% have model bias at or below shot noise and 99.9\% are within $3\times$ shot noise. The only significant high-error tail is in MassiveNus, where the predicted model bias flags 76\% of predictions exceeding $3\times$ shot noise; the remaining number of high error predictions is comparable to the number expected from shot noise alone. This emulator is publicly available and can be trained on other simulation suites making it a flexible HMF tool that can be used for cosmological and astrophysical inference.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Olive Ross, Nicholas Battaglia. 2026-09-30. Emulation of the Halo Mass Function with Neural Networks. https://arxiv.org/abs/2610.00725

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Analytical weak-lensing shear response of galaxy model fitting

Galaxy model fitting is widely employed to estimate properties such as galaxy shape, size, and color. Understanding how the outputs of galaxy model fitting respond to weak-lensing shear distortions is crucial for accurate shear estimation and mitigating shear-related systematics in weak lensing image analyses. In this paper, we investigate how the fitted parameters - specifically flux, size, and shape - respond to weak-lensing shear distortions within the AnaCal framework. To achieve this, we introduce quintuple numbers, a novel algebraic system inspired by dual numbers from automatic differentiation. Quintuple numbers enable the propagation of shear response information throughout the entire model-fitting process by linking analytical pixel shear responses to those of the fitted parameters. We integrate quintuple numbers into the AnaCal framework to derive the shear responses of shapes estimated with model fitting and validate the pipeline using image simulations that include realistic blending. Our results demonstrate that the multiplicative bias remains below 0.003 for ground-based, oversampled images.

astro-ph.CO↗

Reionization, UV Luminosity and 21$\,$cm Sensitivity to Primordial Magnetic Fields: Impact of Energy Losses

Magnetic fields with field strengths between $10^{-17}\,$G and a few Nanogauss are expected to exist today in the intergalactic medium (IGM). Their origin is unknown, but may be of primordial nature, in which case they would have influenced the thermal and ionization history of the IGM as well as the growth of small-scale matter perturbations. In this work, we revisit constraints on Primordial Magnetic fields (PMFs) by consistently accounting for their energy losses through ambipolar diffusion and decaying turbulences from recombination through the epoch of reionization, which progressively reduces the magnetic field strength over time. We implement these effects in ${\tt HyRec}$ and ${\tt exo21cmFAST}$ to model the interplay between PMFs and astrophysical processes up to reionization. Using a neural-network emulator (${\tt NNERO}$), we perform a MCMC analysis that combines late-time probes of the reionization history and galaxy UV luminosity functions. We find that including PMF energy losses significantly relaxes previous bounds, as the reduced field strength suppresses their imprint on observables. Employing a Fisher matrix analysis, we estimate the sensitivity of the 21$\,$cm signal experiment HERA to the PMFs' imprint on intergalactic medium perturbations and show that 21$\,$cm cosmology could significantly improve on current bounds, depending on assumptions on the astrophysics. Our results highlight the importance of modeling PMF evolution self-consistently with the IGM evolution to extract current bounds and future sensitivities.

astro-ph.CO↗

Cosmology with Intensity Mapping via Statistics Beyond the Power Spectrum in the SKAO Era

The cosmological distribution of neutral hydrogen (HI) during the post-reionization era is highly non-Gaussian due to the underlying non-linear structure formation, complex galaxy biasing, and potential primordial non-Gaussianity. One needs higher-order (beyond two-point) statistics to maximally extract the non-Gaussian information out of the 21-cm intensity maps. This chapter summarizes the potential of several higher-order statistics, including voxel intensity distribution, emission line stacking, probability density functions, $\ell_1$-norm, bispectrum, and various marked statistics. Additionally, image-based morphological descriptors, such as the Largest Cluster Statistic, local dimensions, and Minkowski functionals, etc., can potentially characterize the morphology and geometry of the cosmic web encoded in the 21-cm intensity maps. This chapter presents forecasts of the detectability of these higher-order statistics in the context of the future SKAO observations. These forecasts incorporate instrumental noise, observational effects, and, in some cases, foreground removal in their analyses. With its unprecedented sensitivity, the future SKAO 21-cm observations will enable us to measure these higher-order statistics more precisely, possibly helping to break degeneracies between astrophysical and cosmological parameters, and maximizing the science outcome from these surveys.

astro-ph.CO↗