Variational autoencoder for generating realistic N -body simulations for dark matter halos
Abstract
In this paper, we present a deep-learning approach to generate synthetic cosmological images by training a convolutional variational autoencoder on two-dimensional dark matter density slices projected from $Λ$CDM $N$-body simulations. The model learns a compact latent representation that enables accurate reconstructions and fast generation of new synthetic realizations through a single forward pass through the decoder. We validate the generated fields using cosmology-based summary statistics, focusing on the matter power spectrum and related Fourier space diagnostics, and found good agreement with the reference simulation across the range of scales where the maps exhibit good resolution. Thanks to its low inference cost and stable training target, this variational-autoencoder approach provides a lightweight and reproducible basis for generative modeling of large-scale projected structures and can support downstream tasks such as fast simulation generation and data augmentation.
Fields of Study & Subjects
Scientific Research and Discoveries
Computational Physics and Python Applications
Astronomy and Astrophysical Research
Publication details
- Journal / source
- Physical review. D/Physical review. D.
- Volume
- 113
- Issue
- 6
- Publication date
- 19 February 2026
- Language
- EN