{"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/amortized-probabilistic-conditioning-for","title":"Amortized Probabilistic Conditioning for Optimization, Simulation and Inference","arxiv_id":"2410.15320","date":"2024-10-20","proceeding":null,"authors":["Paul E. Chang","Nasrulloh Loka","Daolang Huang","Ulpu Remes","Samuel Kaski","Luigi Acerbi"],"abstract":"Amortized meta-learning methods based on pre-training have propelled fields like natural language processing and vision. Transformer-based neural processes and their variants are leading models for probabilistic meta-learning with a tractable objective. Often trained on synthetic data, these models implicitly capture essential latent information in the data-generation process. However, existing methods do not allow users to flexibly inject (condition on) and extract (predict) this probabilistic latent information at runtime, which is key to many tasks. We introduce the Amortized Conditioning Engine (ACE), a new transformer-based meta-learning model that explicitly represents latent variables of interest. ACE affords conditioning on both observed data and interpretable latent variables, the inclusion of priors at runtime, and outputs predictive distributions for discrete and continuous data and latents. We show ACE's modeling flexibility and performance in diverse tasks such as image completion and classification, Bayesian optimization, and simulation-based inference.","url_abs":"https://arxiv.org/abs/2410.15320v1","url_pdf":"https://arxiv.org/pdf/2410.15320v1.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":"amortized-probabilistic-conditioning-for","repo_url":"https://github.com/acerbilab/amortized-conditioning-engine","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"bayesian-optimization","task_name":"Bayesian Optimization"},{"task_slug":"meta-learning","task_name":"Meta-Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2410.15320","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.15320"}},"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/acerbilab/amortized-conditioning-engine","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":6},"by_repo_kind":{"listed":{"samples":6,"ran":0,"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":"fadea630609d8420","entry":"eval","repo":"acerbilab/amortized-conditioning-engine","repo_kind":"listed","path":"train_sbi.py","file_url":"https://github.com/acerbilab/amortized-conditioning-engine/blob/HEAD/train_sbi.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fadea630609d8420"}},{"code_sha256_prefix":"1c8ca05c3f640c48","entry":"get_mixture_params","repo":"acerbilab/amortized-conditioning-engine","repo_kind":"listed","path":"src/bo/utils.py","file_url":"https://github.com/acerbilab/amortized-conditioning-engine/blob/HEAD/src/bo/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1c8ca05c3f640c48"}},{"code_sha256_prefix":"d742c1a953766418","entry":"matern12_kernel","repo":"acerbilab/amortized-conditioning-engine","repo_kind":"listed","path":"src/dataset/gp_utils.py","file_url":"https://github.com/acerbilab/amortized-conditioning-engine/blob/HEAD/src/dataset/gp_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d742c1a953766418"}},{"code_sha256_prefix":"c47189be34c04a1d","entry":"rbf_kernel","repo":"acerbilab/amortized-conditioning-engine","repo_kind":"listed","path":"src/dataset/gp_utils.py","file_url":"https://github.com/acerbilab/amortized-conditioning-engine/blob/HEAD/src/dataset/gp_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c47189be34c04a1d"}},{"code_sha256_prefix":"6e1da7f04667b8d3","entry":"sample_sobol","repo":"acerbilab/amortized-conditioning-engine","repo_kind":"listed","path":"src/dataset/gp_utils.py","file_url":"https://github.com/acerbilab/amortized-conditioning-engine/blob/HEAD/src/dataset/gp_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6e1da7f04667b8d3"}},{"code_sha256_prefix":"651b0a92c7d8e3a3","entry":"unnorm","repo":"acerbilab/amortized-conditioning-engine","repo_kind":"listed","path":"bo_demo_utils.py","file_url":"https://github.com/acerbilab/amortized-conditioning-engine/blob/HEAD/bo_demo_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"651b0a92c7d8e3a3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}