NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Predicting the Initial Conditions of the Universe using a Deterministic Neural Network

Vaibhav Jindal, Albert Liang, Aarti Singh, Shirley Ho, Drew Jamieson

TL;DR

This paper introduces a deterministic neural network (V-Net) that can accurately predict the initial conditions of the universe from its current state. This is a significant step towards efficiently reconstructing cosmic history, as it bypasses computationally expensive N-body simulations and complex inverse modeling techniques.

What Problem Does This Paper Address?

Understanding the evolution of the universe requires knowing its initial conditions – essentially, the state of matter and energy shortly after the Big Bang. However, determining these initial conditions from the universe we observe today is incredibly challenging. This is because:

  1. Intractable Search Space: The number of possible initial configurations is astronomically large.
  2. Expensive Simulations: Simulating the universe's evolution from initial conditions to the present day using N-body simulations is computationally very demanding, requiring significant time and resources.
  3. Inverse Problem: The task of inferring initial conditions from the final state is an "inverse problem." These are notoriously difficult because they often involve a "one-to-many" mapping – a single observed state could potentially arise from multiple initial states, especially at smaller scales where non-linear gravitational effects become dominant.

Existing methods for tackling this inverse problem are either computationally prohibitive (like Hamiltonian Monte Carlo) or involve complex, difficult-to-train generative models (like diffusion models). This paper aims to find a simpler, more efficient, and accurate way to predict these initial conditions.

Methods

The core of this work is the application of a deterministic convolutional neural network (CNN), specifically a V-Net architecture, to learn the inverse mapping. Instead of simulating forward from initial conditions to the current state, the network is trained to go backward: from the non-linear displacement field of particles at redshift $z=0$ (the present day) and the cosmological parameters, it predicts the linear displacement field at $z=0$.

Key aspects of their methodology include:

  • V-Net Architecture: This is a standard U-Net-like architecture commonly used for image segmentation, adapted here for predicting a displacement field.
  • Deterministic Approach: Unlike generative models that introduce randomness, this network is deterministic. This simplifies training and inference, making it faster and less resource-intensive.
  • Input: The network takes the non-linear displacement field (representing the current state of matter distribution) and cosmological parameters (like the density of matter, $\Omega_m$) as input.
  • Output: The network predicts the linear displacement field, which is a simplified, early-stage representation of the initial conditions.

Datasets

The authors utilize data generated from N-body simulations. Specifically:

  • Training Data: They use 100 pairs of linear and non-linear displacement fields. The linear fields were sampled from a Gaussian distribution with parameters matching the training data. The corresponding non-linear fields were generated using a pre-existing, highly accurate neural network emulator (Jamieson et al., 2022). This emulator acts as a fast surrogate for full N-body simulations.
  • Evaluation Data: For out-of-distribution (OOD) testing, they use the Quijote simulation suite (Villaescusa-Navarro et al., 2020). This suite provides a large number of simulations with varying cosmological parameters, allowing them to test the model's generalization capabilities.

Key Insights and Ideas

  • Deterministic Networks Suffice for Inverse Problems: A surprising finding is that a simple, deterministic neural network can effectively handle the "one-to-many" nature of the inverse problem, at least for predicting the linear displacement field. This challenges the notion that only complex generative models are suitable for such tasks.
  • Bypassing Computational Bottlenecks: By learning the inverse mapping, the model bypasses the need for expensive N-body simulations for inferring initial conditions, offering a significant speedup.
  • Accuracy Across Scales: The model demonstrates remarkable accuracy not only at large scales (where linear theory dominates) but also down to moderately small scales (where non-linear effects are important), achieving <1-2% error up to $k \approx 0.8-0.9 \text{ Mpc}^{-1}h$.
  • Generalization to OOD Parameters: The model shows reasonable generalization to cosmological parameters outside its training distribution, suggesting robustness.

Key Results

  • High Accuracy: The model recovers the initial linear displacement field with <1-2% error for scales up to $k \approx 0.8-0.9 \text{ Mpc}^{-1}h$.
  • Qualitative Agreement: Visual comparisons (Figures 1 and 2) show that the predicted linear fields closely match the ground truth linear fields.
  • One-Point Statistics: The distribution of predicted displacements closely matches the expected Gaussian distribution, with minor discrepancies in the tails for rare, extreme displacements.
  • Two-Point Correlation: Power spectra comparisons (Figure 4a) show excellent agreement for both transfer functions and stochasticities within the specified error margins.
  • OOD Performance: While performance degrades for highly out-of-distribution cosmological parameters, the model still provides reasonable results, especially for less extreme deviations.

Limitations and Future Work

  • Small-Scale Limitations: The paper acknowledges that at very small scales (where particles form dense halos and orbits become complex), the one-to-many mapping becomes more pronounced, and the model's accuracy decreases. This is a known limitation of inverse problems and is also present in forward models.
  • Future Work:
    • Sampling-Based Refinement: The authors propose using their model's predictions as starting points for more refined sampling-based inverse modeling methods (like Hamiltonian Monte Carlo) to improve accuracy at smaller scales.
  • Uncertainty Quantification: Enhancing the model to output uncertainty estimates is a key future direction. This could involve techniques like Bayesian neural networks or conformal predictions.
  • Direct Nonlinear Prediction: While the current model predicts the linear field, future work could explore predicting the full nonlinear field directly.

Summary updated

BibTeX
@inproceedings{jindal2023predicting,
  author = {Vaibhav Jindal and Albert Liang and Aarti Singh and Shirley Ho and Drew Jamieson},
  title = {{Predicting the Initial Conditions of the Universe using a Deterministic Neural Network}},
  booktitle = {AI4Science @ NeurIPS},
  year = {2023},
  url = {https://openreview.net/forum?id=yhaIv0MN5m},
}
Figure