The future of cosmological likelihood-based inference: accelerated high-dimensional parameter estimation and model comparison
Abstract
Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.
We advocate for a new paradigm of cosmological likelihood-based inference, leveraging recent developments in machine learning and its underlying technology, to accelerate Bayesian inference in high-dimensional settings. Specifically, we combine (i) emulation, where a machine learning model is trained to mimic cosmological observables, e.g. CosmoPower-JAX; (ii) differentiable and probabilistic programming, e.g. JAX and NumPyro, respectively; (iii) scalable Markov chain Monte Carlo (MCMC) sampling techniques that exploit gradients, e.g. Hamiltonian Monte Carlo; and (iv) decoupled and scalable Bayesian model selection techniques that compute the Bayesian evidence purely from posterior samples, e.g. the learned harmonic mean implemented in harmonic. This paradigm allows us to carry out a complete Bayesian analysis, including both parameter estimation and model selection, in a fraction of the time of traditional approaches. First, we demonstrate the application of this paradigm on a simulated cosmic shear analysis for a Stage IV survey in 37- and 39-dimensional parameter spaces, comparing $Λ$CDM and a dynamical dark energy model ($w_0w_a$CDM). We recover posterior contours and evidence estimates that are in excellent agreement with those computed by the traditional nested sampling approach while reducing the computational cost from 8 months on 48 CPU cores to 2 days on 12 GPUs. Second, we consider a joint analysis between three simulated next-generation surveys, each performing a 3x2pt analysis, resulting in 157- and 159-dimensional parameter spaces. Standard nested sampling techniques are simply unlikely to be feasible in this high-dimensional setting, requiring a projected 12 years of compute time on 48 CPU cores; on the other hand, the proposed approach only requires 8 days of compute time on 24 GPUs. All packages used in our analyses are publicly available.
Results and benchmarks
We advocate for a new paradigm of cosmological likelihood-based inference, leveraging recent developments in machine learning and its underlying technology, to accelerate Bayesian inference in high-dimensional settings.
Benchmark evidence is limited
Evidence graph: 3 refs, 3 links.
Utility signals: depth 65/100, grounding 75/100, status medium.
Implementation
Best maintained implementation now
Machine learning assisted marginal likelihood (Bayesian evidence) estimation for Bayesian model selection
87 stars · 13 forks · Last push Mar 18, 2026 · GPL-3.0 license
- License
- CI
- Dependencies
- Docker
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata · Partial overlap with paper title keywords
astro-informatics/harmonic is the strongest maintained implementation based on ranking signals. CI workflows are present. License is declared (GPL-3.0).
Open astro-informatics/harmonic- No repository-level red flags were detected, but paper-specific preprocessing and hyperparameter details may still be under-specified.
- Selected astro-informatics/harmonic as the strongest maintained implementation for new work.
- Includes CI workflow signals.
- Includes dependency/environment manifest signals.
- Repository activity is within the last 24 months.
Compare implementation paths
Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.
- Maintenance
- Recently updated
- Confidence
- High
- Reproducibility
- Strong
- Stars
- 87
- Last push
- Mar 18, 2026 (160d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No Docker setup
- Maintenance
- Stale
- Confidence
- High
- Reproducibility
- Strong
- Stars
- 83
- Last push
- Dec 21, 2024 (612d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No push in 12+ months
- No Docker setup
- Maintenance
- Stale risk
- Confidence
- High
- Reproducibility
- Moderate
- Stars
- 49
- Last push
- Nov 27, 2025 (271d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No CI pipeline detected
- No tagged releases
- No Docker setup
Reproduction readiness
Ready to run
Ready to reproduce
- Clone astro-informatics/harmonic and install dependencies from pyproject.toml.
- CI pipeline detected, so automated tests are in place.
- Last updated 160 days ago.
Hardware requirements
- We recover posterior contours and evidence estimates that are in excellent agreement with those computed by the traditional nested sampling approach while reducing the computationa
- Standard nested sampling techniques are simply unlikely to be feasible in this high-dimensional setting, requiring a projected 12 years of compute time on 48 CPU cores; on the othe
Quick start
git clone https://github.com/astro-informatics/harmonic.git
pip install -e . Validation caveat
Repositories and ecosystem
Official
- dpiras/cosmopower-jaxConfidence: High
Differentiable cosmological emulators: the JAX version of CosmoPower
49 stars · 5 forks · Last push Nov 27, 2025 · GPL-3.0 license
Community
No additional community repositories detected yet.
Hugging Face artifacts
No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.
Models
No trustworthy models matches right now.
Search models on Hugging FaceDatasets
- P2SAMAPA/p2-etf-likelihood-free-amortized-inference-results
249 downloads · 0 likes · Updated Aug 7, 2026
Broaden dataset search
Spaces
No trustworthy spaces matches right now.
Search spaces on Hugging FaceResearch context
13
Citations
0
References
Tasks
Inference, Estimation, Econometrics, Maximum likelihood, Computer science, Estimation theory, Statistics, Physical Sciences
Methods
None detected
Domains
Statistical physics, Mathematics, Applied Mathematics
Related papers
- New perspectives for maximum-likelihood parameter and time delay estimation using two channelsSearch on Paper2Code
2002 · Semantic similarity
- Marginal Maximum Likelihood Estimation for the One-Parameter Logistic ModelSearch on Paper2Code
1982 · Semantic similarity
- Comparing Parameter Estimates Obtained by Simulation Study and Real Life Data from the Two-Parameter Gamma ModelSearch on Paper2Code
2017 · Semantic similarity
- Evolution Strategies in the Parameter Estimation of the Maximum Likelihood MethodSearch on Paper2Code
2007 · Semantic similarity
- Discussion of Maximum Likelihood Parameter Estimation Based On EM AlgorithmSearch on Paper2Code
2002 · Semantic similarity
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.
Data includes links from Papers with Code ( CC-BY-SA-4.0 ).