-
Calculating Bayesian evidence for inflationary models using CONNECT
Authors:
Camilla T. G. Sørensen,
Steen Hannestad,
Andreas Nygaard,
Thomas Tram
Abstract:
Bayesian evidence is a standard method used for comparing the ability of different models to fit available data and is used extensively in cosmology. However, since the evidence calculation involves performing an integral of the likelihood function over the entire space of model parameters this can be prohibitively expensive in terms of both CPU and time consumption. For example, in the simplest…
▽ More
Bayesian evidence is a standard method used for comparing the ability of different models to fit available data and is used extensively in cosmology. However, since the evidence calculation involves performing an integral of the likelihood function over the entire space of model parameters this can be prohibitively expensive in terms of both CPU and time consumption. For example, in the simplest $Λ$CDM model and using CMB data from the Planck satellite, the dimensionality of the model space is over 30 (typically 6 cosmological parameters and 28 nuisance parameters). Even the simplest possible model requires $\mathcal{O}(10^6)$ calls to an Einstein--Boltzmann solver such as CLASS or CAMB and takes several days.
Here we present calculations of Bayesian evidence using the CONNECT framework to calculate cosmological observables. We demonstrate that we can achieve results comparable to those obtained using Einstein--Boltzmann solvers, but at a minute fraction of the computational cost. As a test case, we then go on to compute Bayesian evidence ratios for a selection of slow-roll inflationary models.
In the setup presented here, the total computation time is completely dominated by the likelihood function calculation which now becomes the main bottleneck for increasing computation speed.
△ Less
Submitted 6 June, 2024;
originally announced June 2024.
-
Cutting corners: Hypersphere sampling as a new standard for cosmological emulators
Authors:
Andreas Nygaard,
Emil Brinch Holm,
Steen Hannestad,
Thomas Tram
Abstract:
Cosmological emulators of observables such as the Cosmic Microwave Background (CMB) spectra and matter power spectra commonly use training data sampled from a Latin hypercube. This method often incurs high computational costs by covering less relevant parts of the parameter space, especially in high dimensions where only a small fraction of the parameter space yields a significant likelihood.
In…
▽ More
Cosmological emulators of observables such as the Cosmic Microwave Background (CMB) spectra and matter power spectra commonly use training data sampled from a Latin hypercube. This method often incurs high computational costs by covering less relevant parts of the parameter space, especially in high dimensions where only a small fraction of the parameter space yields a significant likelihood.
In this paper, we introduce hypersphere sampling, which instead concentrates sample points in regions with higher likelihoods, significantly enhancing the efficiency and accuracy of emulators. A novel algorithm for sampling within a high-dimensional hyperellipsoid aligned with axes of correlation in the cosmological parameters is presented. This method focuses the distribution of training data points on areas of the parameter space that are most relevant to the models being tested, thereby avoiding the computational redundancies common in Latin hypercube approaches.
Comparative analysis using the \textsc{connect} emulation tool demonstrates that hypersphere sampling can achieve similar or improved emulation precision with more than an order of magnitude fewer data points and thus less computational effort than traditional methods. This was tested for both the $Λ$CDM model and a 5-parameter extension including Early Dark Energy, massive neutrinos, and additional ultra-relativistic degrees of freedom. Our results suggest that hypersphere sampling holds potential as a more efficient approach for cosmological emulation, particularly suitable for complex, high-dimensional models.
△ Less
Submitted 2 May, 2024;
originally announced May 2024.
-
Circular reasoning: Solving the Hubble tension with a non-$π$ value of $π$
Authors:
Jonas El Gammal,
Sven Günther,
Emil Brinch Holm,
Andreas Nygaard
Abstract:
Recently, cosmology has seen a surge in alternative models that purport to solve the discrepancy between the values of the Hubble constant $H_0$ as measured by cosmological microwave background anisotropies and local supernovae, respectively. In particular, many of the most successful approaches have involved varying fundamental constants, such as an alternative value of the fine structure constan…
▽ More
Recently, cosmology has seen a surge in alternative models that purport to solve the discrepancy between the values of the Hubble constant $H_0$ as measured by cosmological microwave background anisotropies and local supernovae, respectively. In particular, many of the most successful approaches have involved varying fundamental constants, such as an alternative value of the fine structure constant and time-varying values of the electron mass, the latter of which showed particular promise as the strongest candidate in several earlier studies. Inspired by these approaches, in this paper, we investigate a cosmological model where the value of the geometric constant $π$ is taken to be a free model parameter. Using the latest CMB data from Planck as well as baryon-acoustic oscillation data, we constrain the parameters of the model and find a strong correlation between $π$ and $H_0$, with the final constraint $H_0 = 71.3 \pm 1.1 \ \mathrm{ km/s/Mpc}$, equivalent to a mere $1.5σ$ discrepancy with the value measured by the SH0ES collaboration. Furthermore, our results show that $π= 3.206 \pm 0.038$ at $95 \%$ C.L., which is in good agreement with several external measurements discussed in the paper. Hence, we conclude that the $πΛ$CDM model presented in this paper, which has only a single extra parameter, currently stands as the perhaps strongest solution to the Hubble tension.
△ Less
Submitted 29 March, 2024;
originally announced March 2024.
-
PROSPECT: A profile likelihood code for frequentist cosmological parameter inference
Authors:
Emil Brinch Holm,
Andreas Nygaard,
Jeppe Dakin,
Steen Hannestad,
Thomas Tram
Abstract:
Cosmological parameter inference has been dominated by the Bayesian approach for the past two decades, primarily due to its computational efficiency. However, the Bayesian approach involves integration of the posterior probability and therefore depends on both the choice of model parametrisation and the choice of prior on the model parameter space. In some cases, this can lead to conclusions which…
▽ More
Cosmological parameter inference has been dominated by the Bayesian approach for the past two decades, primarily due to its computational efficiency. However, the Bayesian approach involves integration of the posterior probability and therefore depends on both the choice of model parametrisation and the choice of prior on the model parameter space. In some cases, this can lead to conclusions which are driven by choice of parametrisation and priors rather than by data. The profile likelihood method provides a complementary frequentist tool which can be used to investigate this effect.
In this paper, we present the code PROSPECT for computing profile likelihoods in cosmology. We showcase the code using a phenomenological model for converting dark matter into dark radiation that suffers from large volume effects and prior dependence. PROSPECT is compatible with both cobaya and MontePython, and is publicly available at https://github.com/AarhusCosmology/prospect_public.
△ Less
Submitted 19 December, 2023; v1 submitted 5 December, 2023;
originally announced December 2023.
-
Fast and effortless computation of profile likelihoods using CONNECT
Authors:
Andreas Nygaard,
Emil Brinch Holm,
Steen Hannestad,
Thomas Tram
Abstract:
The frequentist method of profile likelihoods has recently received renewed attention in the field of cosmology. This is because the results of inferences based on the latter may differ from those of Bayesian inferences, either because of prior choices or because of non-Gaussianity in the likelihood function. Consequently, both methods are required for a fully nuanced analysis. However, in the las…
▽ More
The frequentist method of profile likelihoods has recently received renewed attention in the field of cosmology. This is because the results of inferences based on the latter may differ from those of Bayesian inferences, either because of prior choices or because of non-Gaussianity in the likelihood function. Consequently, both methods are required for a fully nuanced analysis. However, in the last decades, cosmological parameter estimation has largely been dominated by Bayesian statistics due to the numerical complexity of constructing profile likelihoods, arising mainly from the need for a large number of gradient-free optimisations of the likelihood function.
In this paper, we show how to accommodate the computational requirements of profile likelihoods using the publicly available neural network framework CONNECT together with a novel modification of the gradient-based $basin$-$hop**$ optimisation algorithm. Apart from the reduced evaluation time of the likelihood due to the neural network, we also achieve an additional speed-up of 1$-$2 orders of magnitude compared to profile likelihoods computed with the gradient-free method of $simulated$ $annealing$, with excellent agreement between the two. This allows for the production of typical triangle plots normally associated with Bayesian marginalisation within cosmology (and previously unachievable using likelihood maximisation because of the prohibitive computational cost). We have tested the setup on three cosmological models: the $Λ$CDM model, an extension with varying neutrino mass, and finally a decaying cold dark matter model. Given the default precision settings in CONNECT, we achieve a high precision in $χ^2$ with a difference to the results obtained by CLASS of $Δχ^2\approx0.2$ (and, importantly, without any bias in inferred parameter values) $-$ easily good enough for profile likelihood analyses.
△ Less
Submitted 14 December, 2023; v1 submitted 11 August, 2023;
originally announced August 2023.
-
Decaying Dark Matter and the Hubble Tension
Authors:
Andreas Nygaard,
Emil Brinch Holm,
Thomas Tram,
Steen Hannestad
Abstract:
Decaying dark matter models generically modify the equation of state around the time of dark matter decay, and this in turn modifies the expansion rate of the Universe through the Friedmann equation. Thus, a priori, these models could solve or alleviate the Hubble tension, and depending on the lifetime of the dark matter, they can be classified as belonging to either the early- or late-time soluti…
▽ More
Decaying dark matter models generically modify the equation of state around the time of dark matter decay, and this in turn modifies the expansion rate of the Universe through the Friedmann equation. Thus, a priori, these models could solve or alleviate the Hubble tension, and depending on the lifetime of the dark matter, they can be classified as belonging to either the early- or late-time solutions. Moreover, decaying dark matter models can often be realized in particle physics models relatively easily. However, the implementations of these models in Einstein--Boltzmann solver codes are non-trivial, so not all incarnations have been tested. It is well known that models with very late decay of dark matter do not alleviate the Hubble tension, and in fact, cosmological data puts severe constraints on the lifetime of such dark matter scenarios. However, models in which a fraction of the dark matter decays to dark radiation at early times hold the possibility of modifying the effective equation of state around matter-radiation equality without affecting late-time cosmology. This scenario is therefore a simple realization of a possible early-time solution to the Hubble tension, and cosmological parameter estimation with current data in these models yields a value of $H_0 = 68.73^{+0.81}_{-1.3}$ at $68\%$ C.I.. This still leads to a $2.7σ$ Gaussian tension with the representative local value of $H_0 = 73.2 \pm 1.3$ km s$^{-1}$ Mpc$^{-1}$. Additional work is, however, required to test more complex decay scenarios, which could potentially prefer higher values of $H_0$ and provide a better solution to the Hubble tension.
△ Less
Submitted 1 July, 2023;
originally announced July 2023.
-
Discovering a new well: Decaying dark matter with profile likelihoods
Authors:
Emil Brinch Holm,
Laura Herold,
Steen Hannestad,
Andreas Nygaard,
Thomas Tram
Abstract:
A large number of studies, all using Bayesian parameter inference from Markov Chain Monte Carlo methods, have constrained the presence of a decaying dark matter component. All such studies find a strong preference for either very long-lived or very short-lived dark matter. However, in this letter, we demonstrate that this preference is due to parameter volume effects that drive the model towards t…
▽ More
A large number of studies, all using Bayesian parameter inference from Markov Chain Monte Carlo methods, have constrained the presence of a decaying dark matter component. All such studies find a strong preference for either very long-lived or very short-lived dark matter. However, in this letter, we demonstrate that this preference is due to parameter volume effects that drive the model towards the standard $Λ$CDM model, which is known to provide a good fit to most observational data.
Using profile likelihoods, which are free from volume effects, we instead find that the best-fitting parameters are associated with an intermediate regime where around $3 \%$ of cold dark matter decays just prior to recombination. With two additional parameters, the model yields an overall preference over the $Λ$CDM model of $Δχ^2 \approx -2.8$ with \textit{Planck} and BAO and $Δχ^2 \approx -7.8$ with the SH0ES $H_0$ measurement, while only slightly alleviating the $H_0$ tension. Ultimately, our results reveal that decaying dark matter is more viable than previously assumed, and illustrate the dangers of relying exclusively on Bayesian parameter inference when analysing extensions to the $Λ$CDM model.
△ Less
Submitted 3 November, 2022;
originally announced November 2022.
-
CONNECT: A neural network based framework for emulating cosmological observables and cosmological parameter inference
Authors:
Andreas Nygaard,
Emil Brinch Holm,
Steen Hannestad,
Thomas Tram
Abstract:
Bayesian parameter inference is an essential tool in modern cosmology, and typically requires the calculation of $10^5$--$10^6$ theoretical models for each inference of model parameters for a given dataset combination. Computing these models by solving the linearised Einstein-Boltzmann system usually takes tens of CPU core-seconds per model, making the entire process very computationally expensive…
▽ More
Bayesian parameter inference is an essential tool in modern cosmology, and typically requires the calculation of $10^5$--$10^6$ theoretical models for each inference of model parameters for a given dataset combination. Computing these models by solving the linearised Einstein-Boltzmann system usually takes tens of CPU core-seconds per model, making the entire process very computationally expensive.
In this paper we present \textsc{connect}, a neural network framework emulating \textsc{class} computations as an easy-to-use plug-in for the popular sampler \textsc{MontePython}. \textsc{connect} uses an iteratively trained neural network which emulates the observables usually computed by \textsc{class}. The training data is generated using \textsc{class}, but using a novel algorithm for generating favourable points in parameter space for training data, the required number of \textsc{class}-evaluations can be reduced by two orders of magnitude compared to a traditional inference run. Once \textsc{connect} has been trained for a given model, no additional training is required for different dataset combinations, making \textsc{connect} many orders of magnitude faster than \textsc{class} (and making the inference process entirely dominated by the speed of the likelihood calculation).
For the models investigated in this paper we find that cosmological parameter inference run with \textsc{connect} produces posteriors which differ from the posteriors derived using \textsc{class} by typically less than $0.01$--$0.1$ standard deviations for all parameters. We also stress that the training data can be produced in parallel, making efficient use of all available compute resources. The \textsc{connect} code is publicly available for download at \url{https://github.com/AarhusCosmology}.
△ Less
Submitted 13 June, 2023; v1 submitted 30 May, 2022;
originally announced May 2022.
-
Updated constraints on decaying cold dark matter
Authors:
Andreas Nygaard,
Thomas Tram,
Steen Hannestad
Abstract:
In this paper we update the constraints on the simple decaying cold dark matter (DCDM) model with dark radiation (DR) as decay product. We consider two different regimes of the lifetime, i.e. short-lived and long-lived, and use the most recent CMB data from Planck (2018) to infer new constraints on the decay parameters with which we compare the constraints inferred by the previous Planck data (201…
▽ More
In this paper we update the constraints on the simple decaying cold dark matter (DCDM) model with dark radiation (DR) as decay product. We consider two different regimes of the lifetime, i.e. short-lived and long-lived, and use the most recent CMB data from Planck (2018) to infer new constraints on the decay parameters with which we compare the constraints inferred by the previous Planck data (2015). We hereby show that the newest CMB data constrains the fractional amount of DCDM twice as much as the previous data in the long-lived regime, leading to our current best 2$σ$ upper bound of $f_{\rm dcdm}<2.44\%$. In the short-lived regime, we get a slightly looser 2$σ$ upper bound of $f_{\rm dcdm}<13.1\%$ compared to the previous CMB data. If we include Baryonic Acoustic Oscillations data from BOSS DR-12, the constraints in both the long-lived and the short-lived regimes relax to $f_{\rm dcdm}<2.62\%$ and $f_{\rm dcdm}<1.49\%$, respectively. We also investigate how this model impacts the Hubble and $σ_8$ tensions, and we find that each of the decay regimes can slightly relieve a different one of the tensions. The model can thus not accommodate both tensions at once, and the improvements on each are not significant. We furthermore improve on previous work by thoroughly analysing the impacts of short-lived DCDM on the radiation density and deriving a map** between short-lived DCDM and a correction, $ΔN_{\rm eff}$, to the effective number of massless neutrino species.
△ Less
Submitted 12 May, 2021; v1 submitted 3 November, 2020;
originally announced November 2020.