Skip to main content
QUICK REVIEW

[Paper Review] A Comparison of Variational Bayes and Hamiltonian Monte Carlo for Bayesian fMRI Time Series Analysis with Spatial Priors

Ming Teng, Timothy D. Johnson|arXiv (Cornell University)|Sep 7, 2016
Statistical Methods and Bayesian InferenceMathematics3 citations
TL;DR

This study compares Variational Bayes (VB) and Hamiltonian Monte Carlo (HMC) for Bayesian fMRI time series analysis with spatial priors, using simulation studies to evaluate estimation accuracy, posterior variability, spatial smoothness, and computation time. Despite HMC being more computationally intensive, VB produces very similar results, supporting its use in practice and validating its approximation quality for this model.

ABSTRACT

We consider Bayesian computation for a Bayesian fMRI time series model with spatial priors. A previously derived variational Bayes (VB) algorithm based on a mean field approximation is currently implemented in the Statistical Parametric Mapping (SPM) software. To examine the accuracy of this VB approximation we derive Hamiltonian Monte Carlo (HMC) for this model and conduct simulation studies to compare its performance with VB in terms of estimation accuracy, posterior variability, the spatial smoothness of estimated images, and computation time. As expected we find that the computation time required for VB is considerably less than that for HMC. Somewhat surprisingly, we find that the two approaches produce very similar results for the metrics and simulation studies considered, suggesting that the quality of the VB approximation in general may be quite good for this model. Some minor differences between the two approaches are found and these are discussed. Overall, our work helps to justify the use of VB for the specific model under consideration, and our software implementation of HMC can be used to compliment and check the accuracy of the VB approximation for any given dataset.

Motivation & Objective

  • To evaluate the accuracy of the Variational Bayes (VB) approximation used in Statistical Parametric Mapping (SPM) for fMRI time series with spatial priors.
  • To develop and implement Hamiltonian Monte Carlo (HMC) as a more accurate but slower alternative for the same model.
  • To compare VB and HMC across key metrics: estimation accuracy, posterior variability, spatial smoothness of estimated images, and computation time.
  • To assess whether the VB approximation is sufficiently reliable for practical fMRI analysis.
  • To provide an HMC implementation that can serve as a gold standard to validate VB results on any given dataset.

Proposed method

  • Derive a Hamiltonian Monte Carlo (HMC) algorithm for the Bayesian fMRI time series model with spatial priors.
  • Implement HMC using a gradient-based sampling approach to explore the posterior distribution more accurately than VB.
  • Use a mean field approximation in VB to simplify the posterior and enable fast computation.
  • Conduct simulation studies under controlled conditions to compare VB and HMC across multiple performance metrics.
  • Apply spatial priors to enforce smoothness in estimated activation maps, consistent with neurobiological expectations.
  • Use the HMC results as a benchmark to assess the quality of the VB approximation.

Experimental results

Research questions

  • RQ1How does the estimation accuracy of Variational Bayes compare to Hamiltonian Monte Carlo in Bayesian fMRI time series analysis with spatial priors?
  • RQ2What are the differences in posterior variability between VB and HMC for this model?
  • RQ3How do the spatial smoothness properties of estimated activation maps compare between VB and HMC?
  • RQ4What is the trade-off in computation time between VB and HMC for this model?
  • RQ5To what extent does the VB approximation accurately reflect the true posterior distribution in this context?

Key findings

  • The computation time for VB is considerably less than that for HMC, as expected due to its deterministic approximation approach.
  • Despite the computational difference, VB and HMC produce very similar results across all evaluated metrics, including estimation accuracy and spatial smoothness of activation maps.
  • Minor differences between VB and HMC are observed, particularly in posterior variability, but these are not substantial enough to undermine the validity of the VB approximation.
  • The high similarity in results suggests that the mean field VB approximation is of high quality for this specific fMRI model with spatial priors.
  • The HMC implementation serves as a reliable benchmark to validate VB results on a per-dataset basis.
  • The findings support the continued use of VB in SPM and highlight the value of HMC as a complementary tool for accuracy verification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.