What is the covariance singularity problem when fitting a GMM with EM?
Last updated
The GMM likelihood is unbounded: a component centred on one point with covariance shrinking to zero drives that density (∝
1/sqrt(det Σ)) to infinity, giving a non-invertible, meaningless fit.Rank deficiency also arises when a component has fewer than d+1 effective points, or from duplicate, collinear, or constant features.
Fix by adding
εI(reg_covar), using priors orBayesianGaussianMixture, constrained covariance types, or reinitialising collapsing components.