Cognitive NeurodynamicsNeurosciencePeer-reviewed journal article
An Introduction to Thermodynamic Integration and Application to Dynamic Causal Models
Eduardo A. AponteiD, Yu YaoiD, Sudhir Raman, Stefan FrässleiD, Jakob HeinzleiD, W.D. PennyiD, Klaas Enno StephaniD
Abstract
In generative modeling of neuroimaging data, such as dynamic causal modeling (DCM), one typically considers several alternative models, either to determine the most plausible explanation for observed data (Bayesian model selection) or to account for model uncertainty (Bayesian model averaging). Both procedures rest on estimates of the model evidence, a principled trade-off between model accuracy and complexity. In the context of DCM, the log evidence is usually approximated using variational Bayes. Although this approach is highly efficient, it makes distributional assumptions and is vulnerable to local extrema. This paper introduces the use of thermodynamic integration (TI) for Bayesian model selection and averaging in the context of DCM. TI is based on Markov chain Monte Carlo sampling which is asymptotically exact but orders of magnitude slower than variational Bayes. In this paper, we explain the theoretical foundations of TI, covering key concepts such as the free energy and its origins in statistical physics. Our aim is to convey an in-depth understanding of the method starting from its historical origin in statistical physics. In addition, we demonstrate the practical application of TI via a series of examples which serve to guide the user in applying this method. Furthermore, these examples demonstrate that, given an efficient implementation and hardware capable of parallel processing, the challenge of high computational demand can be overcome successfully. The TI implementation presented in this paper is freely available as part of the open source software TAPAS. Author summaryWhen fitting computational models to data in the setting of Bayesian inference, a user has the choice between two broad classes of algorithms: variational inference and Monte Carlo simulation. While both methods have advantages and drawbacks, variational inference has become standard in the domain of modelling directed brain connectivity due to its computational efficiency, especially when the challenges to select between competing hypotheses that explain the observed data. By contrast, the high computational demand by Monte Carlo methods has so far prevented their widespread use for inference on brain connectivity, despite their capability to overcome some of the shortcomings of variational inference. In this paper, we introduce the user to thermodynamic integration (TI), a Monte Carlo method designed for model fitting and model selection. By covering its foundations and historical origins in statistical physics, we hope to convey an in-depth understanding of TI that goes beyond a purely technical treatment. In addition, we also provide examples for concrete applications, demonstrating that, given an efficient implementation and up-to-date hardware, the challenge of high computational demand can be overcome successfully.
- research focus: benchmarking
- research focus: software / tool
- approach: statistical model
- approach: Bayesian inference
- Citations
- 12
- FWCI
- 0.28
- Field percentile
- 39th percentile
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Thermodynamic integration for dynamic causal models
Eduardo A. Aponte, Sudhir Raman, … Klaas Enno Stephan·bioRxiv·Nov 22, 2018
- Challenges for Bayesian Model Selection of Dynamic Causal Models
Rebecca N. van den Honert, Sarah Shultz, … Gregory McCarthy·bioRxiv·Jan 22, 2017
- Technical Note: A fast and robust integrator of delay differential equations in DCM for electrophysiological data
Dario Schöbi, Cao Tri, … Klaas Enno Stephan·NeuroImagePeer-reviewed·Sep 13, 2021
- Dynamics-Informed Priors (DIP) for Neural Mass Modelling
Alessia Caccamo, Dominic M Dunstan, … Marc Goodfellow·Imaging NeurosciencePeer-reviewed·Jan 1, 2026
- Dynamic Causal Modeling in Probabilistic Programming Languages
Nina Baldy, Marmaduke Woodman, … Meysam Hashemi·bioRxiv·Nov 6, 2024
- Model Based Inference of Large Scale Brain Networks with Approximate Bayesian Computation
Timothy O. West, Luc Berthouze A, … Vladimir Litvak A·bioRxiv·Aug 26, 2020