Papers › Sensitivity Analysis of Simulation-Based Inference for Galaxy Clustering

Sensitivity Analysis of Simulation-Based Inference for Galaxy Clustering

26 Sep 2023arXiv:2309.15071links table onlyarchive 2025-07-28

Chirag Modi, Shivam Pandey, Matthew Ho, ChangHoon Hahn, Bruno R'egaldo-Saint Blancard, Benjamin Wandelt

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

Simulation-based inference (SBI) is a promising approach to leverage high fidelity cosmological simulations and extract information from the non-Gaussian, non-linear scales that cannot be modeled analytically. However, scaling SBI to the next generation of cosmological surveys faces the computational challenge of requiring a large number of accurate simulations over a wide range of cosmologies, while simultaneously encompassing large cosmological volumes at high resolution. This challenge can potentially be mitigated by balancing the accuracy and computational cost for different components of the the forward model while ensuring robust inference. To guide our steps in this, we perform a sensitivity analysis of SBI for galaxy clustering on various components of the cosmological simulations: gravity model, halo-finder and the galaxy-halo distribution models (halo-occupation distribution, HOD). We infer the σ₈ and Ωₘ using galaxy power spectrum multipoles and the bispectrum monopole assuming a galaxy number density expected from the luminous red galaxies observed using the Dark Energy Spectroscopy Instrument (DESI). We find that SBI is insensitive to changing gravity model between N-body simulations and particle mesh (PM) simulations. However, changing the halo-finder from friends-of-friends (FoF) to Rockstar can lead to biased estimate of σ₈ based on the bispectrum. For galaxy models, training SBI on more complex HOD leads to consistent inference for less complex HOD models, but SBI trained on simpler HOD models fails when applied to analyze data from a more complex HOD model. Based on our results, we discuss the outlook on cosmological simulations with a focus on applying SBI approaches to future galaxy surveys.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2309.15071")

Code

Syntology Ran 14 of 17 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 14 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

modichirag/contrastive_cosmology officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 14 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

14ran
3unverified

Licence: 0 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from modichirag/contrastive_cosmology. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

find_block modichirag/contrastive_cosmology/src/readsnap.py official repository ran MIT (permissive) · 97aa4c8dc4c4f62d · report
fname_format modichirag/contrastive_cosmology/src/readgadget.py official repository ran MIT (permissive) · f604beae18769cdb · report
paint modichirag/contrastive_cosmology/src/old_tools.py official repository ran MIT (permissive) · 9bb61e121d58608b · report
paintcic modichirag/contrastive_cosmology/src/old_tools.py official repository ran MIT (permissive) · 8ee136bbacd8fa33 · report
paintnn modichirag/contrastive_cosmology/src/old_tools.py official repository ran MIT (permissive) · 38f26f397f49ec66 · report
plot_coverage modichirag/contrastive_cosmology/src/sbiplots.py official repository ran MIT (permissive) · 7b5b7704ab909fcb · report
plot_ranks_histogram modichirag/contrastive_cosmology/src/sbiplots.py official repository ran MIT (permissive) · 7e69e8e0a164a50c · report
read_block modichirag/contrastive_cosmology/src/readgadget.py official repository ran MIT (permissive) · f9212462d8d26bec · report
read_field modichirag/contrastive_cosmology/src/readgadget.py official repository ran MIT (permissive) · 7a560d7241ea1322 · report
read_gadget_header modichirag/contrastive_cosmology/src/readsnap.py official repository ran MIT (permissive) · 0a1cebf1e510734a · report
sample_HOD modichirag/contrastive_cosmology/src/hodtools.py official repository ran MIT (permissive) · 761603158e48e81d · report
sample_conditional_HOD modichirag/contrastive_cosmology/src/hodtools.py official repository ran MIT (permissive) · 3142c0f2374e97fa · report
setup_hod modichirag/contrastive_cosmology/src/hodtools.py official repository ran MIT (permissive) · a9cce10aa3235af4 · report
thetahod_literature modichirag/contrastive_cosmology/src/galaxies.py official repository ran MIT (permissive) · da849c0286f74371 · report
read_block modichirag/contrastive_cosmology/src/readsnap.py official repository unverified MIT (permissive) · cd6253c8ab04a31e · report
split_index modichirag/contrastive_cosmology/src/sbitools.py official repository unverified MIT (permissive) · 784aced1e2f67a73 · report
test_train_split modichirag/contrastive_cosmology/src/sbitools.py official repository unverified MIT (permissive) · f7dde67927bd853f · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections