Cobaya: code for Bayesian analysis of hierarchical physical models

By Jesús Torrado, A. Lewis. Journal of Cosmology and Astroparticle Physics, 2020

687 citations recorded by the source corpus.

We present , a general-purpose Bayesian analysis code aimed at models with complex internal interdependencies. Without the need for specific code by the user, interdependencies between different stages of a model pipeline are exploited for sampling efficiency: intermediate results are automatically cached, and parameters are grouped in blocks according to their dependencies and optimally sorted, taking into account their individual computational costs, so as to minimize the cost of their variation during sampling, thanks to a novel algorithm. Cobaya allows exploration of posteriors using a range of Monte Carlo samplers, and also has functions for maximization and importance-reweighting of Monte Carlo samples with new priors and likelihoods. Cobaya is written in Python in a modular way that allows for extendability, use of calculations provided by external packages, and dynamical reparameterization without modifying its source. It can exploit hybrid OpenMP/MPI parallelization, and has sub-millisecond overhead per posterior evaluation. Though Cobaya is a general purpose statistical framework, it includes interfaces to a set of cosmological Boltzmann codes and likelihoods (the latter being agnostic with respect to the choice of the former), and automatic installers for external dependencies.

Subfields: Computational Mechanics, Statistical and Nonlinear Physics, Statistics and Probability

View Paper: https://www.semanticscholar.org/paper/cd2a92d6ae1c42fe80f936cfc0653a333f51c727

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computational Mechanics

  1. J. Carron
  2. Z. Vlah
  3. M. Mirmelstein
  4. M. White
  5. Shi-Fan Chen
  6. A. Lewis
  7. Adam D. Myers
  8. C. Rockosi

In Statistical and Nonlinear Physics

  1. Z. Vlah
  2. Shi-Fan Chen
  3. M. White
  4. Jesús Torrado
  5. A. Banday
  6. K. G'orski
  7. J. Carron
  8. M. Mirmelstein

In Statistics and Probability

  1. J. Carron
  2. M. White
  3. Z. Vlah
  4. M. Mirmelstein
  5. Shi-Fan Chen
  6. A. Lewis
  7. Sergey E. Koposov
  8. Risa Wechsler

Citations in the corpus