CLiENT: A new tool for emulating cosmological likelihoods using deep neural networks
Luca Janken, Steen Hannestad, Thomas Tram, Andreas Nygaard
TL;DR
The paper introduces CLiENT, a neural-network framework that directly emulates cosmological likelihoods to yield an auto-differentiable surrogate, avoiding expensive observable calculations. It employs a relative $\chi^2$-based MSRE loss with a Wilson–Hilferty regularization, tempered training densities, and MCMC-driven data generation to focus learning where it matters. Across synthetic Gaussian, Planck $\Lambda$CDM, and sterile-neutrino extensions, CLiENT achieves credible intervals within $\sim 0.1\sigma$ of true posteriors and $\Delta\chi^2$ around $0.3$–$0.5$ near the optimum using under $2 \times 10^4$ evaluations, comparable to observable-emulator pipelines but with full differentiability. The framework is designed to be general, compatible with MontePython or Cobaya, and is released as open-source for broader use in cosmology and beyond.
Abstract
Cosmological emulation of observables such as the Cosmic Microwave Background (CMB) spectra and matter power spectra have become increasingly common in recent years because of the potential for saving computation time in connection with cosmological parameter inference or model comparison. In this paper we present CLiENT (Cosmological Likelihood Emulator using Neural networks with TensorFlow), a new method which circumvents the computation of observables in favour of directly emulating the likelihood function for a data set given a model parameter vector. We find that the method is competitive with observable emulators in terms of the required number of function evaluations, but has the distinct advantage of producing a surrogate likelihood which is completely auto-differentiable. Using less than $2 \times 10^4$ function evaluations CLiENT typically achieves credible intervals within better than $0.1 σ$ of those obtained using the true likelihood and single-point emulator precision better than $Δχ^2 \sim 0.5$ across relevant regions in parameter space.
