Sensitivity analysis of simulation-based inference for galaxy clustering

Chirag Modi, Shivam Pandey, Matthew Ho, ChangHoon Hahn, Bruno Régaldo-Saint Blancard, B. D. Wandelt

TL;DR

Researchers performed a "stress test" on Simulation-Based Inference (SBI) to see which parts of a cosmological simulation are critical for accuracy and where we can save computational costs. They found that while SBI is surprisingly robust to cheaper gravity solvers, it is highly sensitive to how we identify dark matter halos and the complexity of how galaxies are placed within them.

What Problem Does This Paper Address?

To understand the evolution of the universe, astronomers look at how galaxies cluster together. Traditional methods rely on analytic equations (Perturbation Theory) that only work on large, "linear" scales where gravity is simple. To extract more information from smaller, "non-linear" scales, we turn to Simulation-Based Inference (SBI).

SBI uses high-fidelity simulations to "learn" the relationship between cosmological parameters (like the amount of matter in the universe) and observed galaxy patterns. However, these simulations are incredibly expensive. Scaling SBI for next-generation surveys like DESI requires thousands of simulations covering huge volumes at high resolution. This paper asks: Can we use "cheaper" simulations without biasing our scientific results?

Methods

The authors conducted a sensitivity analysis by varying three main components of the "forward model" (the pipeline that turns a set of numbers into a mock universe):

  1. Gravity Model: Comparing high-fidelity N-body simulations (accurate but slow) against Particle-Mesh (PM) simulations (100x faster but less accurate at small scales).
  2. Halo-Finder: Comparing Friends-of-Friends (FoF), a simple density-based algorithm, against Rockstar, a more sophisticated algorithm that tracks particles in 6D phase space.
  3. Galaxy-Halo Connection: Comparing a standard 5-parameter Halo Occupation Distribution (HOD) model against a more complex 10-parameter model that includes "assembly bias" and velocity offsets.

They used Neural Density Estimation (specifically Masked Auto-regressive Flows) to perform the inference, focusing on two key parameters: $\Omega_m$ (matter density) and $\sigma_8$ (amplitude of fluctuations).

Datasets

  • Quijote Simulations: A massive suite of N-body simulations used as the "gold standard" for training and testing.
  • FastPM Simulations: A custom set of cheaper simulations generated to match the Quijote cosmologies for direct comparison.
  • Mock DESI LRGs: The galaxy catalogs were designed to mimic the number density and properties of Luminous Red Galaxies (LRGs) expected from the Dark Energy Spectroscopy Instrument (DESI).

Key Insights and Ideas

  • Gravity is Forgiving: Surprisingly, SBI trained on cheap PM simulations performed nearly as well as SBI trained on expensive N-body simulations. This suggests that for current galaxy clustering statistics, the small-scale inaccuracies of PM solvers are "washed out" by the uncertainties in how galaxies occupy halos.
  • The Bispectrum is a Double-Edged Sword: The bispectrum (a three-point correlation statistic) provides a wealth of information beyond the standard power spectrum. However, it is much more sensitive to model "misspecification." If your training simulations use a different halo-finder than your "real" data, the bispectrum will likely give you a biased answer.
  • Complexity is Safety: When it comes to galaxy modeling, it is better to over-train. An SBI model trained on a complex, 10-parameter HOD can accurately analyze data from a simpler 5-parameter universe. However, a model trained on a simple universe fails spectacularly when faced with a complex one.

Key Results

  • Computational Speedup: PM simulations are roughly 100x cheaper than N-body simulations. The finding that they are sufficient for training SBI is a major win for the feasibility of future large-scale analyses.
  • Halo-Finder Bias: Switching from FoF to Rockstar halo-finders caused up to a 20% bias in the quadrupole and bispectrum statistics.
  • HOD Robustness: Training on the 10-parameter "Zheng07-ex" HOD model resulted in well-calibrated and unbiased posteriors even when the test data came from a simpler model, whereas the reverse led to significant bias in $\sigma_8$.

Limitations and Future Work

The authors acknowledge several areas for further exploration:

  • Limited Parameter Space: This study only looked at $\Omega_m$ and $\sigma_8$. Other parameters, like the sum of neutrino masses, might be more sensitive to gravity model choices.
  • Compatibility Issues: The Rockstar halo-finder is currently incompatible with default PM simulations because PM lacks the small-scale force resolution Rockstar requires.
  • Beyond HOD: While HOD is standard, it is still a simplification. Future work needs to test if SBI is robust against even more complex galaxy formation physics, such as those found in full hydrodynamical simulations.
  • New Statistics: The sensitivity of other emerging statistics, like wavelet scattering transforms or $k$-nearest neighbor distributions, remains to be tested in this framework.

Summary updated

BibTeX
@inproceedings{modi2024sensitivity,
  author = {Chirag Modi and Shivam Pandey and Matthew Ho and ChangHoon Hahn and Bruno Régaldo-Saint Blancard and B. D. Wandelt},
  title = {{Sensitivity analysis of simulation-based inference for galaxy clustering}},
  booktitle = {Monthly},
  year = {2024},
  doi = {10.1093/mnras/stae2473},
}
Figure