Pinning the group-level variance parameters to speed computation for hierarchical models

· Source: Statistical Modeling, Causal Inference, and Social Science · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics · Depth: Advanced, quick

Summary

A discussion on the Stan Forums highlighted methods to accelerate computation for large hierarchical models. One key recommendation involves pinning group-level variance parameters or covariance matrices to pre-chosen values derived from subject-matter information, noting that inference is often not highly sensitive to these parameters if they are within a reasonable range. A research idea proposes drawing multiple variance parameter values from a prior, running fast inferences (MCMC or optimization/Laplace approximation) for each, and then averaging the results using stacking. Additionally, the use of zero-avoiding gamma priors for group-level variance parameters, or Wishart priors for covariance matrices, is suggested. Utilizing Pathfinder to obtain effective starting values for joint parameter estimation is also presented as a successful strategy to mitigate computational challenges like the funnel problem.

Key takeaway

For AI Scientists working with large hierarchical models, consider pinning group-level variance parameters based on domain knowledge to significantly reduce computation time. You should also explore using Pathfinder for initial parameter values to improve estimation efficiency and address common convergence issues like the funnel problem.

Key insights

Pinning group-level variance parameters can significantly speed up hierarchical model computation.

Principles

Method

Pin group-level variance parameters to subject-matter informed values; alternatively, draw values from a prior, run fast inferences, and average results via stacking.

In practice

Topics

Best for: AI Scientist, AI Researcher, Data Scientist, Research Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Statistical Modeling, Causal Inference, and Social Science.