# Fast cosmic web simulations with generative adversarial networks

arXiv: https://arxiv.org/abs/1801.09070 · HTML: https://mlsanity.com/paper/1801.09070/

## Key facts

- Cited by 13 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 27 Jan 2018.

## Built on by (most cited first, 13 of 13)

- [Applications and Techniques for Fast Machine Learning in Science](https://mlsanity.com/paper/2110.13041/) (2021)
- [Astronomia ex machina: a history, primer, and outlook on neural networks in astronomy](https://mlsanity.com/paper/2211.03796/) (2022)
- [Selectively increasing the diversity of GAN-generated samples](https://mlsanity.com/paper/2207.01561/) (2022)
- [AI-assisted super-resolution cosmological simulations II: Halo substructures, velocities and higher order statistics](https://mlsanity.com/paper/2105.01016/) (2021)
- [Machine Learning methods for simulating particle response in the Zero Degree Calorimeter at the ALICE experiment, CERN](https://mlsanity.com/paper/2306.13606/) (2023)
- [Fixed-kinetic Neural Hamiltonian Flows for enhanced interpretability and reduced complexity](https://mlsanity.com/paper/2302.01955/) (2023)
- [Using a Conditional Generative Adversarial Network to Control the Statistical Characteristics of Generated Images for IACT Data Analysis](https://mlsanity.com/paper/2211.15807/) (2022)
- [Generative Models and Statistical Validation](https://mlsanity.com/paper/2605.30453/) (2026)
- [Are We Ready for AI-Driven Discovery? AI Verification Before the Next Fundamental Physics Breakthrough](https://mlsanity.com/paper/2607.10039/) (2026)
- [Hamiltonian Normalizing Flows as kinetic PDE solvers: application to the 1D Vlasov-Poisson Equations](https://mlsanity.com/paper/2505.04471/) (2025)
- [Probabilistic Matching of Real and Generated Data Statistics in Generative Adversarial Networks](https://mlsanity.com/paper/2306.10943/) (2023)
- [Dark energy reconstruction analysis with artificial neural networks: Application on simulated Supernova Ia data from Rubin Observatory](https://mlsanity.com/paper/2402.18124/) (2024)
- [Predicting Exoplanetary Features with a Residual Model for Uniform and Gaussian Distributions](https://mlsanity.com/paper/2406.10771/) (2024)

## Abstract (arXiv)

Dark matter in the universe evolves through gravity to form a complex network of halos, filaments, sheets and voids, that is known as the cosmic web. Computational models of the underlying physical processes, such as classical N-body simulations, are extremely resource intensive, as they track the action of gravity in an expanding universe using billions of particles as tracers of the cosmic matter distribution. Therefore, upcoming cosmology experiments will face a computational bottleneck that may limit the exploitation of their full scientific potential. To address this challenge, we demonstrate the application of a machine learning technique called Generative Adversarial Networks (GAN) to learn models that can efficiently generate new, physically realistic realizations of the cosmic web. Our training set is a small, representative sample of 2D image snapshots from N-body simulations of size 500 and 100 Mpc. We show that the GAN-generated samples are qualitatively and quantitatively very similar to the originals. For the larger boxes of size 500 Mpc, it is very difficult to distinguish them visually. The agreement of the power spectrum Pk is 1-2% for most of the range, between k=0.06 and k=0.4. An important advantage of generating cosmic web realizations with a GAN is the considerable gains in terms of computation time. Each new sample generated by a GAN takes a fraction of a second, compared to the many hours needed by traditional N-body techniques. We anticipate that the use of generative models such as GANs will therefore play an important role in providing extremely fast and precise simulations of cosmic web in the era of large cosmological surveys, such as Euclid and Large Synoptic Survey Telescope (LSST).
