{"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/simultaneous-identification-of-models-and","title":"Simultaneous identification of models and parameters of scientific simulators","arxiv_id":"2305.15174","date":"2023-05-24","proceeding":null,"authors":["Cornelius Schröder","Jakob H. Macke"],"abstract":"Many scientific models are composed of multiple discrete components, and scientists often make heuristic decisions about which components to include. Bayesian inference provides a mathematical framework for systematically selecting model components, but defining prior distributions over model components and developing associated inference schemes has been challenging. We approach this problem in a simulation-based inference framework: We define model priors over candidate components and, from model simulations, train neural networks to infer joint probability distributions over both model components and associated parameters. Our method, simulation-based model inference (SBMI), represents distributions over model components as a conditional mixture of multivariate binary distributions in the Grassmann formalism. SBMI can be applied to any compositional stochastic simulator without requiring likelihood evaluations. We evaluate SBMI on a simple time series model and on two scientific models from neuroscience, and show that it can discover multiple data-consistent model configurations, and that it reveals non-identifiable model components and parameters. SBMI provides a powerful tool for data-driven scientific inquiry which will allow scientists to identify essential model components and make uncertainty-informed modelling decisions.","url_abs":"https://arxiv.org/abs/2305.15174v3","url_pdf":"https://arxiv.org/pdf/2305.15174v3.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":"simultaneous-identification-of-models-and","repo_url":"https://github.com/mackelab/simulation_based_model_inference","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"bayesian-inference","task_name":"Bayesian Inference"},{"task_slug":"time-series-1","task_name":"Time Series"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2305.15174","atlas_url":"https://app.syntology.ai/?focus=2305.15174","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2305.15174"}},"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/mackelab/simulation_based_model_inference","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":6},"by_repo_kind":{"official":{"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":"b8d7ae2504dec018","entry":"calc_model_prior_sample","repo":"mackelab/simulation_based_model_inference","repo_kind":"official","path":"sbmi/graph_prior/utils.py","file_url":"https://github.com/mackelab/simulation_based_model_inference/blob/HEAD/sbmi/graph_prior/utils.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":"b8d7ae2504dec018"}},{"code_sha256_prefix":"dd4606d7e0a61b05","entry":"get_dataset","repo":"mackelab/simulation_based_model_inference","repo_kind":"official","path":"sbmi/data_handling.py","file_url":"https://github.com/mackelab/simulation_based_model_inference/blob/HEAD/sbmi/data_handling.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":"dd4606d7e0a61b05"}},{"code_sha256_prefix":"67183a3c8f03ef01","entry":"get_densly_connected_components","repo":"mackelab/simulation_based_model_inference","repo_kind":"official","path":"sbmi/graph_prior/utils.py","file_url":"https://github.com/mackelab/simulation_based_model_inference/blob/HEAD/sbmi/graph_prior/utils.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":"67183a3c8f03ef01"}},{"code_sha256_prefix":"d517d8133e1e2d05","entry":"get_unique_tokens","repo":"mackelab/simulation_based_model_inference","repo_kind":"official","path":"sbmi/data_handling.py","file_url":"https://github.com/mackelab/simulation_based_model_inference/blob/HEAD/sbmi/data_handling.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":"d517d8133e1e2d05"}},{"code_sha256_prefix":"e521d9f7cc1ad721","entry":"post_process_samples","repo":"mackelab/simulation_based_model_inference","repo_kind":"official","path":"sbmi/data_handling.py","file_url":"https://github.com/mackelab/simulation_based_model_inference/blob/HEAD/sbmi/data_handling.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":"e521d9f7cc1ad721"}},{"code_sha256_prefix":"70bea52e96fb48f7","entry":"round_expr","repo":"mackelab/simulation_based_model_inference","repo_kind":"official","path":"sbmi/graph_prior/additive_model/utils.py","file_url":"https://github.com/mackelab/simulation_based_model_inference/blob/HEAD/sbmi/graph_prior/additive_model/utils.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":"70bea52e96fb48f7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}