OLÃ -- Online Learning Emulation in Cosmology
arXiv:2503.13183
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 , 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 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 and , and the Einstein-Boltzmann solvers and . OLÃ is publicly available at https://github.com/svenguenther/OLE .
37 pages, 9 figures, code available at https://github.com/svenguenther/OLE