Mathematical Psychology
About

Hierarchical Bayesian Models

Hierarchical Bayesian models use multi-level prior structures to simultaneously estimate individual and group-level parameters, enabling principled inference about individual differences in cognitive processes.

Hierarchical Bayesian models (HBMs) extend standard Bayesian inference to multi-level data structures where individual subjects are assumed to be drawn from a population distribution. Parameters at the individual level are constrained by group-level (hyper)parameters, producing "shrinkage" that regularizes noisy individual estimates toward the group mean. This approach has transformed cognitive modeling by enabling principled inference about individual differences.

The Hierarchical Structure

Hierarchical Bayesian Model Population level: μ, σ ~ prior
Individual level: θᵢ ~ Normal(μ, σ) for each subject i
Data level: yᵢ ~ f(θᵢ) for each observation

Posterior: P(θ₁,...,θₙ, μ, σ | data) ∝ Π P(yᵢ|θᵢ) · Π P(θᵢ|μ,σ) · P(μ,σ)

Advantages for Cognitive Modeling

When fitting cognitive models (DDM, reinforcement learning, etc.) to individual subjects, HBMs provide several advantages: (1) regularization — individual estimates are "shrunk" toward the group mean, improving estimates for subjects with limited data; (2) borrowing strength — information from well-measured subjects helps constrain poorly-measured subjects; (3) natural handling of individual differences — the population distribution directly describes between-subject variability in model parameters.

HBMs have become the standard approach for fitting computational models to behavioral data, implemented through MCMC sampling (JAGS, Stan) or variational inference methods.

Related Topics

References

  1. Lee, M. D., & Wagenmakers, E.-J. (2013). Bayesian cognitive modeling: A practical course. Cambridge University Press. https://doi.org/10.1017/CBO9781139087759
  2. Rouder, J. N., & Lu, J. (2005). An introduction to Bayesian hierarchical models with an application in the theory of signal detection. Psychonomic Bulletin & Review, 12(4), 573–604. https://doi.org/10.3758/BF03196750
  3. Shiffrin, R. M., Lee, M. D., Kim, W., & Wagenmakers, E.-J. (2008). A survey of model evaluation approaches with a tutorial on hierarchical Bayesian methods. Cognitive Science, 32(8), 1248–1284. https://doi.org/10.1080/03640210802414826
  4. Kruschke, J. K. (2010). What to believe: Bayesian methods for data analysis. Trends in Cognitive Sciences, 14(7), 293–300. https://doi.org/10.1016/j.tics.2010.05.001

External Links