Computational PsychiatryNeurosciencePeer-reviewed journal article
Revealing neuro-computational mechanisms of reinforcement learning and decision-making with the hBayesDM package
Abstract
Reinforcement learning and decision-making (RLDM) provide a quantitative framework and computational theories, with which we can disentangle psychiatric conditions into basic dimensions of neurocognitive functioning. RLDM offer a novel approach to assess and potentially diagnose psychiatric patients, and there is growing enthusiasm on RLDM and Computational Psychiatry among clinical researchers. Such a framework can also provide insights into the brain substrates of particular RLDM processes as exemplified by model-based functional magnetic resonance imaging (fMRI) or electroencephalogram (EEG). However, many researchers often find the approach too technical and have difficulty adopting it for their research. Thus, there remains a critical need to develop a user-friendly tool for the wide dissemination of computational psychiatric methods. We introduce an R package called hBayesDM (hierarchical Bayesian modeling of Decision-Making tasks), which offers computational modeling on an array of RLDM tasks and social exchange games. The hBayesDM package offers state-of-the-art hierarchical Bayesian modeling, where both individual and group parameters (i.e., posterior distributions) are estimated simultaneously in a mutually constraining fashion. At the same time, it is extremely user-friendly: users can perform computational modeling, output visualization, and Bayesian model comparisons-each with a single line of coding. Users can also extract trial-by-trial latent variables (e.g., prediction errors) required for model-based fMRI/EEG. With the hBayesDM package, we anticipate that anyone with minimal knowledge of programming can take advantage of cutting-edge computational modeling approaches and investigate the underlying processes of and interactions between multiple decision-making (e.g., goal-directed, habitual, and Pavlovian) systems. In this way, it is our expectation that the hBayesDM package will contribute to the dissemination of advanced modeling approaches and enable a wide range of researchers to easily perform computational psychiatric research within their populations.
- research focus: software / tool
- research focus: benchmarking
- approach: statistical model
- approach: Bayesian inference
- Citations
- 368
- FWCI
- 14.46
- Field percentile
- top 1%
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
- Bayesian Workflow for Generative Modeling in Computational Psychiatry
Alexander J. Hess, Sandra Iglesias, … Klaas Enno Stephan·Computational PsychiatryPeer-reviewed·Jan 1, 2025
- Beyond Drift Diffusion Models: Fitting a broad class of decision and RL models with HDDM
Alexander Fengler, Krishn Bera, … Michael J. Frank·bioRxiv·Jun 19, 2022
- Deformed Probability Estimation in Goal-Directed reinforcement learning model explains anxious-depression dimensions of psychiatric disorders
Sadjad Yazdani, Majid Nili Ahmadabadi, … Abdol‐Hossein Vahabie·Brain Research BulletinPeer-reviewed·Sep 1, 2026
- Signatures of heuristic-based directed exploration in two-step sequential decision task behaviour.
A.M.A. Brands, David Mathar, Jan Peters·Computational PsychiatryPeer-reviewed·Feb 11, 2025
- Hierarchical Bayesian Models of Reinforcement Learning: Introduction and comparison to alternative methods
Camilla van Geen, Raphael T. Gerraty·Journal of Mathematical PsychologyPeer-reviewed·Oct 18, 2021
- HSSM: A Widely Applicable Toolbox for Hierarchical Bayesian Neuro-cognitive Modeling
Alexander Fengler, Yang Xu, … Michael J. Frank·bioRxiv·Jun 9, 2026