Transfer learning for multifidelity simulation-based inference in cosmology
Abstract Simulation-based inference (SBI) enables cosmological parameter estimation when closed-form likelihoods or models are unavailable. However, SBI relies on machine learning for neural compression and density estimation. This requires large training datasets which are prohibitively expensive for high-quality simulations. We overcome this limitation with multifidelity transfer learning, combining less expensive, lower-fidelity simulations with a limited number of high-fidelity simulations. We demonstrate our methodology on dark matter density maps from two separate simulation suites in the hydrodynamical CAMELS Multifield Dataset. Pre-training on dark-matter-only N-body simulations reduces the required number of high-fidelity hydrodynamical simulations by a factor between 8 and 15, depending on the model complexity, posterior dimensionality, and performance metrics used. By leveraging cheaper simulations, our approach enables performant and accurate inference on high-fidelity models while substantially reducing computational costs.
Authors
- Ana M. G. Ferreira (ORCID: https://orcid.org/0000-0002-9492-6415)
- N Jeffrey (ORCID: https://orcid.org/0000-0003-2927-1800)
- Alex Saoulis
- A. Spurio Mancini (ORCID: https://orcid.org/0000-0001-5698-0990)
- Davide Piras (ORCID: https://orcid.org/0000-0002-9836-2661)
- Benjamin Joachimi
Institutions
- University of Geneva (CH)
- Royal Holloway University of London (GB)
- University College London (GB)
Publication Details
- Journal
- Monthly Notices of the Royal Astronomical Society
- Published
- 2025-09-01
- DOI
- https://doi.org/10.1093/mnras/staf1436
- Primary Topic
- Advanced Data Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation
- UK Research and Innovation
- Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung
- A.G. Leventis Foundation
- Science and Technology Facilities Council