{"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/ltu-ili-an-all-in-one-framework-for-implicit","title":"LtU-ILI: An All-in-One Framework for Implicit Inference in Astrophysics and Cosmology","arxiv_id":"2402.05137","date":"2024-02-06","proceeding":null,"authors":["Matthew Ho","Deaglan J. Bartlett","Nicolas Chartier","Carolina Cuesta-Lazaro","Simon Ding","Axel Lapel","Pablo Lemos","Christopher C. Lovell","T. Lucas Makinen","Chirag Modi","Viraj Pandya","Shivam Pandey","Lucia A. Perez","Benjamin Wandelt","Greg L. Bryan"],"abstract":"This paper presents the Learning the Universe Implicit Likelihood Inference (LtU-ILI) pipeline, a codebase for rapid, user-friendly, and cutting-edge machine learning (ML) inference in astrophysics and cosmology. The pipeline includes software for implementing various neural architectures, training schemata, priors, and density estimators in a manner easily adaptable to any research workflow. It includes comprehensive validation metrics to assess posterior estimate coverage, enhancing the reliability of inferred results. Additionally, the pipeline is easily parallelizable and is designed for efficient exploration of modeling hyperparameters. To demonstrate its capabilities, we present real applications across a range of astrophysics and cosmology problems, such as: estimating galaxy cluster masses from X-ray photometry; inferring cosmology from matter power spectra and halo point clouds; characterizing progenitors in gravitational wave signals; capturing physical dust parameters from galaxy colors and luminosities; and establishing properties of semi-analytic models of galaxy formation. We also include exhaustive benchmarking and comparisons of all implemented methods as well as discussions about the challenges and pitfalls of ML inference in astronomical sciences. All code and examples are made publicly available at https://github.com/maho3/ltu-ili.","url_abs":"https://arxiv.org/abs/2402.05137v2","url_pdf":"https://arxiv.org/pdf/2402.05137v2.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":"abstracts"},"code_links":[{"paper_slug":"ltu-ili-an-all-in-one-framework-for-implicit","repo_url":"https://github.com/maho3/ltu-ili","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"all","task_name":"All"},{"task_slug":"benchmarking","task_name":"Benchmarking"},{"task_slug":"efficient-exploration","task_name":"Efficient Exploration"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2402.05137","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2402.05137"}},"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/maho3/ltu-ili","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":"add21ee05eefee6d","entry":"load_class","repo":"maho3/ltu-ili","repo_kind":"official","path":"ili/utils/import_utils.py","file_url":"https://github.com/maho3/ltu-ili/blob/HEAD/ili/utils/import_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":"add21ee05eefee6d"}},{"code_sha256_prefix":"8eef58fa9e8fd9ca","entry":"load_from_config","repo":"maho3/ltu-ili","repo_kind":"official","path":"ili/utils/import_utils.py","file_url":"https://github.com/maho3/ltu-ili/blob/HEAD/ili/utils/import_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":"8eef58fa9e8fd9ca"}},{"code_sha256_prefix":"594fa6e8b822a6b5","entry":"update","repo":"maho3/ltu-ili","repo_kind":"official","path":"ili/utils/import_utils.py","file_url":"https://github.com/maho3/ltu-ili/blob/HEAD/ili/utils/import_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":"594fa6e8b822a6b5"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}