Gaussian Priors over Matrices and the Symmetric Kronecker Product

Summary

To build a concrete probabilistic linear solver we need tractable probability distributions over matrices. This note collects the required machinery: vectorisation and the Kronecker product (Ch. 15), the matrix-variate Gaussian, the Kronecker-structured covariance that reduces inference cost from -plus to , and the symmetric Kronecker product used to encode matrix symmetry as a linear constraint. These objects are the building blocks of the update equations in Probabilistic Linear Solvers - Algorithmic Scaffold.

Overview

A matrix is treated here not as an algebraic operator but as a table of numbers. The Gaussian family over vectors is transplanted onto matrices via vectorisation. The challenge is that a fully general covariance over elements is — larger than the matrix we are trying to invert — so structural restrictions are mandatory. Kronecker structure supplies the needed tractability without giving up support over all matrices.

Main Content

Vectorisation and the Kronecker product

Vectorisation ^def-vec

For , stacks the elements row after row (“row-major”), indexed by the same double index as the matrix. The inverse operation is written .

Kronecker product ^def-kron

For , , the Kronecker product has size with elements (15.2). It “translates” between matrix multiplication and vectorisation:

Key identities (all assuming the inverses/decompositions exist):

The matrix-variate Gaussian

Gaussian over matrix elements ^def-matrix-gaussian

For , define

where is a vectorised mean matrix and is a symmetric positive-(semi)definite covariance. If is full rank (spd), this assigns non-zero density to every matrix — symmetric and asymmetric, definite and indefinite, invertible and non-invertible. (The arrow over the matrix argument is suppressed in shorthand.)

The Wishart distribution might seem natural (it lives on spd matrices, with ), but the posterior from conditioning on linear projections is not Wishart and has no compact form. Gaussians are used instead because linear projections keep them Gaussian.

Kronecker covariance for efficiency

A diagonal (independent elements) makes the Gram matrix cost but its inverse costs more than — still too much. The fix is a Kronecker product covariance:

Kronecker covariance ^def-kron-cov

Since a Kronecker product of two spd matrices is spd, this is a valid spd covariance assigning non-vanishing density to every matrix, while offering only degrees of freedom (versus for a general ). Element covariances factorise:

and marginal variances depend only on the diagonals: .

Caution (Fig. 19.2): it is tempting but not entirely correct to read as “covariance among rows” and “among columns”. A matrix built from column-vectors and row-vectors satisfies (19.9) but is not Gaussian. The Kronecker restriction limits complexity, not the support — the measure still covers all matrices.

The symmetric Kronecker product (encoding symmetry)

Symmetry is a linear constraint, and Gaussians are closed under linear constraints (positive-definiteness, being a cone, is not — see ^cone). Two orthogonal projection operators on (space of vectorised matrices) formalise this:

Symmetric / anti-symmetric projections ^def-proj

They are orthogonal projectors that jointly span : , , , (19.15).

A Kronecker product splits into a symmetric and skew-symmetric part:

Symmetric / skew Kronecker product ^def-symkron

They inherit some Kronecker properties. In particular, on symmetric matrices , but in general . Also (19.17).

Symmetry information is written as a Dirac likelihood (19.18). Conditioning the Gaussian prior on it yields a posterior that, with Kronecker covariance , collapses to a symmetric prior mean and a symmetric Kronecker covariance:

which assigns non-zero measure only to symmetric matrices.

Examples

Degrees of freedom

A full spd covariance on matrix elements has parameters. Kronecker has . The symmetric matrices form a space of dimension ; if is full rank, has rank and its inverse on that space is .

Sampling intuition (Figs. 19.3–19.4)

Samples from with look like uncorrelated noise; with the row structure dominates. Samples from the symmetry-encoding are visibly symmetric matrices.

Connections

See Also