Introduction
In the fields of computational neuroscience and psychology, researchers strive to map behavioral data to underlying cognitive processes. This typically involves two distinct but deeply intertwined tasks: parameter estimation and model comparison. Parameter estimation seeks to quantify the "hidden" variables—such as learning rates or risk aversion—that drive an individual's choices. Model comparison, on the other hand, aims to identify which theoretical framework (e.g., a simple reinforcement learning model versus a more complex actor-critic model) best explains the observed behavior.
Historically, these tasks have been treated as sequential or separate. However, this separation introduces significant biases, particularly in group studies where individuals may not all adhere to the same cognitive model. This paper presents the Hierarchical Bayesian Inference (HBI) framework, a unified approach designed to perform model fitting and comparison concurrently, thereby improving the accuracy and reliability of group-level inferences.
The Challenge of Interdependence
The core difficulty in group modeling lies in the "chicken-and-egg" nature of the problem. To accurately estimate a subject's parameters, one must first know which model they are using. Conversely, to determine which model a subject is using, one must estimate their parameters under various candidate models.
Standard hierarchical methods often rely on a "fixed-effect" assumption, where a single model is assumed to apply to every subject in a group. If this assumption is violated—for instance, if 20% of subjects are better described by an alternative model—forcing them into the primary group distribution biases the parameter estimates for the entire cohort. On the other hand, non-hierarchical methods that treat subjects as independent often over-penalize complex models and are highly sensitive to outliers.
The HBI Framework
The authors propose HBI as a solution that treats model identity as a random effect. Using a mean-field variational Bayes framework, HBI considers both model identity and model parameters as latent random variables within a single hierarchical structure.
Key Innovations
- Concurrent Inference: By solving for parameters and model identities simultaneously, HBI allows the data to inform both levels of the hierarchy at once.
- Responsibility ($r_{kn}$): The algorithm calculates the "responsibility"—the probability that a specific model $k$ generated the data for subject $n$. Group-level statistics are then calculated as weighted averages, ensuring that subjects only contribute significantly to the statistics of the models they are likely using.
- The HBI t-test: A major contribution of this work is the derivation of a novel t-test. Standard t-tests are invalid for hierarchically fit parameters because the fitting process "shrinks" individual estimates toward the group mean, artificially reducing variance and inflating false-positive rates. The HBI t-test accounts for the degrees of freedom provided by the model evidence, maintaining a valid 5% false-positive rate.
Validation and Results
The framework was rigorously tested using both synthetic and empirical datasets, including Reinforcement Learning (RL) models, Kalman filters, and Actor-Critic models.
Synthetic Data Performance
In simulations where the ground truth was known, HBI consistently outperformed traditional methods. It showed significantly lower errors in parameter recovery compared to non-hierarchical maximum likelihood estimation and standard hierarchical parameter estimation (HPE). Furthermore, HBI proved superior in model selection, particularly in cases where candidate models were "nested" or highly similar.
Clinical Application: Parkinson’s Disease
The utility of HBI was further evidenced in a study of 31 Parkinson’s Disease (PD) patients and 20 healthy controls. The task involved probabilistic learning to see how dopamine-related illness affects learning from positive versus negative outcomes.
Traditional methods struggled to find a clear distinction between the groups. However, when analyzed through the HBI framework, it became clear that PD patients were better described by a "dual-learning rate" model than the control group. This finding was statistically significant only when using the HBI t-test, highlighting the framework's ability to uncover subtle clinical differences that other methods might miss.
Robustness and Complexity
HBI addresses several long-standing issues in computational modeling:
- Complexity Handling: Unlike non-hierarchical methods that may unfairly penalize complex models, HBI recognizes that shared parameters across a group reduce the "cost" of complexity, allowing for a more nuanced comparison.
- Outlier Resistance: By treating model identity as a random effect, HBI prevents a single outlier subject from dominating the group-level model selection, a common failure point in fixed-effects approaches.
Conclusion
The Hierarchical Bayesian Inference framework represents a significant step forward for group-level behavioral analysis. By unifying parameter estimation and model selection, it provides researchers with a tool that is more accurate, robust to outliers, and statistically valid. To facilitate adoption, the authors have released the cbm toolbox, an open-source Python and MATLAB implementation of the method. While the framework currently assumes Gaussian distributions for group priors, its success in clinical and synthetic applications suggests it will become a standard tool for the computational neuroscience community.
Summary updated