← Recent

AG-2025.03-204·astro-ph.CO·cross-listed: astro-ph.IM

OLÉ -- Online Learning Emulation in Cosmology

Authors

  • Sven Günther
  • Lennart Balkenhol
  • Christian Fidler
  • Ali Rida Khalife
  • Julien Lesgourgues
  • Markus R. Mosbech
  • Ravi Kumar Sharma

Abstract

In this work, we present OLÉ, a new online learning emulator for use in cosmological inference. The emulator relies on Gaussian Processes and Principal Component Analysis for efficient data compression and fast evaluation. Moreover, OLÉ features an automatic error estimation for optimal active sampling and online learning. All training data is computed on-the-fly, making the emulator applicable to any cosmological model or dataset. We illustrate the emulator's performance on an array of cosmological models and data sets, showing significant improvements in efficiency over similar emulators without degrading accuracy compared to standard theory codes. We find that OLÉ is able to considerably speed up the inference process, increasing the efficiency by a factor of $30-350$, including data acquisition and training. Typically the runtime of the likelihood code becomes the computational bottleneck. Furthermore, OLÉ emulators are differentiable; we demonstrate that, together with the differentiable likelihoods available in the $\texttt{candl}$ library, we can construct a gradient-based sampling method which yields an additional improvement factor of 4. OLÉ can be easily interfaced with the popular samplers $\texttt{MontePython}$ and $\texttt{Cobaya}$, and the Einstein-Boltzmann solvers $\texttt{CLASS}$ and $\texttt{CAMB}$. OLÉ is publicly available at https://github.com/svenguenther/OLE .

Submitted

17 March 2025

Version

v1

License

CC-BY-4.0

DOI

10.48550/arXiv.2503.13183

Cite this preprint

Imports into BibLaTeX, Zotero, Mendeley, EndNote.

PDF

Open PDF

Opens in a new tab · v1.