Cosmo-FOLD: Fast generation and upscaling of field-level cosmological maps with overlap latent diffusion
Satvik Mishra, Roberto Trotta, Matteo Viel
TL;DR
Cosmo-FOLD addresses the computational bottleneck of hydrodynamical cosmological simulations by training a diffusion-based generative model on small volumes and upscaling to full cosmological boxes. It introduces Field Overlap Latent Diffusion, a sliding-window diffusion scheme that preserves periodic boundary conditions and reduces edge artifacts without fixed overlap prescriptions. The method reproduces dark matter and gas-temperature fields with high fidelity, achieving within about 10% accuracy for the matter power spectrum up to $k\le 5\,h\mathrm{Mpc}^{-1}$ and recovering higher-order statistics such as the bispectrum when explicit positional encodings are used; it also demonstrates transferability from CAMELS to the larger TNG300-2 volume. This fast, scalable, field-level generative capability enables simulation-based inference and mock survey generation at cosmological scales, with broad implications for data-model comparisons and parameter estimation.
Abstract
We demonstrate the capabilities of probabilistic diffusion models to reduce dramatically the computational cost of expensive hydrodynamical simulations to study the relationship between observable baryonic cosmological probes and dark matter at field level and well into the non-linear regime. We introduce a novel technique, Cosmo-FOLD (Cosmological Fields via Overlap Latent Diffusion) to rapidly generate accurate and arbitrarily large cosmological and astrophysical 3-dimensional fields, conditioned on a given input field. We are able to generate TNG300-2 dark matter density and gas temperature fields from a model trained only on ~1% of the volume (a process we refer to as `upscaling'), reproducing both large scale coherent dark matter filaments and power spectra to within 10% for wavenumbers k <= 5 h Mpc^-1. These results are obtained within a small fraction of the original simulation cost and produced on a single GPU. Beyond one and two points statistics, the bispectrum is also faithfully reproduced through the inclusion of positional encodings. Finally, we demonstrate Cosmo-FOLD's generalisation capabilities by upscaling a CAMELS volume of 25 (Mpc h^-1)^3 to a full TNG300-2 volume of 205 (Mpc h^-1)^3$ with no fine-tuning. Cosmo-FOLD opens the door to full field-level simulation-based inference on cosmological scale.
