{"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/fast-likelihood-free-inference-in-the-lss","title":"Fast likelihood-free inference in the LSS Stage IV era","arxiv_id":"2403.14750","date":"2024-03-21","proceeding":null,"authors":["Guillermo Franco Abellán","Guadalupe Cañas Herrera","Matteo Martinelli","Oleg Savchenko","Davide Sciotti","Christoph Weniger"],"abstract":"Forthcoming large-scale structure (LSS) Stage IV surveys will provide us with unprecedented data to probe the nature of dark matter and dark energy. However, analysing these data with conventional Markov Chain Monte Carlo (MCMC) methods will be challenging, due to the increase in the number of nuisance parameters and the presence of intractable likelihoods. In light of this, we present the first application of Marginal Neural Ratio Estimation (MNRE) (a recent approach in simulation-based inference) to LSS photometric probes: weak lensing, galaxy clustering and the cross-correlation power spectra. In order to analyse the hundreds of spectra simultaneously, we find that a pre-compression of data using principal component analysis, as well as parameter-specific data summaries lead to highly accurate results. Using expected Stage IV experimental noise, we are able to recover the posterior distribution for the cosmological parameters with a speedup factor of $\\sim 10-60$ compared to classical MCMC methods. To illustrate that the performance of MNRE is not impeded when posteriors are highly non-Gaussian, we test a scenario of two-body decaying dark matter, finding that Stage IV surveys can improve current bounds on the model by up to one order of magnitude. This result supports that MNRE is a powerful framework to constrain the standard cosmological model and its extensions with next-generation LSS surveys.","url_abs":"https://arxiv.org/abs/2403.14750v2","url_pdf":"https://arxiv.org/pdf/2403.14750v2.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":"fast-likelihood-free-inference-in-the-lss","repo_url":"https://github.com/guillermofrancoabellan/swyft-lss","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2403.14750","atlas_url":"https://app.syntology.ai/?focus=2403.14750","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.14750"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/guillermofrancoabellan/swyft-lss","reach":{"status":"ok"}}],"summary":{"ran":3},"by_repo_kind":{"official":{"samples":3,"ran":3,"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":3,"samples":[{"code_sha256_prefix":"264925e0a864b3a2","entry":"covariance_einsum","repo":"guillermofrancoabellan/swyft-lss","repo_kind":"official","path":"covariance_utils.py","file_url":"https://github.com/guillermofrancoabellan/swyft-lss/blob/HEAD/covariance_utils.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":"264925e0a864b3a2"}},{"code_sha256_prefix":"05225d7ecf133add","entry":"get_covmat","repo":"guillermofrancoabellan/swyft-lss","repo_kind":"official","path":"covariance_utils.py","file_url":"https://github.com/guillermofrancoabellan/swyft-lss/blob/HEAD/covariance_utils.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":"05225d7ecf133add"}},{"code_sha256_prefix":"333aa2a603a70fe4","entry":"split_num","repo":"guillermofrancoabellan/swyft-lss","repo_kind":"official","path":"covariance_utils.py","file_url":"https://github.com/guillermofrancoabellan/swyft-lss/blob/HEAD/covariance_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"333aa2a603a70fe4"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}