# Gaussian Mixture Models – Different Covariance Types

covariance-matrixgaussian mixture distribution

While trying Gaussian Mixture Models here, I found these 4 types of covariances.

'full' (each component has its own general covariance matrix),
'tied' (all components share the same general covariance matrix),
'diag' (each component has its own diagonal covariance matrix),
'spherical' (each component has its own single variance).


I googled a lot to find more details about each of these types but found very high-level descriptions (such as this) only.

Appreciate if someone can help me understand these, or at least direct me to somewhere I can read about these.

A Gaussian distribution is completely determined by its covariance matrix and its mean (a location in space). The covariance matrix of a Gaussian distribution determines the directions and lengths of the axes of its density contours, all of which are ellipsoids.

These four types of mixture models can be illustrated in full generality using the two-dimensional case. In each of these contour plots of the mixture density, two components are located at $(0,0)$ and $(4,5)$ with weights $3/5$ and $2/5$ respectively. The different weights will cause the sets of contours to look slightly different even when the covariance matrices are the same, but the overall shapes of individual contours will still be similar for identical matrices.

Clicking on the image will display a version at higher resolution.

NB These are plots of the actual mixtures, not of the individual components. Because the components are well separated and of comparable weight, the mixture contours closely resemble the component contours (except at low levels where they may distort and merge, as shown in the center of the "tied" plot for instance).

• Full means the components may independently adopt any position and shape.

• Tied means they have the same shape, but the shape may be anything.

• Diagonal means the contour axes are oriented along the coordinate axes, but otherwise the eccentricities may vary between components.

• Tied Diagonal is a "tied" situation where the contour axes are oriented along the coordinate axes. (I have added this because initially it was how I misinterpreted "diagonal.")

• Spherical is a "diagonal" situation with circular contours (spherical in higher dimensions, whence the name).

This exhibit a gamut from the most general possible mixture to a very specific kind of mixture. Other (fussier) restrictions are possible, especially in higher dimensions where the numbers of parameters grow rapidly. (A covariance matrix in $n$ dimensions is described by $n(n+1)/2$ independent parameters.)