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

Reversing the cosmic clock to find the early universe's initial conditions from its current state is a notoriously difficult "one-to-many" inverse problem. This paper demonstrates that a simple, deterministic convolutional neural network (V-Net) can accurately reconstruct these initial linear displacement fields, bypassing the need for computationally expensive generative models or heavy sampling algorithms.

What Problem Does This Paper Address?

To understand the history and physics of our universe, astrophysicists rely on N-body simulations that model how gravity transforms nearly uniform, early-universe matter distributions (initial conditions) into the complex cosmic web of galaxies we see today (redshift $z=0$).

While deep learning has successfully accelerated the forward process (predicting the current universe from initial conditions), the inverse problem—inferring the initial state from the current state—remains a massive bottleneck. It is fundamentally an intractable search problem. At large scales, cosmic evolution is linear and reversible, but at small scales, particles cluster chaotically into dark matter halos. This non-linear, virialized motion creates a "one-to-many" mapping where multiple initial trajectories could lead to the same final state.

Previous attempts to solve this have used massive sampling frameworks like Hamiltonian Monte Carlo (HMC) or complex generative diffusion models, both of which demand immense computational resources. The authors ask: Can a standard, deterministic neural network do the job just as well, but faster?

Methods

Instead of resorting to stochastic generative architectures, the authors pioneer the use of a deterministic V-Net (a 3D convolutional neural network architecture with downsampling and upsampling paths) to learn the direct reverse mapping.

  • Inputs: The non-linear displacement field $\Psi_{NL}(q)$ at the current time ($z=0$) along with cosmological parameters (like matter density $\Omega_m$).
  • Outputs: The initial linear displacement field $\Psi_{ZA}(q)$ (based on the Zel'dovich approximation).

Because the network is deterministic, it maps one input directly to one output without complex stochastic sampling loops, making both training and inference significantly faster and more resource-efficient than diffusion models.

Datasets

  • Training Data: The model was trained on 100 pairs of linear and non-linear displacement fields. To avoid the high computational cost of running full N-body simulations for training, the authors cleverly used a highly accurate forward-modeling neural network emulator to generate the target non-linear fields. The simulations contained $128^3$ particles in a box size of $250 \text{ Mpc}/h$.
  • Evaluation Data (Out-of-Distribution): To test how well the model generalizes to unseen cosmic parameters, it was evaluated on the Quijote simulation suite. This dataset contains 2,000 fields with $512^3$ particles in a much larger $1000 \text{ Mpc}/h$ box, featuring varied cosmological parameters ($\Omega_m$ and $\sigma_8$).

Key Insights and Ideas

  • Deterministic Models are Enough: The most surprising insight is that a deterministic network succeeds despite the theoretical "one-to-many" nature of the inverse problem. Because the true distribution of the universe's initial conditions is Gaussian, a simple network doesn't get lost in chaotic trajectories; it naturally learns to approximate the initial states remarkably well.
  • The Field-of-View Advantage: The V-Net's architecture provides a finite field-of-view ($96^3$ grid cells). This design choice inherently respects physics: it preserves large-scale linear evolution (governed by standard linear theory) while allowing the network to focus its learning capacity on the medium-to-small scale non-linear dynamics.
  • A Smart "Black Box" Initializer: Even if a deterministic network cannot perfectly resolve the most chaotic, ultra-small scales, it can serve as an incredibly fast, highly accurate starting point for fine-grained sampling methods, potentially saving thousands of CPU hours.

Key Results

  • High Accuracy Across Scales: The model accurately recovers the initial linear displacement field with less than 1–2% error up to a wavenumber of $k \simeq 0.8 - 0.9 \text{ Mpc}^{-1}h$. In cosmology, higher $k$ values denote smaller spatial scales, meaning the model pushes deep into the non-linear regime.
  • Excellent Statistical Alignment: As shown in the paper's one-point statistics analysis, the distribution of predicted particle displacements closely matches the expected theoretical Gaussian density.
Figure 1: Qualitative comparison of the x, y, and z displacements for a 128 × 128 slice of particles from a linear field sampled using the training parameters and the corresponding linear field predicted by our inverse model.
  • Robust Generalization: When tested out-of-distribution on the Quijote dataset, the model generalized surprisingly well. Performance degraded gracefully only when the cosmological parameters drifted drastically far from the training set (e.g., at the 80th and 100th percentiles of dissimilarity).

Limitations and Future Work

  • Small-Scale Blurring: On very small scales, where particles tightly cluster into dark matter halos, the inverse mapping becomes genuinely ambiguous. Here, the deterministic model tends to output a blurred average of possible initial displacements rather than sharp structures.
  • Lack of Uncertainty Quantification: Being deterministic, the network provides a single best guess without indicating how confident it is about a specific region of the reconstructed universe.

Future Directions: The authors plan to explore hybrid approaches—using this deterministic network to propose initial states, and then refining them at ultra-small scales using sampling methods like HMC. They also aim to integrate Uncertainty Quantification (UQ) by re-architecting the model as a Bayesian Neural Network or applying conformal prediction techniques.

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