Papers › Posterior SBC: Simulation-Based Calibration Checking Conditional on Data

Posterior SBC: Simulation-Based Calibration Checking Conditional on Data

5 Feb 2025arXiv:2502.03279archive 2025-07-28

Teemu Säilynoja, Marvin Schmitt, Paul-Christian Bürkner, Aki Vehtari

Simulation-based calibration checking (SBC) refers to the validation of an inference algorithm and model implementation through repeated inference on data simulated from a generative model. In the original and commonly used approach, the generative model uses parameters drawn from the prior, and thus the approach is testing whether the inference works for simulated data generated with parameter values plausible under that prior. This approach is natural and desirable when we want to test whether the inference works for a wide range of datasets we might observe. However, after observing data, we are interested in answering whether the inference works conditional on that particular data. In this paper, we propose posterior SBC and demonstrate how it can be used to validate the inference conditionally on observed data. We illustrate the utility of posterior SBC in three case studies: (1) A simple multilevel model; (2) a model that is governed by differential equations; and (3) a joint integrative neuroscience model which is approximated via amortized Bayesian inference with neural networks.

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="2502.03279")

Code

Syntology Ran 0 of 21 code samples harvested from 1 repository linked to this paper; 21 have no recorded run.

By repository: official repository: 21 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.

TeemuSailynoja/posterior-sbc officialBSD-3-Clause 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

21 samples harvested; 0 ran; 0 honoured the contract we drafted; 21 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.

21unverified

Licence: 0 of the 21 samples are 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 TeemuSailynoja/posterior-sbc. “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.

diffusion_condition TeemuSailynoja/posterior-sbc/abi/src/ddm/m1a.py official repository unverified BSD-3-Clause (permissive) · 27a49aa79a6229ae · report
diffusion_condition TeemuSailynoja/posterior-sbc/abi/src/ddm/m2.py official repository unverified BSD-3-Clause (permissive) · 75c33850f4acc6d9 · report
diffusion_condition TeemuSailynoja/posterior-sbc/abi/src/ddm/m3.py official repository unverified BSD-3-Clause (permissive) · 3a220434109e1e90 · report
diffusion_condition TeemuSailynoja/posterior-sbc/abi/src/ddm/m4b.py official repository unverified BSD-3-Clause (permissive) · d780adc83c044cf1 · report
diffusion_condition TeemuSailynoja/posterior-sbc/abi/src/ddm/m5.py official repository unverified BSD-3-Clause (permissive) · 002b3282e955d9b1 · report
diffusion_condition TeemuSailynoja/posterior-sbc/abi/src/ddm/m6.py official repository unverified BSD-3-Clause (permissive) · 3dd3c05c5687670d · report
diffusion_trial TeemuSailynoja/posterior-sbc/abi/src/ddm/m1a.py official repository unverified BSD-3-Clause (permissive) · 86c7960cbbe33886 · report
diffusion_trial TeemuSailynoja/posterior-sbc/abi/src/ddm/m2.py official repository unverified BSD-3-Clause (permissive) · 3659dda6dc593e9f · report
diffusion_trial TeemuSailynoja/posterior-sbc/abi/src/ddm/m3.py official repository unverified BSD-3-Clause (permissive) · 39016adfa0fce9ef · report
diffusion_trial TeemuSailynoja/posterior-sbc/abi/src/ddm/m4b.py official repository unverified BSD-3-Clause (permissive) · c3a9fafe878b5391 · report
diffusion_trial TeemuSailynoja/posterior-sbc/abi/src/ddm/m5.py official repository unverified BSD-3-Clause (permissive) · 180eea7c56b23b9e · report
diffusion_trial TeemuSailynoja/posterior-sbc/abi/src/ddm/m6.py official repository unverified BSD-3-Clause (permissive) · 2eb3d1d0b1cb467b · report
parse_args TeemuSailynoja/posterior-sbc/abi/src/argparser.py official repository unverified BSD-3-Clause (permissive) · a075c635ebc7e7c0 · report
plot_true_vs_ci TeemuSailynoja/posterior-sbc/abi/src/plot_utils.py official repository unverified BSD-3-Clause (permissive) · 0cecb345e5cb172e · report
posterior_sbc TeemuSailynoja/posterior-sbc/abi/src/posterior_sbc.py official repository unverified BSD-3-Clause (permissive) · 2b8c0a5bf2dbea5f · report
prior TeemuSailynoja/posterior-sbc/abi/src/ddm/m1a.py official repository unverified BSD-3-Clause (permissive) · c24fa813e47fba9c · report
prior TeemuSailynoja/posterior-sbc/abi/src/ddm/m2.py official repository unverified BSD-3-Clause (permissive) · 9ae60a13e4fdf4ea · report
prior TeemuSailynoja/posterior-sbc/abi/src/ddm/m3.py official repository unverified BSD-3-Clause (permissive) · 201181c44dcad9f7 · report
prior TeemuSailynoja/posterior-sbc/abi/src/ddm/m4b.py official repository unverified BSD-3-Clause (permissive) · 9d675608202091ce · report
prior TeemuSailynoja/posterior-sbc/abi/src/ddm/m5.py official repository unverified BSD-3-Clause (permissive) · 0d0b88f068b789ac · report
prior TeemuSailynoja/posterior-sbc/abi/src/ddm/m6.py official repository unverified BSD-3-Clause (permissive) · 0c49845768e141fd · 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