{"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/meta-particle-flow-for-sequential-bayesian","title":"Particle Flow Bayes' Rule","arxiv_id":"1902.00640","date":"2019-02-02","proceeding":null,"authors":["Xinshi Chen","Hanjun Dai","Le Song"],"abstract":"We present a particle flow realization of Bayes' rule, where an ODE-based neural operator is used to transport particles from a prior to its posterior after a new observation. We prove that such an ODE operator exists. Its neural parameterization can be trained in a meta-learning framework, allowing this operator to reason about the effect of an individual observation on the posterior, and thus generalize across different priors, observations and to sequential Bayesian inference. We demonstrated the generalization ability of our particle flow Bayes operator in several canonical and high dimensional examples.","url_abs":"https://arxiv.org/abs/1902.00640v3","url_pdf":"https://arxiv.org/pdf/1902.00640v3.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":"meta-particle-flow-for-sequential-bayesian","repo_url":"https://github.com/xinshi-chen/MetaParticleFlow","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"meta-particle-flow-for-sequential-bayesian","repo_url":"https://github.com/xinshi-chen/ParticleFlowBayesRule","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"bayesian-inference","task_name":"Bayesian Inference"},{"task_slug":"meta-learning","task_name":"Meta-Learning"},{"task_slug":"sequential-bayesian-inference","task_name":"Sequential Bayesian Inference"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1902.00640","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1902.00640"}},"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/xinshi-chen/MetaParticleFlow","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/xinshi-chen/ParticleFlowBayesRule","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_fixture":1,"unverified":7},"by_repo_kind":{"listed":{"samples":8,"ran":1,"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":"449fa3a7ae8a84ad","entry":"pairwise_distances","repo":"xinshi-chen/MetaParticleFlow","repo_kind":"listed","path":"pfbayes/common/torch_utils.py","file_url":"https://github.com/xinshi-chen/MetaParticleFlow/blob/HEAD/pfbayes/common/torch_utils.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"449fa3a7ae8a84ad"}},{"code_sha256_prefix":"29b27c1c08f4091b","entry":"cond_odeint","repo":"xinshi-chen/MetaParticleFlow","repo_kind":"listed","path":"pfbayes/common/ode/cond_odeint.py","file_url":"https://github.com/xinshi-chen/MetaParticleFlow/blob/HEAD/pfbayes/common/ode/cond_odeint.py","link_basis":"harvester_set","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":"29b27c1c08f4091b"}},{"code_sha256_prefix":"29c5616a486a4177","entry":"cond_odeint_adjoint","repo":"xinshi-chen/MetaParticleFlow","repo_kind":"listed","path":"pfbayes/common/ode/cond_odeint.py","file_url":"https://github.com/xinshi-chen/MetaParticleFlow/blob/HEAD/pfbayes/common/ode/cond_odeint.py","link_basis":"harvester_set","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":"29c5616a486a4177"}},{"code_sha256_prefix":"87afa36c35a6b7aa","entry":"create_metric_dict","repo":"xinshi-chen/MetaParticleFlow","repo_kind":"listed","path":"pfbayes/common/metric.py","file_url":"https://github.com/xinshi-chen/MetaParticleFlow/blob/HEAD/pfbayes/common/metric.py","link_basis":"harvester_set","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":"87afa36c35a6b7aa"}},{"code_sha256_prefix":"a5b3082dff39cbe6","entry":"get_gamma","repo":"xinshi-chen/MetaParticleFlow","repo_kind":"listed","path":"pfbayes/common/distributions.py","file_url":"https://github.com/xinshi-chen/MetaParticleFlow/blob/HEAD/pfbayes/common/distributions.py","link_basis":"harvester_set","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":"a5b3082dff39cbe6"}},{"code_sha256_prefix":"378e9b1237d5091a","entry":"grad_ll","repo":"xinshi-chen/MetaParticleFlow","repo_kind":"listed","path":"pfbayes/common/ode/misc.py","file_url":"https://github.com/xinshi-chen/MetaParticleFlow/blob/HEAD/pfbayes/common/ode/misc.py","link_basis":"harvester_set","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":"378e9b1237d5091a"}},{"code_sha256_prefix":"4c56e632880df4e3","entry":"log_sum_exp","repo":"xinshi-chen/MetaParticleFlow","repo_kind":"listed","path":"pfbayes/common/torch_utils.py","file_url":"https://github.com/xinshi-chen/MetaParticleFlow/blob/HEAD/pfbayes/common/torch_utils.py","link_basis":"harvester_set","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":"4c56e632880df4e3"}},{"code_sha256_prefix":"64aebddbe37b7031","entry":"square_mmd_fine","repo":"xinshi-chen/MetaParticleFlow","repo_kind":"listed","path":"pfbayes/common/metric.py","file_url":"https://github.com/xinshi-chen/MetaParticleFlow/blob/HEAD/pfbayes/common/metric.py","link_basis":"harvester_set","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":"64aebddbe37b7031"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}