{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/kids-sbi-simulation-based-inference-analysis","title":"KiDS-SBI: Simulation-based inference analysis of KiDS-1000 cosmic shear","arxiv_id":"2404.15402","date":"2024-04-23","proceeding":null,"authors":["Maximilian von Wietersheim-Kramsta","Kiyam Lin","Nicolas Tessore","Benjamin Joachimi","Arthur Loureiro","Robert Reischke","Angus H. Wright"],"abstract":"We present a simulation-based inference (SBI) cosmological analysis of cosmic shear two-point statistics from the fourth weak gravitational lensing data release of the ESO Kilo-Degree Survey (KiDS-1000). KiDS-SBI efficiently performs non-Limber projection of the matter power spectrum via Levin's method, and constructs log-normal random matter fields on the curved sky for arbitrary cosmologies, including effective prescriptions for intrinsic alignments and baryonic feedback. The forward model samples realistic galaxy positions and shapes based on the observational characteristics, incorporating shear measurement and redshift calibration uncertainties, as well as angular anisotropies due to variations in depth and point-spread function. To enable direct comparison with standard inference, we limit our analysis to pseudo-angular power spectra. The SBI is based on sequential neural likelihood estimation to infer the posterior distribution of spatially-flat $\\Lambda$CDM cosmological parameters from 18,000 realisations. We infer a mean marginal of the growth of structure parameter $S_{8} \\equiv \\sigma_8 (\\Omega_\\mathrm{m} / 0.3)^{0.5} = 0.731\\pm 0.033$ ($68 \\%$). We present a measure of goodness-of-fit for SBI and determine that the forward model fits the data well with a probability-to-exceed of $0.42$. For fixed cosmology, the learnt likelihood is approximately Gaussian, while constraints widen compared to a Gaussian likelihood analysis due to cosmology dependence in the covariance. Neglecting variable depth and anisotropies in the point spread function in the model can cause $S_{8}$ to be overestimated by ${\\sim}5\\%$. Our results are in agreement with previous analysis of KiDS-1000 and reinforce a $2.9 \\sigma$ tension with constraints from cosmic microwave background measurements. This work highlights the importance of forward-modelling systematic effects in upcoming galaxy surveys.","url_abs":"https://arxiv.org/abs/2404.15402v2","url_pdf":"https://arxiv.org/pdf/2404.15402v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"kids-sbi-simulation-based-inference-analysis","repo_url":"https://github.com/mwiet/kids_sbi","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2404.15402","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2404.15402"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mwiet/kids_sbi","reach":{"status":"ok"}}],"summary":{"ran":8,"unverified":2},"by_repo_kind":{"official":{"samples":10,"ran":8,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":10,"samples":[{"code_sha256_prefix":"14da31dbf6cf525b","entry":"check_compilers","repo":"mwiet/kids_sbi","repo_kind":"official","path":"build.py","file_url":"https://github.com/mwiet/kids_sbi/blob/HEAD/build.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"14da31dbf6cf525b"}},{"code_sha256_prefix":"227b286585692526","entry":"dict_insert","repo":"mwiet/kids_sbi","repo_kind":"official","path":"kcap/twopoint.py","file_url":"https://github.com/mwiet/kids_sbi/blob/HEAD/kcap/twopoint.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"227b286585692526"}},{"code_sha256_prefix":"c0a338e9423645a0","entry":"execute","repo":"mwiet/kids_sbi","repo_kind":"official","path":"modules/scale_cuts/load_cterm.py","file_url":"https://github.com/mwiet/kids_sbi/blob/HEAD/modules/scale_cuts/load_cterm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c0a338e9423645a0"}},{"code_sha256_prefix":"f6d242038b26fa94","entry":"pofk_interpolator","repo":"mwiet/kids_sbi","repo_kind":"official","path":"modules/P_gm_approx/p_gm_fit.py","file_url":"https://github.com/mwiet/kids_sbi/blob/HEAD/modules/P_gm_approx/p_gm_fit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f6d242038b26fa94"}},{"code_sha256_prefix":"f24b32c6fafcaff1","entry":"polyval_2d_order2","repo":"mwiet/kids_sbi","repo_kind":"official","path":"modules/P_gm_approx/p_gm_fit.py","file_url":"https://github.com/mwiet/kids_sbi/blob/HEAD/modules/P_gm_approx/p_gm_fit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f24b32c6fafcaff1"}},{"code_sha256_prefix":"63271461732dc9bd","entry":"polyval_2d_order2","repo":"mwiet/kids_sbi","repo_kind":"official","path":"modules/P_gm_approx/pgm_model_old.py","file_url":"https://github.com/mwiet/kids_sbi/blob/HEAD/modules/P_gm_approx/pgm_model_old.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"63271461732dc9bd"}},{"code_sha256_prefix":"fad7bff68a002d5a","entry":"sample_cov","repo":"mwiet/kids_sbi","repo_kind":"official","path":"modules/scale_cuts/twopoint.py","file_url":"https://github.com/mwiet/kids_sbi/blob/HEAD/modules/scale_cuts/twopoint.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fad7bff68a002d5a"}},{"code_sha256_prefix":"f4f70f6bf402d1d3","entry":"unique","repo":"mwiet/kids_sbi","repo_kind":"official","path":"modules/scale_cuts/enum34.py","file_url":"https://github.com/mwiet/kids_sbi/blob/HEAD/modules/scale_cuts/enum34.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f4f70f6bf402d1d3"}},{"code_sha256_prefix":"30688f13ab87d5ad","entry":"check_cosmosis","repo":"mwiet/kids_sbi","repo_kind":"official","path":"build.py","file_url":"https://github.com/mwiet/kids_sbi/blob/HEAD/build.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"30688f13ab87d5ad"}},{"code_sha256_prefix":"4ec323c6176ff91e","entry":"prefac_nonlin","repo":"mwiet/kids_sbi","repo_kind":"official","path":"modules/P_gm_approx/p_gm_fit.py","file_url":"https://github.com/mwiet/kids_sbi/blob/HEAD/modules/P_gm_approx/p_gm_fit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4ec323c6176ff91e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}