{"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/arbitrary-marginal-neural-ratio-estimation","title":"Arbitrary Marginal Neural Ratio Estimation for Simulation-based Inference","arxiv_id":"2110.00449","date":"2021-10-01","proceeding":null,"authors":["François Rozet","Gilles Louppe"],"abstract":"In many areas of science, complex phenomena are modeled by stochastic parametric simulators, often featuring high-dimensional parameter spaces and intractable likelihoods. In this context, performing Bayesian inference can be challenging. In this work, we present a novel method that enables amortized inference over arbitrary subsets of the parameters, without resorting to numerical integration, which makes interpretation of the posterior more convenient. Our method is efficient and can be implemented with arbitrary neural network architectures. We demonstrate the applicability of the method on parameter inference of binary black hole systems from gravitational waves observations.","url_abs":"https://arxiv.org/abs/2110.00449v3","url_pdf":"https://arxiv.org/pdf/2110.00449v3.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":"arbitrary-marginal-neural-ratio-estimation","repo_url":"https://github.com/francois-rozet/amnre","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"bayesian-inference","task_name":"Bayesian Inference"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2110.00449","atlas_url":"https://app.syntology.ai/?focus=2110.00449","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2110.00449"}},"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":"deterministic:regex_extraction","url":"https://github.com/francois-rozet/amnre","reach":null}],"summary":{"ran":4,"ran_draft_wrong":1,"unverified":5},"by_repo_kind":{"official":{"samples":10,"ran":5,"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":0,"samples":[{"code_sha256_prefix":"4a85bc120f1fe8ba","entry":"BatchNorm","repo":"francois-rozet/amnre","repo_kind":"official","path":"amnre/models.py","file_url":"https://github.com/francois-rozet/amnre/blob/HEAD/amnre/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4a85bc120f1fe8ba"}},{"code_sha256_prefix":"f4bedbc34fedea55","entry":"HyperNet","repo":"francois-rozet/amnre","repo_kind":"official","path":"amnre/models.py","file_url":"https://github.com/francois-rozet/amnre/blob/HEAD/amnre/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f4bedbc34fedea55"}},{"code_sha256_prefix":"d125701360b2c15c","entry":"MLP","repo":"francois-rozet/amnre","repo_kind":"official","path":"amnre/models.py","file_url":"https://github.com/francois-rozet/amnre/blob/HEAD/amnre/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d125701360b2c15c"}},{"code_sha256_prefix":"750a98c20cc747f8","entry":"UnitNorm","repo":"francois-rozet/amnre","repo_kind":"official","path":"amnre/models.py","file_url":"https://github.com/francois-rozet/amnre/blob/HEAD/amnre/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"750a98c20cc747f8"}},{"code_sha256_prefix":"ee91d0d3814c9f6e","entry":"reparametrize","repo":"francois-rozet/amnre","repo_kind":"official","path":"amnre/models.py","file_url":"https://github.com/francois-rozet/amnre/blob/HEAD/amnre/models.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ee91d0d3814c9f6e"}},{"code_sha256_prefix":"cbd5b622ccee6f42","entry":"AMNRE","repo":"francois-rozet/amnre","repo_kind":"official","path":"amnre/models.py","file_url":"https://github.com/francois-rozet/amnre/blob/HEAD/amnre/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cbd5b622ccee6f42"}},{"code_sha256_prefix":"5df4d2274315178f","entry":"NRE","repo":"francois-rozet/amnre","repo_kind":"official","path":"amnre/models.py","file_url":"https://github.com/francois-rozet/amnre/blob/HEAD/amnre/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5df4d2274315178f"}},{"code_sha256_prefix":"902e1441da5f1fa6","entry":"ResBlock","repo":"francois-rozet/amnre","repo_kind":"official","path":"amnre/models.py","file_url":"https://github.com/francois-rozet/amnre/blob/HEAD/amnre/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"902e1441da5f1fa6"}},{"code_sha256_prefix":"e7c87e82b4676a1c","entry":"ResNet","repo":"francois-rozet/amnre","repo_kind":"official","path":"amnre/models.py","file_url":"https://github.com/francois-rozet/amnre/blob/HEAD/amnre/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e7c87e82b4676a1c"}},{"code_sha256_prefix":"3882391db97afb68","entry":"lecun_init","repo":"francois-rozet/amnre","repo_kind":"official","path":"amnre/models.py","file_url":"https://github.com/francois-rozet/amnre/blob/HEAD/amnre/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3882391db97afb68"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}