Skip to main content
QUICK REVIEW

[Paper Review] Kullback-Leibler Divergence for the Normal-Gamma Distribution

Joram Soch, Carsten Allefeld|arXiv (Cornell University)|Nov 4, 2016
Image and Signal Denoising MethodsComputer Science3 references21 citations
TL;DR

This paper derives the Kullback-Leibler (KL) divergence for the normal-gamma distribution, showing it equals the Bayesian complexity penalty in the univariate general linear model with conjugate priors. The method enables model selection that balances accuracy and complexity, outperforming accuracy-only criteria in simulated and fMRI data, where it identified superior model evidence for a parametric model over a factorial design despite lower accuracy.

ABSTRACT

We derive the Kullback-Leibler divergence for the normal-gamma distribution and show that it is identical to the Bayesian complexity penalty for the univariate general linear model with conjugate priors. Based on this finding, we provide two applications of the KL divergence, one in simulated and one in empirical data.

Motivation & Objective

  • To derive the Kullback-Leibler divergence for the normal-gamma distribution, a joint distribution over normal and gamma-distributed variables.
  • To establish that this KL divergence corresponds to the Bayesian complexity penalty in the univariate general linear model with conjugate priors.
  • To demonstrate the utility of the KL divergence in model selection by comparing model accuracy and complexity in simulated and empirical neuroimaging data.
  • To show that model selection based on log model evidence—incorporating both accuracy and complexity—can detect differences not identifiable through accuracy alone.

Proposed method

  • Derives the KL divergence for two normal-gamma distributions by decomposing it into a conditional multivariate normal KL divergence (over x given y) and a univariate gamma KL divergence (over y), both integrated over the prior.
  • Uses known closed-form expressions for multivariate normal and univariate gamma KL divergences, then computes the expectation over the gamma-distributed precision parameter y.
  • Applies the derived KL divergence as a complexity penalty in Bayesian model evidence, enabling model comparison via log model evidence (LME).
  • Performs cross-validation across fMRI sessions to compute cross-validated log model evidence (cvLME), accuracy, and complexity for two competing models: a factorial GLM (GLM I) and a parametric model (GLM II).
  • Uses paired t-tests to identify voxels where GLM II has significantly higher cvLME than GLM I, despite lower accuracy, to isolate complexity-driven model advantages.
  • Analyzes data from a visual orientation contrast fMRI experiment in V4, using a mask from a localizer, and extracts model evidence, accuracy, and complexity at the peak voxel across subjects.

Experimental results

Research questions

  • RQ1Does the KL divergence for the normal-gamma distribution correspond to the Bayesian complexity penalty in the univariate general linear model with conjugate priors?
  • RQ2Can the KL divergence-based complexity penalty improve model selection beyond accuracy-based criteria such as AIC or BIC?
  • RQ3In neuroimaging data, does a parametric model (GLM II) outperform a factorial model (GLM I) in log model evidence when accuracy is comparable or lower?
  • RQ4Can model complexity, quantified via KL divergence between prior and posterior, detect model differences not apparent from accuracy alone?

Key findings

  • The KL divergence for the normal-gamma distribution is analytically derived as the sum of a multivariate normal KL divergence (conditioned on y) and a univariate gamma KL divergence, with the former taken as an expectation over y.
  • The derived KL divergence matches the Bayesian complexity penalty in the univariate general linear model with conjugate priors, validating its theoretical role in model evidence.
  • In simulated data, the KL divergence successfully quantifies relative informational content between models, supporting its use in model comparison.
  • In empirical fMRI data, GLM II had a higher cross-validated log model evidence (ΔL = 4.24) than GLM I despite lower accuracy (ΔAcc = -1.78), indicating a complexity advantage.
  • Model complexity, measured as KL divergence between prior and posterior, was consistently higher for GLM I (ΔCom = -6.02), showing that GLM II's superior performance stems from better complexity control.
  • The results demonstrate that model selection based on log model evidence—incorporating both accuracy and complexity—can identify meaningful model differences that accuracy alone cannot detect.

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.