Bayesian Workflow for Generative Modeling in Computational Psychiatry
Open accessPublished version of a preprint
Abstract
Computational (generative) modelling of behaviour has considerable potential for clinical applications. In order to unlock the potential of generative models, reliable statistical inference is crucial. For this, Bayesian workflow has been suggested which, however, has rarely been applied in Translational Neuromodeling and Computational Psychiatry (TN/CP) so far. Here, we present a worked example of Bayesian workflow in the context of a typical application scenario for TN/CP. This application example uses Hierarchical Gaussian Filter (HGF) models, a family of computational models for hierarchical Bayesian belief updating. When equipped with a suitable response model, HGF models can be fit to behavioural data from cognitive tasks; these data frequently consist of binary responses and are typically univariate. This poses challenges for statistical inference due to the limited information contained in such data. We present a novel set of response models that allow for simultaneous inference from multivariate (here: two) behavioural data types. Using both simulations and empirical data from a speed-incentivised associative reward learning (SPIRL) task, we show that models harnessing information from two different data streams (binary responses and continuous response times) ensure robust inference (specifically, identifiability of parameters and models). Moreover, we find a linear relationship between log-transformed response times in the SPIRL task and participants' uncertainty about the outcome. Our analysis illustrates the benefits of Bayesian workflow for a typical use case in TN/CP. We argue that adopting Bayesian workflow for generative modelling helps increase the transparency and robustness of results, which in turn is of fundamental importance for the long-term success of TN/CP.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The study followed a Bayesian workflow for both computational models and conventional analyses.
“We followed a Bayesian workflow for both computational models and conventional analyses [19, 20].”
From Predicting emotional valence in autism: a preregistered study in the Bayesian Brain framework (2026) · cites this paper as [19]
The Methods > Analysis section says the paper followed a Bayesian workflow for its model-based analysis. It describes model-agnostic analyses separately, including descriptive visualisations and a one-way ANOVA, but does not say that conventional analyses followed the Bayesian workflow. The cited paper therefore supports the computational-model part of the sentence, not the conventional-analyses part. (LLM, conf=0.84)
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Gelman, A., Carlin, J. B., Stern, H. S., Dunson, D. B., Vehtari, A., & Rubin, D. B. (2013) · doi:10.1201/b16018 · Cited by 27,276 · see citing works
The FAIR Guiding Principles for scientific data management and stewardship
Wilkinson, M. D., Dumontier, M., Aalbersberg, I. J., Appleton, G., Axton, M., Baak, A., Blomberg, N., Boiten, J.-W., da Silva Santos, L. B., Bourne, P. E., et al. (2016) · Scientific Data · doi:10.1038/sdata.2016.18 · Cited by 18,423 · see citing works
Rao, R. P. N., & Ballard, D. H. (1999) · Nature Neuroscience · doi:10.1038/4580 · Cited by 5,483 · see citing works
A theory of cortical responses.
Friston, K. (2005) · Philosophical Transactions of the Royal Society B: Biological Sciences · doi:10.1098/rstb.2005.1622 · Cited by 4,578 · see citing works
A new approach to variable metric algorithms
Fletcher, R. (1970) · The Computer Journal · doi:10.1093/comjnl/13.3.317 · Cited by 4,146 · see citing works
Conditioning of quasi-Newton methods for function minimization
Shanno, D. F. (1970) · Mathematics of Computation · doi:10.1090/s0025-5718-1970-0274029-x · Cited by 3,752 · see citing works
A family of variable-metric methods derived by variational means
Goldfarb, D. (1970) · Mathematics of Computation · doi:10.1090/s0025-5718-1970-0258249-6 · Cited by 3,223 · see citing works
The Convergence of a Class of Double-rank Minimization Algorithms 1. General Considerations
Broyden, C. G. (1970) · IMA Journal of Applied Mathematics · doi:10.1093/imamat/6.1.76 · Cited by 2,934 · see citing works
A Fast Algorithm for the Minimum Covariance Determinant Estimator
Rousseeuw, P. J., & Driessen, K. V. (1999) · Technometrics · doi:10.1080/00401706.1999.10485670 · Cited by 2,707 · see citing works
The preregistration revolution
Nosek, B. A., Ebersole, C. R., DeHaven, A. C., & Mellor, D. T. (2018) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.1708274114 · Cited by 1,998 · see citing works
A Fast Algorithm for the Minimum Covariance Determinant Estimator
Rousseeuw, P. J., & Driessen, K. V. (1999) · Technometrics · doi:10.2307/1270566 · Cited by 1,889 · see citing works
Bayesian model selection for group studies
Stephan, K. E., Penny, W. D., Daunizeau, J., Moran, R. J., & Friston, K. J. (2009) · NeuroImage · doi:10.1016/j.neuroimage.2009.03.025 · Cited by 1,423 · see citing works
Self-citationBayesian statistics and modelling
van de Schoot, R., Depaoli, S. A., King, R., Kramer, B. M. R., Märtens, K., Tadesse, M. G., Vannucci, M., Gelman, A., Veen, D., Willemsen, J. E., et al. (2021) · Nature Reviews Methods Primers · doi:10.1038/s43586-020-00001-2 · Cited by 1,185 · see citing works
Kapur, S., Phillips, A. G., & Insel, T. R. (2012) · Molecular Psychiatry · doi:10.1038/mp.2012.105 · Cited by 980 · see citing works
The speed-accuracy tradeoff: history, physiology, methodology, and behavior
Heitz, R. P. (2014) · Frontiers in Neuroscience · doi:10.3389/fnins.2014.00150 · Cited by 952 · see citing works
Maldonado, M., Guo, F., & Letts, J. A. (2021) · eLife · doi:10.7554/elife.62047 · Cited by 837 · see citing works
Montague, P. R., Dolan, R. J., Friston, K. J., & Dayan, P. (2012) · Trends in Cognitive Sciences · doi:10.1016/j.tics.2011.11.018 · Cited by 809 · see citing works
Ten simple rules for the computational modeling of behavioral data
Wilson, R. C., & Collins, A. G. E. (2019) · eLife · doi:10.7554/elife.49547 · Cited by 728 · see citing works
Comparing families of dynamic causal models
Penny, W. D., Stephan, K. E., Daunizeau, J., Rosa, M. J., Friston, K. J., Schofield, T. M., & Leff, A. P. (2010) · PLoS Computational Biology · doi:10.1371/journal.pcbi.1000709 · Cited by 688 · see citing works
Self-citationPavlovian conditioning-induced hallucinations result from overweighting of perceptual priors
Powers, A. R., Mathys, C., & Corlett, P. R. (2017) · Science · doi:10.1126/science.aan3458 · Cited by 684 · see citing works
Self-citationBayesian model selection for group studies — Revisited
Rigoux, L., Stephan, K. E., Friston, K. J., & Jean Daunizeau, A. (2013) · NeuroImage · doi:10.1016/j.neuroimage.2013.08.065 · Cited by 675 · see citing works
Self-citationA Bayesian foundation for individual learning under uncertainty
Mathys, C. (2011) · Frontiers in Human Neuroscience · doi:10.3389/fnhum.2011.00039 · Cited by 655 · see citing works
Self-citationRaincloud plots: a multi-platform tool for robust data visualization
Allen, M., Poggiali, D., Whitaker, K. J., Marshall, T. R., van Langen, J., & Kievit, R. (2021) · Wellcome Open Research · doi:10.12688/wellcomeopenres.15191.2 · Cited by 502 · see citing works
Adults with autism overestimate the volatility of the sensory environment
Lawson, R. P., Mathys, C., & Rees, G. (2017) · Nature Neuroscience · doi:10.1038/nn.4615 · Cited by 470 · see citing works
Self-citationUncertainty in perception and the Hierarchical Gaussian Filter
Mathys, C. D., Lomakina, E. I., Daunizeau, J., Iglesias, S., Brodersen, K. H., Friston, K. J., & Stephan, K. E. (2014) · Frontiers in Human Neuroscience · doi:10.3389/fnhum.2014.00825 · Cited by 465 · see citing works
Self-citationBayesian WorkflowPreprint
Gelman, A., Vehtari, A., Simpson, D., Margossian, C. C., Carpenter, B., Yao, Y., Kennedy, L., Gabry, J., Bürkner, P., & Modrák, M. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2011.01808 · Cited by 387 · see citing works
VBA: A Probabilistic Treatment of Nonlinear Models for Neurobiological and Behavioural Data
Daunizeau, J., Adam, V., & Rigoux, L. (2014) · PLoS Computational Biology · doi:10.1371/journal.pcbi.1003441 · Cited by 385 · see citing works
Self-citationHierarchical Prediction Errors in Midbrain and Basal Forebrain during Sensory Learning
Iglesias, S., Mathys, C., Brodersen, K. H., Kasper, L., Piccirelli, M., den Ouden, H. E. M., & Stephan, K. E. (2013) · Neuron · doi:10.1016/j.neuron.2013.09.009 · Cited by 342 · see citing works
Self-citationA Dual Role for Prediction Error in Associative Learning
den Ouden, H. E. M., Friston, K. J., Daw, N. D., McIntosh, A. R., & Stephan, K. E. (2009) · Cerebral Cortex · doi:10.1093/cercor/bhn161 · Cited by 306 · see citing works
Self-citationThe drift diffusion model as the choice rule in reinforcement learning
Pedersen, M. L., Frank, M. J., & Biele, G. (2016) · Psychonomic Bulletin & Review · doi:10.3758/s13423-016-1199-y · Cited by 272 · see citing works
Computational approaches to psychiatry
Stephan, K. E., & Mathys, C. (2014) · Current Opinion in Neurobiology · doi:10.1016/j.conb.2013.12.007 · Cited by 260 · see citing works
Self-citationToward a principled Bayesian workflow in cognitive science.
Schad, D. J., Betancourt, M., & Vasishth, S. (2021) · Psychological Methods · doi:10.1037/met0000275 · Cited by 252 · see citing works
Validating Bayesian Inference Algorithms with Simulation-Based CalibrationPreprint
Talts, S., Betancourt, M., Simpson, D., Vehtari, A., & Gelman, A. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1804.06788 · Cited by 218 · see citing works
TAPAS: An Open-Source Software Package for Translational Neuromodeling and Computational Psychiatry
Frässle, S., Aponte, E. A., Bollmann, S., Brodersen, K. H., Do, C. T., Harrison, O. K., Harrison, S. J., Heinzle, J., Iglesias, S., Kasper, L., et al. (2021) · Frontiers in Psychiatry · doi:10.3389/fpsyt.2021.680811 · Cited by 169 · see citing works
Self-citationObserving the observer (I): meta-bayesian models of learning and decision-making
Daunizeau, J., den Ouden, H. E. M., Pessiglione, M., Kiebel, S. J., Stephan, K. E., & Friston, K. J. (2010) · PLoS ONE · doi:10.1371/journal.pone.0015554 · Cited by 167 · see citing works
Self-citationComputational neuroimaging strategies for single patient predictions
Stephan, K. E., Schlagenhauf, F., Huys, Q. J. M., Raman, S., Aponte, E. A., Brodersen, K. H., Rigoux, L., Moran, R., Jean Daunizeau, A., Dolan, R. J., et al. (2016) · NeuroImage · doi:10.1016/j.neuroimage.2016.06.038 · Cited by 166 · see citing works
Self-citationInteroception of breathing and its relationship with anxiety
Harrison, O. K., Köchli, L., Marino, S., Luechinger, R., Hennel, F., Brand, K., Hess, A. J., Frässle, S., Iglesias, S., Vinckier, F., et al. (2021) · Neuron · doi:10.1016/j.neuron.2021.09.045 · Cited by 163 · see citing works
Self-citationPharmacological Fingerprints of Contextual Uncertainty
Marshall, L., Mathys, C., Ruge, D., de Berker, A. O., Dayan, P., Stephan, K. E., & Bestmann, S. (2016) · PLOS Biology · doi:10.1371/journal.pbio.1002575 · Cited by 158 · see citing works
Self-citationEmpirical priors for reinforcement learning models
Gershman, S. J. (2016) · Journal of Mathematical Psychology · doi:10.1016/j.jmp.2016.01.006 · Cited by 156 · see citing works
Shahar, N., Hauser, T. U., Moutoussis, M., Moran, R., Keramati, M., & Dolan, R. J. (2019) · PLoS Computational Biology · doi:10.1371/journal.pcbi.1006803 · Cited by 144 · see citing works
State anxiety biases estimates of uncertainty and impairs reward learning in volatile environments
Hein, T. P., de Fockert, J., & Ruiz, M. H. (2021) · NeuroImage · doi:10.1016/j.neuroimage.2020.117424 · Cited by 99 · see citing works
Improving Out-of-Sample Predictions Using Response Times and a Model of the Decision ProcessPreprint
Clithero, J. A. (2016) · SSRN Electronic Journal · doi:10.1016/j.jebo.2018.02.007 · Cited by 99 · see citing works
Lawson, R. P., Bisby, J. A., Nord, C. L., Burgess, N., & Rees, G. E. (2020) · Current Biology · doi:10.1016/j.cub.2020.10.043 · Cited by 85 · see citing works
A new model of decision processing in instrumental learning tasks
Miletić, S., Boag, R. J., Trutti, A. C., Stevenson, N., Forstmann, B. U., & Heathcote, A. (2021) · eLife · doi:10.7554/elife.63055 · Cited by 72 · see citing works
McDougle, S. D., & Collins, A. G. E. (2020) · Psychonomic Bulletin & Review · doi:10.3758/s13423-020-01774-z · Cited by 59 · see citing works
Observing the Observer (II): Deciding When to Decide
Jean Daunizeau, A., den Ouden, H. E. M., Pessiglione, M., Kiebel, S. J., Friston, K. J., & Stephan, K. E. (2010) · PLoS ONE · doi:10.1371/journal.pone.0015555 · Cited by 58 · see citing works
Self-citationBallard, I. C., & McClure, S. M. (2019) · Journal of Neuroscience Methods · doi:10.1016/j.jneumeth.2019.01.006 · Cited by 57 · see citing works
Sporn, S., Hein, T. P., & Ruiz, M. H. (2020) · eLife · doi:10.7554/elife.50654 · Cited by 56 · see citing works
Iglesias, S., Kasper, L., Harrison, S. J., Manka, R., Mathys, C. D., & Stephan, K. E. (2020) · NeuroImage · doi:10.1016/j.neuroimage.2020.117590 · Cited by 45 · see citing works
Self-citationA Joint Modeling Approach for Reaction Time and Accuracy in Psycholinguistic Experiments
Loeys, T., Rosseel, Y., & Baten, K. (2011) · Psychometrika · doi:10.1007/s11336-011-9211-y · Cited by 37 · see citing works
Neural correlates of hierarchical predictive processes in autistic adults
Sapey-Triomphe, L.-A., Pattyn, L., Weilnhammer, V., Sterzer, P., & Wagemans, J. (2023) · Nature Communications · doi:10.1038/s41467-023-38580-9 · Cited by 35 · see citing works
TAPAS: an open-source software package for Translational Neuromodeling and Computational PsychiatryPreprint
Frässle, S., Aponte, E. A., Bollmann, S., et al. (2021) · bioRxiv (Cold Spring Harbor Laboratory) · doi:10.1101/2021.03.12.435091 · Cited by 30 · see citing works
Self-citationModel-based prediction of muscarinic receptor function from auditory mismatch negativity responses
Schöbi, D., Homberg, F., Frässle, S., Endepols, H., Moran, R. J., Friston, K. J., Tittgemeyer, M., Heinzle, J., & Stephan, K. E. (2021) · NeuroImage · doi:10.1016/j.neuroimage.2021.118096 · Cited by 25 · see citing works
Self-citationReaction times as a measure of uncertainty.
Bonnet, C., Fauquet, J., & Estaún, S. (2008) · PubMed · Cited by 24 · see citing works
Interoception of breathing and its relationship with anxietyPreprint
Harrison, O. K., Köchli, L., Marino, S., et al. (2021) · bioRxiv (Cold Spring Harbor Laboratory) · doi:10.1101/2021.03.24.436881 · Cited by 19 · see citing works
Self-citationTecilla, M., Großbach, M., Gentile, G., Holland, P. W. H., Sporn, S., Antonini, A., & Ruiz, M. H. (2023) · Journal of Neuroscience · doi:10.1523/jneurosci.1583-22.2022 · Cited by 17 · see citing works
Forget-me-some: General versus special purpose models in a hierarchical probabilistic task
Bröker, F., Marshall, L., Bestmann, S., & Dayan, P. (2018) · PLoS ONE · doi:10.1371/journal.pone.0205974 · Cited by 11 · see citing works
Response time models separate single- and dual-process accounts of memory-based decisions
Kraemer, P. M., Fontanesi, L., Spektor, M. S., & Gluth, S. (2020) · Psychonomic Bulletin & Review · doi:10.3758/s13423-020-01794-9 · Cited by 7 · see citing works
Flagged first, then by citations
Research works printed but not linked: 1
- [3]Betancourt, M. (2020). Towards A Principled Bayesian Workflow. https://betanalpha.github.io/assets/case_studies/principled_bayesian_workflow.html 32551748
Cited by
Sorted by citations
Generative Artificial Intelligence Chatbots and Delusions: From Guesswork to Emerging Cases
Østergaard, S. D. (2025) · Acta Psychiatrica Scandinavica · doi:10.1111/acps.70022 · Cited by 36 · see citing works
As One and Many: Relating Individual and Emergent Group-Level Generative Models in Active Inference
Waade, P. T., Olesen, C., Laursen, J. E., Nehrer, S. W., Heins, C., Friston, K. J., & Mathys, C. D. (2025) · Entropy · doi:10.3390/e27020143 · Cited by 12 · see citing works
Self-citationGupta, R., Jha, N. K., Kumar, N., Nagraik, R., & Ravi, K. (2026) · Frontiers in Cell and Developmental Biology · doi:10.3389/fcell.2026.1762930 · Cited by 11 · see citing works
Nehrer, S. W., Laursen, J. E., Heins, C., Friston, K. J., Mathys, C. D., & Waade, P. T. (2025) · Entropy · doi:10.3390/e27010062 · Cited by 3 · see citing works
Self-citationPredicting emotional valence in autism: a preregistered study in the Bayesian Brain framework
Plank, I. S., Pior, A., Yurova, A., Nowak, J., Shi, Z., & Falter-Wagner, C. M. (2026) · Molecular Autism · doi:10.1186/s13229-026-00730-3 · Cited by 2 · see citing works
“To assess these models, we adapted the workflow presented by Hess and colleagues [19].”
Excessive switching in OCD and paranoia arises from different deficits in belief-updating
Freeland, C. M., Castiello, S., Suthaharan, P., Pittenger, C., & Corlett, P. R. (2026) · Computational Psychiatry · doi:10.5334/cpsy.136
Transsaccadic working memory in healthy ageing and neurodegenerative diseasePreprint
Zhao, S., Parr, T., Udale, R. C., Klar, V. S., Jones, G. D., Scholcz, A., Toniolo, S., Manohar, S., & Masud Husain, B. (2025) · eLife · doi:10.1101/2025.07.26.666983
Impaired reward-based learning but preserved motor invigoration in chronic stroke
Sporn, S., Ruiz, M. H., Fathana, R., Zich, C., Bestmann, S., & Ward, N. (2026) · Brain · doi:10.1093/brain/awag162
Zhao, S., Parr, T., Udale, R. C., Klar, V. S., Jones, G. D., Scholcz, A., Toniolo, S., Manohar, S., & Masud Husain, B. (2025) · eLife · doi:10.7554/elife.109581.1
Zhao, S., Parr, T., Udale, R. C., Klar, V. S., Jones, G. D., Scholcz, A., Toniolo, S., Manohar, S., & Masud Husain, B. (2026) · eLife · doi:10.7554/elife.109581.2
- Authors
- Hess, A. J., Iglesias, S., Köchli, L., Marino, S., Müller-Schrader, M., Rigoux, L., Mathys, C., Harrison, O. K., Heinzle, J., Frässle, S., & Stephan, K. E.
- Affiliations
- University of Zurich (CH)
- Max Planck Institute for Metabolism Research (DE)
- Aarhus University (DK)
- Corresponding author
- Hess, Alexander J.
- ORCID
- Venue
- Computational Psychiatry
- Publisher
- Ubiquity Press, Ltd.
- Published
- 2025
- Volume
- 9
- Issue
- 1
- Pages
- 76-99
- ISSN
- 2379-6227 (ISSN-L)
- PMC
- PMC11951975
- OpenAlex
- W4408807552
- Cited by
- 10
- References
- 54
- Citations by year
- 2026: 5 · 2025: 5
- FWCI
- 8.49
- Type
- journal article
- Language
- en
- Open access
- gold
- doi.org
- Licence
- cc-by
- Locations
- Computational Psychiatry (publishedVersion, cc-by)
- bioRxiv (Cold Spring Harbor Laboratory) (acceptedVersion, cc-by)
- Europe PMC (PubMed Central) (publishedVersion, cc-by)
- PubMed Central (publishedVersion, cc-by)
- PubMed (publishedVersion)
- DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
- Zurich Open Repository and Archive (University of Zurich) (submittedVersion, cc-by)
- Topics
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Bayesian Inference
- Physical Sciences › Computer Science › Artificial Intelligence › Bayesian Modeling and Causal Inference
- Life Sciences › Neuroscience › Cognitive Neuroscience › Neural and Behavioral Psychology Studies
- Keywords
- generative modelling, response model, binary outcomes, reaction time (psychology), parameter identifiability, statistical inference
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