Suppr超能文献

贝叶斯认知模型故障排除

Troubleshooting Bayesian cognitive models.

作者信息

Baribault Beth, Collins Anne G E

机构信息

Department of Psychology, University of California, Berkeley.

出版信息

Psychol Methods. 2025 Feb;30(1):128-154. doi: 10.1037/met0000554. Epub 2023 Mar 27.

Abstract

Using Bayesian methods to apply computational models of cognitive processes, or , is an important new trend in psychological research. The rise of Bayesian cognitive modeling has been accelerated by the introduction of software that efficiently automates the Markov chain Monte Carlo sampling used for Bayesian model fitting-including the popular Stan and PyMC packages, which automate the dynamic Hamiltonian Monte Carlo and No-U-Turn Sampler (HMC/NUTS) algorithms that we spotlight here. Unfortunately, Bayesian cognitive models can struggle to pass the growing number of diagnostic checks required of Bayesian models. If any failures are left undetected, inferences about cognition based on the model's output may be biased or incorrect. As such, Bayesian cognitive models almost always require before being used for inference. Here, we present a deep treatment of the diagnostic checks and procedures that are critical for effective troubleshooting, but are often left underspecified by tutorial papers. After a conceptual introduction to Bayesian cognitive modeling and HMC/NUTS sampling, we outline the diagnostic metrics, procedures, and plots necessary to detect problems in model output with an emphasis on how these requirements have recently been changed and extended. Throughout, we explain how uncovering the exact nature of the problem is often the key to identifying solutions. We also demonstrate the troubleshooting process for an example hierarchical Bayesian model of reinforcement learning, including supplementary code. With this comprehensive guide to techniques for detecting, identifying, and overcoming problems in fitting Bayesian cognitive models, psychologists across subfields can more confidently build and use Bayesian cognitive models in their research. (PsycInfo Database Record (c) 2025 APA, all rights reserved).

摘要

运用贝叶斯方法来应用认知过程的计算模型,即 ,是心理学研究中的一个重要新趋势。贝叶斯认知建模的兴起因软件的引入而加速,这些软件能有效地自动执行用于贝叶斯模型拟合的马尔可夫链蒙特卡罗采样,包括流行的Stan和PyMC软件包,它们自动执行我们在此重点介绍的动态哈密顿蒙特卡罗和无回转采样器(HMC/NUTS)算法。不幸的是,贝叶斯认知模型可能难以通过对贝叶斯模型要求越来越多的诊断检查。如果任何故障未被检测到,基于模型输出对认知的推断可能会有偏差或不正确。因此,贝叶斯认知模型在用于推断之前几乎总是需要 。在此,我们深入探讨了对有效故障排除至关重要但教程论文往往未详细说明的诊断检查和程序。在对贝叶斯认知建模和HMC/NUTS采样进行概念性介绍之后,我们概述了检测模型输出问题所需的诊断指标、程序和图表,重点是这些要求最近是如何变化和扩展的。在整个过程中,我们解释了揭示问题的确切性质通常是找到解决方案的关键。我们还展示了一个强化学习的分层贝叶斯模型示例的故障排除过程,包括补充代码。通过这份关于检测、识别和克服贝叶斯认知模型拟合问题的技术的全面指南,各个子领域的心理学家在其研究中可以更自信地构建和使用贝叶斯认知模型。(PsycInfo数据库记录(c)2025美国心理学会,保留所有权利)

相似文献

1
Troubleshooting Bayesian cognitive models.
Psychol Methods. 2025 Feb;30(1):128-154. doi: 10.1037/met0000554. Epub 2023 Mar 27.
2
Using Hamiltonian Monte Carlo to estimate the log-linear cognitive diagnosis model via Stan.
Behav Res Methods. 2019 Apr;51(2):651-662. doi: 10.3758/s13428-018-1069-9.
3
No-U-turn sampling for fast Bayesian inference in ADMB and TMB: Introducing the adnuts and tmbstan R packages.
PLoS One. 2018 May 24;13(5):e0197954. doi: 10.1371/journal.pone.0197954. eCollection 2018.
4
A comparison of computational algorithms for the Bayesian analysis of clinical trials.
Clin Trials. 2024 Dec;21(6):689-700. doi: 10.1177/17407745241247334. Epub 2024 May 16.
5
Estimating the DINA model parameters using the No-U-Turn Sampler.
Biom J. 2018 Mar;60(2):352-368. doi: 10.1002/bimj.201600225. Epub 2017 Dec 1.
6
Bayesian inference with Stan: A tutorial on adding custom distributions.
Behav Res Methods. 2017 Jun;49(3):863-886. doi: 10.3758/s13428-016-0746-9.
8
Inclusion Bayes factors for mixed hierarchical diffusion decision models.
Psychol Methods. 2024 Aug;29(4):625-655. doi: 10.1037/met0000582. Epub 2023 May 11.
10
A Bayesian nonparametric approach for uncovering rat hippocampal population codes during spatial navigation.
J Neurosci Methods. 2016 Apr 1;263:36-47. doi: 10.1016/j.jneumeth.2016.01.022. Epub 2016 Feb 5.

引用本文的文献

1
Latent variable sequence identification for cognitive models with neural network estimators.
Behav Res Methods. 2025 Aug 28;57(10):272. doi: 10.3758/s13428-025-02794-0.
2
Social inequity disrupts reward-based learning.
Commun Psychol. 2025 Aug 16;3(1):125. doi: 10.1038/s44271-025-00300-y.
3
Divisive attenuation based on noisy sensorimotor predictions accounts for excess variability in self-touch.
J Neurophysiol. 2025 Jul 1;134(1):407-428. doi: 10.1152/jn.00055.2025. Epub 2025 Jun 18.
4
Eating disorder symptoms and emotional arousal modulate food biases during reward learning in females.
Nat Commun. 2025 Mar 26;16(1):2938. doi: 10.1038/s41467-025-57872-w.
5
Naturally disengaging control to reveal habits.
Res Sq. 2025 Jan 20:rs.3.rs-5773028. doi: 10.21203/rs.3.rs-5773028/v1.
6
A neurocognitive mechanism for increased cooperation during group formation.
Commun Psychol. 2024 Dec 23;2(1):127. doi: 10.1038/s44271-024-00177-3.
7
High stakes slow responding, but do not help overcome Pavlovian biases in humans.
Learn Mem. 2024 Sep 16;31(8). doi: 10.1101/lm.054017.124. Print 2024 Aug.
8
Artificial neural networks for model identification and parameter estimation in computational cognitive models.
PLoS Comput Biol. 2024 May 15;20(5):e1012119. doi: 10.1371/journal.pcbi.1012119. eCollection 2024 May.
9
Active reinforcement learning versus action bias and hysteresis: control with a mixture of experts and nonexperts.
PLoS Comput Biol. 2024 Mar 29;20(3):e1011950. doi: 10.1371/journal.pcbi.1011950. eCollection 2024 Mar.

本文引用的文献

1
A tutorial on cognitive modeling for cognitive aging research.
Psychol Aging. 2022 Feb;37(1):30-42. doi: 10.1037/pag0000637.
3
Structural parameter interdependencies in computational models of cognition.
Psychol Rev. 2022 Mar;129(2):313-339. doi: 10.1037/rev0000285. Epub 2021 Jun 28.
4
If Mathematical Psychology Did Not Exist We Might Need to Invent It: A Comment on Theory Building in Psychology.
Perspect Psychol Sci. 2021 Jul;16(4):707-716. doi: 10.1177/1745691620974769. Epub 2021 Feb 16.
5
Attention-deficit/hyperactivity disorder and the explore/exploit trade-off.
Neuropsychopharmacology. 2021 Feb;46(3):614-621. doi: 10.1038/s41386-020-00881-8. Epub 2020 Oct 11.
6
A framework for building cognitive process models.
Psychon Bull Rev. 2020 Dec;27(6):1218-1229. doi: 10.3758/s13423-020-01747-2.
7
Toward a principled Bayesian workflow in cognitive science.
Psychol Methods. 2021 Feb;26(1):103-126. doi: 10.1037/met0000275. Epub 2020 Jun 18.
9
Ten simple rules for the computational modeling of behavioral data.
Elife. 2019 Nov 26;8:e49547. doi: 10.7554/eLife.49547.
10
Variational Bayesian methods for cognitive science.
Psychol Methods. 2020 Oct;25(5):535-559. doi: 10.1037/met0000242. Epub 2019 Oct 10.

文献AI研究员

20分钟写一篇综述,助力文献阅读效率提升50倍。

立即体验

用中文搜PubMed

大模型驱动的PubMed中文搜索引擎

马上搜索

文档翻译

学术文献翻译模型,支持多种主流文档格式。

立即体验