English

syren-halofit: A fast, interpretable, high-precision formula for the $\Lambda$CDM nonlinear matter power spectrum

Cosmology and Nongalactic Astrophysics 2024-06-24 v2 Instrumentation and Methods for Astrophysics Machine Learning Neural and Evolutionary Computing

Abstract

Rapid and accurate evaluation of the nonlinear matter power spectrum, P(k)P(k), as a function of cosmological parameters and redshift is of fundamental importance in cosmology. Analytic approximations provide an interpretable solution, yet current approximations are neither fast nor accurate relative to numerical emulators. We use symbolic regression to obtain simple analytic approximations to the nonlinear scale, kσk_\sigma, the effective spectral index, neffn_{\rm eff}, and the curvature, CC, which are required for the halofit model. We then re-optimise the coefficients of halofit to fit a wide range of cosmologies and redshifts. We explore the space of analytic expressions to fit the residuals between P(k)P(k) and the optimised predictions of halofit. Our results are designed to match the predictions of EuclidEmulator2, but are validated against NN-body simulations. Our symbolic expressions for kσk_\sigma, neffn_{\rm eff} and CC have root mean squared fractional errors of 0.8%, 0.2% and 0.3%, respectively, for redshifts below 3 and a wide range of cosmologies. The re-optimised halofit parameters reduce the root mean squared fractional error (compared to EuclidEmulator2) from 3% to below 2% for wavenumbers k=9×1039hMpc1k=9\times10^{-3}-9 \, h{\rm Mpc^{-1}}. We introduce syren-halofit (symbolic-regression-enhanced halofit), an extension to halofit containing a short symbolic correction which improves this error to 1%. Our method is 2350 and 3170 times faster than current halofit and hmcode implementations, respectively, and 2680 and 64 times faster than EuclidEmulator2 (which requires running class) and the BACCO emulator. We obtain comparable accuracy to EuclidEmulator2 and BACCO when tested on NN-body simulations. Our work greatly increases the speed and accuracy of symbolic approximations to P(k)P(k), making them significantly faster than their numerical counterparts without loss of accuracy.

Keywords

Cite

@article{arxiv.2402.17492,
  title  = {syren-halofit: A fast, interpretable, high-precision formula for the $\Lambda$CDM nonlinear matter power spectrum},
  author = {Deaglan J. Bartlett and Benjamin D. Wandelt and Matteo Zennaro and Pedro G. Ferreira and Harry Desmond},
  journal= {arXiv preprint arXiv:2402.17492},
  year   = {2024}
}

Comments

11 pages, 8 figures. Accepted for publication in A&A

R2 v1 2026-06-28T15:01:54.974Z