liveBook · Manning

Wishart distribution

As explained in Math and Architectures of Deep Learning

The space of symmetric positive semidefinite matrices that Wishart-distributed random matrices range over.

The Wishart distribution models random d × d symmetric, non-negative definite matrices, the same structural class as covariance and precision matrices. It is the multivariate counterpart of the gamma distribution: instead of distributing a scalar precision, it distributes a matrix precision. Only d(d + 1)/2 independent entries vary because symmetry identifies entries across the diagonal. section 13.10 section 13.10.1 section 13.11

A Wishart distribution is parameterized by:

  • ν, a scalar degree-of-freedom parameter satisfying ν > d − 1. section 13.10.1
  • W, a d × d symmetric non-negative definite matrix. section 13.10.1
  • Its density uses matrix determinants, the trace operator, and the multivariate gamma function. section 13.10.1
  • Its expected random precision is E(Λ) = νW, while its mode is Λ = (ν − d − 1)W when ν ≥ d + 1. section 13.10.1

For a Gaussian likelihood with known mean, the precision matrix Λ = Σ⁻¹ receives a Wishart prior. Conjugacy makes the posterior another Wishart distribution, with updated parameters obtained by combining the prior and training-data terms through determinant and trace identities. The posterior mode supplies a precision estimate when its degrees-of-freedom condition is satisfied. section 13.10.2 section 13.5

Precision estimation for a multivariate Gaussian

Given training data X and a known Gaussian mean, place a Wishart prior on Λ, derive the Wishart posterior, and estimate precision from its mode: Λ = (νₙ − d − 1)Wₙ for νₙ ≥ d + 1. section 13.10.2

𝔼(Λ) = νW

Use the expectation table to connect the Wishart parameters with the average random precision matrix. section 13.10.1

Λ = (ν − d − 1)W for ν ≥ d + 1

Use the mode table to interpret the Wishart distribution as a source of a maximum-density precision estimate. section 13.10.1

How Math and Architectures of Deep Learning covers it

How deep it goes
Defines the matrix domain, parameters, density ingredients, expectation, mode, and posterior update, but omits a full density derivation.
Examples
Uses multivariate Gaussian precision estimation and high-dimensional cat-image generative modeling as motivating contexts.
What it assumes
Assumes Gaussian likelihoods, matrix precision, determinants, traces, and gamma distributions while revisiting multivariate structure.
What you can do after
Apply it via Bayesian estimation to model Gaussian precision and obtain a posterior or maximum-posterior precision estimate.
How it connects
Connects Wishart distributions to Gaussian likelihoods, precision matrices, covariance matrices, gamma distributions, and conjugate priors.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Math and Architectures of Deep Learning. The section links point to the parts of the book it draws on.