Fast and Accurate Non-Linear Predictions of Universes with Deep Learning

Renan Alves de Oliveira, Yin Li, Francisco Villaescusa-Navarro, Shirley Ho, David N. SpergelarXiv 2020

Introduction

Understanding the fundamental components of our universe—dark matter and dark energy—requires comparing astronomical observations with large-scale computer simulations. These simulations model the evolution of the "cosmic web" from initial density fluctuations. Traditionally, high-fidelity N-body simulations are used, but they are computationally prohibitive, often requiring millions of CPU hours. While faster approximations exist, they frequently lose accuracy on the small scales where non-linear gravitational effects are most pronounced.

Methodology

The researchers proposed a deep learning approach, treating cosmic structure formation as a 3D image-to-image translation problem. They utilized a V-Net architecture, a 3D variant of the U-Net, to transform simple linear theory predictions into accurate non-linear density fields.

A key innovation is the "residual" learning framework. The network takes the 3D displacement field from linear theory ($\Psi_{lin}$) as input and learns only the non-linear corrections. By adding the input directly to the output, the model focuses on complex small-scale clustering while inherently respecting large-scale physics. The training process employed a dual-component loss function, optimizing for both particle displacement and the resulting density field using a differentiable "cloud-in-cell" method.

Data and Training

The model was trained and validated using the Quijote suite, which contains thousands of N-body simulations. The training set consisted of 210 simulations with $512^3$ particles. To test the model's robustness, it was evaluated on a generalization set of 2,000 simulations with varying cosmological parameters, such as matter density and dark energy constants.

Key Results

The V-Net model demonstrates significant improvements in both speed and accuracy over existing methods. Inference on a single GPU takes approximately 59 seconds for a large cosmic volume, making it over 1,000 times faster than traditional N-body simulations and twice as fast as the state-of-the-art COLA (COmoving Lagrangian Acceleration) approximation.

Figure 2: Visual comparison of the predicted cosmic web density field (left) and quantitative performance metrics (middle/right). The power spectra $P(k)$, transfer functions $T(k)$, and cross-correlation coefficients $r(k)$ show that the Neural Network (NN) maintains high accuracy across a wide range of scales, significantly outperforming fast approximations.

Quantitatively, the model achieves percent-level accuracy in the power spectrum down to small scales ($k \approx 1 h/Mpc$). As shown in Figure 2, the neural network (NN) closely tracks the "Truth" (N-body simulation) in both displacement and density fields, whereas traditional fast approximations diverge significantly at higher $k$ values (smaller scales). Crucially, the model maintains this accuracy even when applied to universes with physical parameters it did not encounter during training, suggesting it has learned fundamental physical principles of structure formation rather than just memorizing specific patterns.

Discussion and Future Work

While the results are promising, several challenges remain. GPU memory constraints currently require simulations to be processed in smaller sub-cubes, necessitating careful handling of boundary conditions. Furthermore, the current model focuses exclusively on dark matter. Future iterations will need to incorporate "baryonic" effects—such as gas dynamics and star formation—to provide a more complete picture of the observable universe. Extending the model's accuracy to even smaller scales will also be critical for resolving individual galaxy formation processes.

Summary updated

BibTeX
@misc{oliveira2020fast,
  author = {Renan Alves de Oliveira and Yin Li and Francisco Villaescusa-Navarro and Shirley Ho and David N. Spergel},
  title = {{Fast and Accurate Non-Linear Predictions of Universes with Deep Learning}},
  year = {2020},
  eprint = {2012.00240},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.00240},
}
Figure