FastPM: Fast Pretrained Model for Cosmological Simulation-Based Inference
Masaya Yamamoto, Adrian E. Bayer
Key points
From the paper's conclusion- We train a Fast Pretrained Model (FastPM) on a set of Fast Particle-Mesh (FastPM) simulations to infer $\Omega_m$ and $\sigma_8$ from the power spectrum, and finetune on a smaller set of high-fidelity CAMELS N-body and hydrodynamical simulations.
Abstract
Modern cosmology increasingly relies on large ensembles of expensive simulations to model the non-linear Universe and extract information from upcoming surveys. However, generating high-fidelity simulations---whether gravity-only N-body or full hydrodynamical---requires substantial computational resources. In this work, we demonstrate that transfer learning from fast low-fidelity simulations can dramatically reduce the cost of training machine learning models, in particular for simulation-based inference (SBI). We train a Fast Pretrained Model (FastPM) on a set of Fast Particle-Mesh (FastPM) simulations to infer $\Omega_m$ and $\sigma_8$ from the power spectrum, and finetune on a smaller set of high-fidelity CAMELS N-body and hydrodynamical simulations. To reach a fixed posterior accuracy, the pretrained model requires only 5--15\% of the high-fidelity simulations compared to the number of simulations needed when training on CAMELS alone, reducing the total training simulation compute cost, including that of the pretraining simulations, by up to an order of magnitude in CPU hours. Remarkably, the gains persist for the total matter power spectrum of full hydrodynamical simulations: although FastPM contains no baryonic physics, pretraining on FastPM runs that together cost less than a single hydrodynamical simulation still reduces the total training simulation compute by a factor of $\sim$5. Moreover, pretraining on more accurate FastPM runs yields more accurate posteriors than training on CAMELS alone achieves with any number of simulations we consider. These results demonstrate that transfer learning from fast simulations is a simple and powerful route to high-fidelity SBI, and highlight the promise of simulation-based foundation models in cosmology.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Cross-simulator transfer with foundation-model summaries: Toward robust SKA-era reionization inferenceAstronomy & Astrophysics · 2026
- Learning optimal summary statistics of galaxy catalogs with SBIJournal of Cosmology and Astroparticle Physics · 2025
- Dark Energy Survey Year 3 results: Simulation-based w CDM inference from weak lensing and galaxy clustering maps with deep learning: Analysis designPhysical review. D/Physical review. D. · 2026
- Low-cost neural summaries for cosmological inference: an ensemble of convolutional neural networks trained on approximate simulationsarXiv · 2026
- The BIG SOBOL SEQUENCE: How many simulations do we need for simulation-based inference in cosmology?Astronomy and Astrophysics · 2025
- Macrocanonical Generator Networks: Data-Efficient Neural Surrogates for Amortized Physics SimulationarXiv · 2026