Contents
We are working on maximum likelihood estimation in Probabilistic PCA, where the loading matrix and isotropic noise variance are estimated from the sample covariance eigenstructure. The canonical formulas are
and
where are sample covariance eigenvalues, contains the top eigenvectors, and is an arbitrary orthogonal rotation matrix. This is the closed-form bridge between PPCA and standard PCA directions.
Deep Breakdown
Probabilistic PCA, PPCA, starts from a latent variable model:
If we integrate out the latent variable , the marginal distribution of the observed vector becomes:
So the core estimation problem in PPCA is:
- estimate the mean ,
- estimate the loading matrix ,
- estimate the isotropic noise variance , from observed data.
The surprising and important result is that the maximum likelihood estimates are directly connected to the eigenvalues and eigenvectors of the sample covariance matrix. That is why PPCA is often described as the probabilistic version of PCA.
Inputs:
- centered data matrix or sample covariance matrix,
- chosen latent dimension .
Outputs:
- , usually the sample mean,
- ,
- .
Why this matters in DA/DS:
- it explains why PCA directions appear naturally in a likelihood-based model,
- it gives a probabilistic interpretation to a classical dimensionality reduction method,
- it provides a noise estimate that classical PCA does not explicitly define,
- it lets analysts use PCA-like embeddings while still having a valid data likelihood,
- it supports likelihood-based comparison across latent dimensions.
The key idea is this:
- standard PCA finds directions of maximal variance,
- PPCA asks for the Gaussian latent variable model that most likely generated the data,
- the solution uses the same principal directions,
- but now those directions live inside a covariance model .
The isotropic noise term is crucial. In PPCA, the variation not explained by the first principal directions is summarized by a single average residual variance, .
This connects PPCA to three core PCA objects:
- Principal directions: the columns of .
- Explained variances: the leading eigenvalues in .
- Residual variance: the average of discarded eigenvalues.
So PPCA retains the geometry of PCA, but embeds it in a probabilistic model.