Papers › Expectation propagation as a way of life: A framework for Bayesian inference on...

Expectation propagation as a way of life: A framework for Bayesian inference on partitioned data

16 Dec 2014arXiv:1412.4869archive 2025-07-28

Aki Vehtari, Andrew Gelman, Tuomas Sivula, Pasi Jylänki, Dustin Tran, Swupnil Sahai, Paul Blomstedt, John P. Cunningham, David Schiminovich, Christian Robert

A common divide-and-conquer approach for Bayesian computation with big data is to partition the data, perform local inference for each piece separately, and combine the results to obtain a global posterior approximation. While being conceptually and computationally appealing, this method involves the problematic need to also split the prior for the local inferences; these weakened priors may not provide enough regularization for each separate computation, thus eliminating one of the key advantages of Bayesian methods. To resolve this dilemma while still retaining the generalizability of the underlying local inference method, we apply the idea of expectation propagation (EP) as a framework for distributed Bayesian inference. The central idea is to iteratively update approximations to the local likelihoods given the state of the other approximations and the prior. The present paper has two roles: we review the steps that are needed to keep EP algorithms numerically stable, and we suggest a general approach, inspired by EP, for approaching data partitioning problems in a way that achieves the computational benefits of parallelism while allowing each local update to make use of relevant information from the other sites. In addition, we demonstrate how the method can be applied in a hierarchical context to make use of partitioning of both data and parameters. The paper describes a general algorithmic framework, rather than a specific algorithm, and presents an example implementation for it.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1412.4869")

Code

Syntology Ran 1 of 11 code samples harvested from 2 repositories linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 1 sample from 1 repository, 1 ran; community (archive-listed): 10 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

gelman/ep-stan officialmentioned in paper report
rhayes777/PyAutoFit mentioned on GitHubMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 1 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
10unverified

Licence: 1 of the 11 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

default_df0 gelman/ep-stan/experiment/fit.py official repository ran · our draft was wrong licence not identified · pointer only · c9c8e82a770b978f · report
assert_not_frozen rhayes777/PyAutoFit/autofit/mapper/model.py community (archive-listed) unverified MIT (permissive) · aed27dacbf7ec877 · report
build_layout rhayes777/PyAutoFit/autofit/model_figure/layout.py community (archive-listed) unverified MIT (permissive) · 3cb89fcdabab0696 · report
build_presentation rhayes777/PyAutoFit/autofit/model_figure/presentation.py community (archive-listed) unverified MIT (permissive) · 39c6b1847ba0f7db · report
compact_prior rhayes777/PyAutoFit/autofit/model_figure/presentation.py community (archive-listed) unverified MIT (permissive) · dc87871c39fce4b4 · report
dereference rhayes777/PyAutoFit/autofit/mapper/model_object.py community (archive-listed) unverified MIT (permissive) · 0c104b7823e780b7 · report
draw rhayes777/PyAutoFit/autofit/model_figure/render.py community (archive-listed) unverified MIT (permissive) · f843adaaba33480c · report
frozen_cache rhayes777/PyAutoFit/autofit/mapper/model.py community (archive-listed) unverified MIT (permissive) · 69d30aac76503bb9 · report
measure_text rhayes777/PyAutoFit/autofit/model_figure/layout.py community (archive-listed) unverified MIT (permissive) · 2723580bd526508e · report
prior_summaries rhayes777/PyAutoFit/autofit/model_figure/presentation.py community (archive-listed) unverified MIT (permissive) · 97889234fe89f111 · report
save rhayes777/PyAutoFit/autofit/model_figure/render.py community (archive-listed) unverified MIT (permissive) · 36db77121167fda6 · report

Tasks

Bayesian Inference

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections