Abstract: Understanding the physics of large cosmological surveys down to small (nonlinear) scales will significantly improve our knowledge of the Universe. Large N-body simulations have been built to obtain predictions in the non-linear regime. However, N-body simulations are computationally expensive and generate large amount of data, putting burdens on storage. These data are snapshots of the simulated Universe at different times, and fine sampling is necessary to accurately save its whole history. We employ a deep neural network model to predict the nonlinear N-body simulation at an intermediate time step given two widely separated snapshots. Our results outperform the cubic Hermite interpolation benchmark method in interpolating N-body simulations. This work can greatly reduce the storage requirement and allow us to reconstruct the cosmic history from far fewer snapshots of the universe.
The Challenge of Cosmic Data Storage
To understand the fundamental laws of physics, astronomers compare data from massive galaxy surveys to theoretical predictions generated by N-body simulations. These simulations track millions or billions of particles as they clump together under gravity to form the "cosmic web."
However, these simulations are exceptionally data-intensive. To accurately capture the history of the Universe, researchers must save "snapshots" of the simulation at many different points in time (redshifts). Storing these snapshots creates a massive storage burden—often reaching petabytes. If researchers save too few snapshots, they lose the ability to accurately reconstruct the non-linear evolution of small-scale structures like dark matter halos. Traditional interpolation methods, such as cubic Hermite splines, struggle in these non-linear regimes, often producing "fuzzy" results that fail to capture the dense, complex structures where galaxies actually reside.
Deep Learning for Temporal Interpolation
This research proposes a deep learning approach to "fill in the gaps" of cosmological N-body simulations. The authors utilize a 3D Convolutional Neural Network (CNN) based on the V-Net architecture (within the map2map framework) to perform the interpolation.
The model takes the displacement and velocity fields of particles from two distant snapshots (e.g., redshift $z=2$ and $z=0$) and predicts the displacement field at an intermediate time (e.g., $z=1$). A key architectural innovation is the global bypass connection, which passes a linear interpolation of the input directly to the output. This forces the neural network to focus exclusively on learning the complex, non-linear corrections to the motion, rather than relearning basic physics from scratch.
Performance and Cosmological Fidelity
The neural network was trained using the Quijote simulation suite and compared against a cubic Hermite interpolation benchmark across several critical cosmological statistics.
Bispectrum and Non-linear Clustering
The model achieved sub-percent accuracy in the bispectrum—a measure of non-linear clustering—down to scales of $k \simeq 0.4 h/\text{Mpc}$. As shown in the figure below, the machine learning approach maintains significantly higher accuracy at high $k$ (small scales) compared to traditional interpolation, which deviates sharply from the ground truth.
Halo Mass Function
The most striking result was observed in the halo mass function. Traditional interpolation methods act like a low-pass filter, smoothing out density and causing dark matter halos to appear less concentrated. Consequently, the benchmark method fails to reproduce the correct number of dark matter halos. In contrast, the neural network preserves the sharpness of these structures, reproducing the halo mass distribution of the ground-truth simulation with high precision.
Conclusion
By framing the interpolation problem as learning the residuals of linear motion, this deep learning approach provides a high-fidelity reconstruction of cosmic evolution. Qualitative inspection shows that the NN-interpolated fields are virtually indistinguishable from actual N-body simulations. This tool could potentially reduce data storage requirements for massive astronomical simulations by orders of magnitude, enabling the construction of accurate "lightcones" for analyzing real-world telescope data without the need for high-frequency snapshot storage.
Summary updated