A precise symbolic emulator of the linear matter power spectrum
Deaglan J. Bartlett, Lukas Kammerer, Gabriel Kronberger, Harry Desmond, Pedro G. Ferreira, Benjamin D. Wandelt, Bogdan Burlacu, David Alonso, Matteo Zennaro
TL;DR
This paper tackles the slow evaluation of the linear matter power spectrum across cosmologies by building analytic, interpretable emulators via symbolic regression. By modeling the residual between the physically motivated Eisenstein & Hu approximation and Boltzmann-solver results, the authors derive compact expressions for both $P(k)$ and $\sigma_8$ that reach sub-percent accuracy over wide parameter ranges. The $\sigma_8$ emulator achieves $\sim 0.1\%$ RMSE and is readily invertible to obtain $A_{\rm s}$, while the linear $P(k)$ emulator attains $\lesssim 0.2\%$ RMSE in $P(k)$ with a transparent, BAO-aware functional structure, delivering speedups up to $\sim 10^3\times$ over CAMB and $\sim 36\times$ over BACCO. The work emphasizes interpretability and longevity, showing that analytic, physics-informed expressions can rival neural networks for current and future cosmological analyses, with clear paths for extending to non-linear regimes and additional physics.
Abstract
Computing the matter power spectrum, $P(k)$, as a function of cosmological parameters can be prohibitively slow in cosmological analyses, hence emulating this calculation is desirable. Previous analytic approximations are insufficiently accurate for modern applications, so black-box, uninterpretable emulators are often used. We utilise an efficient genetic programming based symbolic regression framework to explore the space of potential mathematical expressions which can approximate the power spectrum and $σ_8$. We learn the ratio between an existing low-accuracy fitting function for $P(k)$ and that obtained by solving the Boltzmann equations and thus still incorporate the physics which motivated this earlier approximation. We obtain an analytic approximation to the linear power spectrum with a root mean squared fractional error of 0.2% between $k = 9\times10^{-3} - 9 \, h{\rm \, Mpc^{-1}}$ and across a wide range of cosmological parameters, and we provide physical interpretations for various terms in the expression. Our analytic approximation is 950 times faster to evaluate than camb and 36 times faster than the neural network based matter power spectrum emulator BACCO. We also provide a simple analytic approximation for $σ_8$ with a similar accuracy, with a root mean squared fractional error of just 0.1% when evaluated across the same range of cosmologies. This function is easily invertible to obtain $A_{\rm s}$ as a function of $σ_8$ and the other cosmological parameters, if preferred. It is possible to obtain symbolic approximations to a seemingly complex function at a precision required for current and future cosmological analyses without resorting to deep-learning techniques, thus avoiding their black-box nature and large number of parameters. Our emulator will be usable long after the codes on which numerical approximations are built become outdated.
