CosmoGridV1: a simulated $w$CDM theory prediction for map-level cosmological inference

Tomasz Kacprzak, Janis Fluri, Aurel Schneider, Alexandre Réfrégier, Joachim Stadel

Abstract

We present CosmoGridV1: a large set of lightcone simulations for map-level cosmological inference with probes of large scale structure. It is designed for cosmological parameter measurement based on Stage-III photometric surveys with non-Gaussian statistics and machine learning. CosmoGridV1 spans the $w$CDM model by varying $\Omega_m$, $\sigma_8$, $w_0$, $H_0$, $n_s$, $\Omega_b$, and assumes three degenerate neutrinos with $\sum m_\nu$ = 0.06 eV. This space is covered by 2500 grid points on a Sobol sequence. At each grid point, we run 7 simulations with PkdGrav3 and store 69 particle maps at nside=2048 up to $z$=3.5, as well as halo catalog snapshots. The fiducial cosmology has 200 independent simulations, along with their stencil derivatives. An important part of CosmoGridV1 is the benchmark set of 28 simulations, which include larger boxes, higher particle counts, and higher redshift resolution of shells. They allow for testing if new types of analyses are sensitive to choices made in CosmoGridV1. We add baryon feedback effects on the map level, using shell-based baryon correction model. The shells are used to create maps of weak gravitational lensing, intrinsic alignment, and galaxy clustering, using the UFalcon code. The main part of CosmoGridV1 are the raw particle count shells that can be used to create full-sky maps for a given $n(z)$. We also release projected maps for a Stage-III forecast, as well as maps used previously in KiDS-1000 deep learning constraints with CosmoGridV1. The data is available at www.cosmogrid.ai.

Introduction: Mapping the Non-Gaussian Universe

For decades, cosmologists have relied on "two-point statistics" (like power spectra) to measure the universe. These methods work effectively on large scales where matter distribution is roughly Gaussian. However, on smaller scales, gravity pulls matter into a complex network of filaments, voids, and halos—the cosmic web. This structure is highly non-Gaussian, and traditional methods leave a significant amount of cosmological information "on the table."

To extract this information, researchers are turning to map-level inference, often using Convolutional Neural Networks (CNNs). However, these "black box" models require enormous amounts of simulated data to learn the relationship between visual patterns and cosmological parameters. Existing simulation sets were either too small, too sparse in their parameter coverage, or lacked the specific outputs (like lightcone shells) needed to create realistic synthetic sky maps.

Methods and Parameter Sampling

The authors generated the CosmoGridV1 suite using the GPU-accelerated N-body code PkdGrav3. A core innovation is the use of a 6D Sobol sequence to sample the $w$CDM parameter space ($\Omega_m, \sigma_8, w_0, H_0, n_s, \Omega_b$). This deterministic, low-discrepancy sequence ensures the 2,500 grid points cover the space much more efficiently than random sampling.

The corner plot illustrates the dense coverage of the 6D parameter space using a Sobol sequence, with 2,500 grid points (blue) and a concentrated fiducial region (pink).

Key technical highlights include:

  • Shell Permutation: To reach high redshifts ($z=3.5$) without seeing repeating structures (a common artifact of "box replication"), the authors developed a novel permutation scheme. They combine shells from 7 independent simulations at each grid point, randomly flipping and rotating them to maximize the variety of structures along the line of sight.
  • Baryonification: Real-world gas physics (baryonic feedback) can blur dark matter structures. Instead of running expensive hydrodynamical simulations, the authors used a "shell-based baryon correction model" to displace pixels in the dark matter maps based on halo catalogs, mimicking the effects of gas and AGN feedback in post-processing.
  • Map Projection: Using the UFalcon code, they converted raw particle counts into maps of weak gravitational lensing, galaxy clustering, and intrinsic alignment.

The CosmoGridV1 Dataset

The primary contribution is the CosmoGridV1 dataset, which represents a significant leap in scale compared to previous efforts. While some existing suites like cosmo-SLICS offer higher particle resolution, CosmoGridV1 is roughly 100x denser in its sampling of the cosmological parameter space, making it uniquely suited for training machine learning models for map-level inference.

Comparison of CosmoGridV1 with other major simulation suites, showing its superior number of simulations for variable parameters.

The dataset includes:

  • The Grid: 2,500 unique cosmologies with 7 independent simulations each (17,500 total).
  • The Fiducial Set: 200 independent simulations at a single "best-guess" cosmology, plus "stencil derivatives" to help calculate parameter sensitivity.
  • Benchmarks: 28 specialized simulations with higher resolution or larger boxes to test for potential biases in the main grid's settings.

Key Insights and Results

  • Density over Resolution: For Stage-III surveys (like DES or KiDS), having a very dense grid of different cosmologies is often more important for training ML models than having extremely high-resolution individual simulations.
  • Breaking Degeneracies: Map-level analysis can distinguish between parameters that look identical in a power spectrum. For example, changes in $w_0$ (dark energy) primarily affect the depth of cosmic voids, a feature easily captured by maps but smoothed over in 2-point statistics.
  • Computational Scale: The project consumed approximately 750,000 GPU node hours on the Piz Daint supercomputer. Validation tests show that simulated power spectra match theoretical "Halofit" predictions within 5% across most scales.

Limitations and Future Work

Because CosmoGridV1 prioritizes volume and parameter density, it has lower particle resolution than some "boutique" simulation sets, making it less suitable for analyses focusing on extremely small-scale, highly non-linear regimes. Additionally, the lensing maps currently use the "Born approximation" (assuming light travels in a straight line). While sufficient for Stage-III surveys, future "Stage-IV" missions like Euclid or LSST will likely require full ray-tracing and even denser grids to meet stricter precision requirements.

Data Availability: The full suite is publicly available at www.cosmogrid.ai.

Summary updated

Abstract

We present CosmoGridV1: a large set of lightcone simulations for map-level cosmological inference with probes of large scale structure. It is designed for cosmological parameter measurement based on Stage-III photometric surveys with non-Gaussian statistics and machine learning. CosmoGridV1 spans the $w$CDM model by varying $Ω_m$, $σ_8$, $w_0$, $H_0$, $n_s$, $Ω_b$, and assumes three degenerate neutrinos with $\sum m_ν$ = 0.06 eV. This space is covered by 2500 grid points on a Sobol sequence. At each grid point, we run 7 simulations with PkdGrav3 and store 69 particle maps at nside=2048 up to $z$=3.5, as well as halo catalog snapshots. The fiducial cosmology has 200 independent simulations, along with their stencil derivatives. An important part of CosmoGridV1 is the benchmark set of 28 simulations, which include larger boxes, higher particle counts, and higher redshift resolution of shells. They allow for testing if new types of analyses are sensitive to choices made in CosmoGridV1. We add baryon feedback effects on the map level, using shell-based baryon correction model. The shells are used to create maps of weak gravitational lensing, intrinsic alignment, and galaxy clustering, using the UFalcon code. The main part of CosmoGridV1 are the raw particle count shells that can be used to create full-sky maps for a given $n(z)$. We also release projected maps for a Stage-III forecast, as well as maps used previously in KiDS-1000 deep learning constraints with CosmoGridV1. The data is available at www.cosmogrid.ai.
BibTeX
@article{kacprzak2023cosmogridv,
  author = {Tomasz Kacprzak and Janis Fluri and Aurel Schneider and Alexandre Réfrégier and Joachim Stadel},
  title = {{CosmoGridV1: a simulated $w$CDM theory prediction for map-level cosmological inference}},
  journal = {Journal of Cosmology and Astroparticle Physics},
  year = {2023},
  doi = {10.1088/1475-7516/2023/02/050},
}
Figure