CoChat

A primer on Variational Laplace (VL)

Open access
Zeidman, Peter, Friston, Karl, Parr, Thomas · 2023 · NeuroImage

Published version of a preprint

Cited by 48

The DOI matches its Crossref record; 20 of the 20 references it cites were found in a registry or an index.

Abstract

This article details a scheme for approximate Bayesian inference, which has underpinned thousands of neuroimaging studies since its introduction 15 years ago. Variational Laplace (VL) provides a generic approach to fitting linear or non-linear models, which may be static or dynamic, returning a posterior probability density over the model parameters and an approximation of log model evidence, which enables Bayesian model comparison. VL applies variational Bayesian inference in conjunction with quadratic or Laplace approximations of the evidence lower bound (free energy). Importantly, update equations do not need to be derived for each model under consideration, providing a general method for fitting a broad class of models. This primer is intended for experimenters and modellers who may wish to fit models to data using variational Bayesian methods, without assuming previous experience of variational Bayes or machine learning. Accompanying code demonstrates how to fit different kinds of model using the reference implementation of the VL scheme in the open-source Statistical Parametric Mapping (SPM) software package. In addition, we provide a standalone software function that does not require SPM, in order to ease translation to other fields, together with detailed pseudocode. Finally, the supplementary materials provide worked derivations of the key equations.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1016/j.neuroimage.2023.120310

Cites

20 of 20 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Show all 20 references

Research works printed but not linked: 27

  1. Cox, 2019, A factor graph approach to automated design of Bayesian signal processing algorithms, International Journal of Approximate Reasoning, 104, 185, 10.1016/j.ijar.2018.11.002 · DOI
  2. Daunizeau, 2012, Stochastic dynamic causal modelling of fMRI data: should we care about neural noise?, Neuroimage, 62, 464, 10.1016/j.neuroimage.2012.04.061 · DOI · Paper page
  3. Daunizeau, J. 2017. The variational Laplace approach to approximate Bayesian inference. arXiv preprint.
  4. Farahibozorg, 2021, Hierarchical modelling of functional brain networks in population and individuals from big fMRI data, NeuroImage, 243, 10.1016/j.neuroimage.2021.118513 · DOI
  5. Friston, 2003, Dynamic causal modelling, Neuroimage, 19, 1273, 10.1016/S1053-8119(03)00202-7 · DOI · Paper page
  6. Friston, 2015, Empirical Bayes for DCM: A Group Inversion Scheme, Front Syst Neurosci, 9, 164, 10.3389/fnsys.2015.00164 · DOI · Paper page
  7. Friston, 2016, Bayesian model reduction and empirical Bayes for group (DCM) studies, Neuroimage, 128, 413, 10.1016/j.neuroimage.2015.11.015 · DOI · Paper page
  8. Friston, K., Parr, T. & Zeidman, P. 2018. Bayesian model reduction. arXiv preprint.
  9. Friston, 2020, Dynamic causal modelling of COVID-19, Wellcome Open Research, 5, 10.12688/wellcomeopenres.15881.2 · doi:10.12688/wellcomeopenres.15881.2
  10. Griewank, 1989, On automatic differentiation, Mathematical Programming: recent developments and applications, 6, 83
  11. Hoffman, 2013, Stochastic variational inference, Journal of Machine Learning Research
  12. Iri, 1984, Simultaneous computation of functions, partial derivatives and estimates of rounding errors—Complexity and practicality—, Japan Journal of Applied Mathematics, 1, 223, 10.1007/BF03167059 · doi:10.1007/bf03167059
  13. Jaynes, 1957, Information theory and statistical mechanics, Physical review, 106, 620, 10.1103/PhysRev.106.620 · DOI · Paper page
  14. Kass, 1995, Bayes factors, Journal of the american statistical association, 90, 773, 10.1080/01621459.1995.10476572 · DOI · Paper page
  15. Kucukelbir, 2015, Automatic variational inference in Stan, Advances in neural information processing systems, 28
  16. Lanillos, P. & Van Gerven, M. 2021. Neuroscience-inspired perception-action in robotics: applying active inference for state estimation, control and self-perception. arXiv preprint.
  17. Lanillos, P., Meo, C., Pezzato, C., Meera, A.A., Baioumy, M., Ohata, W., Tschantz, A., Millidge, B., Wisse, M. & Buckley, C.L. 2021. Active Inference in Robotics and Artificial Agents: Survey and Challenges. arXiv preprint.
  18. Ostwald, 2014, A tutorial on variational Bayes for latent linear stochastic time-series models, Journal of Mathematical Psychology, 60, 1, 10.1016/j.jmp.2014.04.003 · DOI
  19. Ozaki, T. 1985. Non-linear time series models and dynamical systems. Handbook of Statistics. · DOI
  20. Penny, 2012, Comparing dynamic causal models using AIC, BIC and free energy, Neuroimage, 59, 319, 10.1016/j.neuroimage.2011.07.039 · DOI · Paper page
  21. Puckett, 2020, Bayesian population receptive field modeling in human somatosensory cortex, Neuroimage, 208, 10.1016/j.neuroimage.2019.116465 · DOI
  22. Starke, 2017, Variational Bayesian parameter estimation techniques for the general linear model, Frontiers in neuroscience, 11, 10.3389/fnins.2017.00504 · DOI
  23. Vidaurre, 2017, Brain network dynamics are hierarchically organized in time, Proceedings of the National Academy of Sciences, 114, 12827, 10.1073/pnas.1705120114 · DOI · Paper page
  24. Zeidman, 2018, Bayesian population receptive field modelling, NeuroImage, 180, 173, 10.1016/j.neuroimage.2017.09.008 · DOI
  25. Zeidman, 2019, A guide to group effective connectivity analysis, part 1: First level analysis with DCM for fMRI, NeuroImage, 200, 174, 10.1016/j.neuroimage.2019.06.031 · DOI · Paper page
  26. Zeidman, 2019, A guide to group effective connectivity analysis, part 2: Second level analysis with PEB, NeuroImage, 200, 12, 10.1016/j.neuroimage.2019.06.032 · DOI · Paper page
  27. Zeidman, 2019, Optimizing data for modeling neuronal responses, Frontiers in neuroscience, 12, 986, 10.3389/fnins.2018.00986 · DOI

Cited by

See all 48

Metadata

Authors
Zeidman, P., Friston, K., & Parr, T.
Venue
NeuroImage
Publisher
Elsevier BV
Published
2023-10
Volume
279
Pages
120310
ISSN
1053-8119 (ISSN-L)
OpenAlex
W4385566371
Cited by
48
References
20
FWCI
9.08
Type
journal article
Language
en
Open access
gold
Licence
Funders
Wellcome Trust

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: A primer on Variational Laplace (VL). https://app.cochat.ai/papers/10.1016/j.neuroimage.2023.120310
The paper
Zeidman, P., Friston, K., & Parr, T. (2023). A primer on Variational Laplace (VL). NeuroImage. https://doi.org/10.1016/j.neuroimage.2023.120310

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.