Going beyond the Training Set
[Video Credit: N-body simulation Francisco Villaescusa-Navarro]
Carolina Cuesta-Lazaro
Forward Model
Evaluations
DESI
Adapted from arXiv:1804.03097
Symmetries
Connected to Underlying Physics
Hydro sims
Nbody + Empirical
Halo Occupation Distribution (HOD)
EFT bias expansion
Matter Density
Galaxy Distribution
[Video credit: Francisco Villaescusa-Navarro]
Gas density
Gas temperature
Subgrid model 1
Subgrid model 2
Subgrid model 3
Subgrid model 4
Accelerated Forward Models that can beyond their training set?
Generate New Samples
Field Level Likelihood!
Simulated
Emulated
["Diffusion-HMC: Parameter Inference with Diffusion Model driven Hamiltonian Monte Carlo" Mudur, Cuesta-Lazaro and Finkbeiner NeurIPs 2023 ML for the physical sciences, arXiv:2405.05255]
Initial Conditions
Simulator
Simulator
GANS
Deep Belief Networks
2006
VAEs
Normalising Flows
BigGAN
Diffusion Models
2014
2017
2019
2022
A folk music band of anthropomorphic autumn leaves playing bluegrass instruments
Contrastive Learning
2023
2026
"Write a C compiler"
AGI?
Goal: Estimate unknown p(x1) from samples
Base
Target
Transport Map
Accelerated Forward Models that can beyond their training set?
1) Train a local mapping on small volume simulations
ICs Matched Cheap Gravity solver
PARTICLE MESH
GALAXIES/GAS
2) Run inference over larger volumes
Yao Zhang
Shivam Pandey
["Teaching Dark Matter simulations to speak the halo language" Pandey, Lanusse, Modi, Wandelt arXiv:2409.11401]
Yao Zhang
Shivam Pandey
5000 CPU hours
~5 mins 1 GPU
150k CPU hours
~15 GPU hours
~1 hour on 16 GPUs
Adapted from arXiv:1804.03097
Symmetries
Connected to Underlying Physics
Hydro sims
Nbody + Empirical
Halo Occupation Distribution (HOD)
EFT bias expansion
Matter Density
Galaxy Distribution
Amanda Lue
Galaxies
N-body
N-body
Galaxies
Amanda Lue
Supernovae Feedback
N-body
Galaxies
4 TNG parameters
28 TNG parameters
35 TNG parameters
Joint constraints on Galaxies may be a must
Max Lee
["BIND (Baryonic INpainting with Deep learning): A Field-level Emulator for Galaxy Groups and Clusters" Lee, Genel, Haiman, Bryan, Lovell, Hadzhiyska
arxiv:2609.10709v1]
Max Lee
Max Lee
Fully Self Consistent Samples!
(Jointly constraining Galaxies and Baryons)
Niall Jeffrey
Summary Statistic (spatially averaged)
Wavelets
["Macrocanonical Generator Networks: a data-scarce solution for cosmology AI surrogate simulations"
Jeffrey, Wandelt (in prep)]Nicolas Chartier
["Point set clustering correction with a displacement potential"
Chartier, Bairagi, Bartlett, Ho, Wandelt (in prep)]Before Correction
After Correction
Accelerated Forward Models that can beyond their training set?
Gas
Galaxies
Dark Matter
Baryonic fields
Marginalize over a broader set of subgrid physics
Interpolate between simulators
Mingshau Liu
(Ming)
Constrain z via multi-wavelength observations
["Continuous Representations of Baryonic Feedback for Robust Inference from Multiple Simulation Suites"
Liu, Cuesta-Lazaro
NeurIPs ML4PS 2025]Trained on:
TNG, SIMBA, Astrid, EAGLE
Encoder
1) Encoder
Gas
Galaxies
Dark Matter
Baryonic fields
2) Probabilistic Decoder
Dark Matter
Baryonic fields
(Test suite)
Gas Density
Temperature
Astrid
EAGLE
Accelerated Forward Models that can beyond their training set?
Leena Iwamoto
Olga Borodina
Black Hole powered jets regulate star formation
But jets interact with the turbulent interstellar medium!
Text
Leena Iwamoto
Olga Borodina
Leena Iwamoto
Olga Borodina
Fast emulation of haloes from Particle Mesh matter +
HOD Galaxies
Quijote
AbacusSummit
MilleniumTNG
L-Galaxies
["Joint cosmological parameter inference and initial condition reconstruction with Stochastic Interpolants" Cuesta-Lazaro, Bayer, Albergo et al NeurIPs 2024 ML for the Physical Sciences]
1) Likelihood not necessarily Gaussian
2) Forward model no need differentiable
3) Amortized
Marginalizing over ICs
Fixing ICs
HMC: Marginalizing over ICs
True
Reconstructed
Chris Lovell
Large Scale Reconstruction
True
Reconstructed
["Reconstructing Cosmological Initial Conditions from Late-Time Structure with Convolutional Neural Networks"
Shallue, Eisenstein 2022]["Initial conditions from galaxies: machine-learning subgrid correction to standard reconstruction"
Parker, Bayer, Seljak 2025]PT
Power Spectrum
Cross Correlation
Peculiar Velocities
True
Reconstructed
Fast emulation of haloes from Particle Mesh matter +
HOD Galaxies
Fast emulation of Physical Models of Galaxies
Carol's wishlist for AFM next year (sign up after the talk)
Models that don't need to be retrained for changes in the background cosmology (w0wa)
Models that take advantage of PT on large scales to only do inference on small scales
Forward models that connect to the physics of galaxy formation and incorporate additional observables to jointly constrain it
Machine learned subgrid models that run in Arepo
Shivam Pandey
Particle Mesh for Gravity
Gas Properties
Density
Temperature
["BaryonBridge: Interpolants models for fast hydrodynamical simulations" Horowitz, Cuesta-Lazaro, Yehia ML4Astro workshop 2025]Probabilistic
Local
Simulated
Emulated
Lyman Alpha Flux