Contents
We are working on the marginal likelihood in Probabilistic PCA, where the latent variable is integrated out and the observed variable follows a Gaussian distribution. The canonical formula is
under the assumptions that and . This shows that PPCA models the data as a Gaussian with low-rank structured covariance plus isotropic noise.
Deep Breakdown
The marginal likelihood in Probabilistic PCA is the probability distribution of the observed data point after the latent variable has been integrated out.
In PPCA, the generative model is:
This means each observation is generated from a hidden low-dimensional Gaussian factor , linearly mapped through , shifted by , and then perturbed by isotropic Gaussian noise. But in practice, the latent variable is not observed. So to obtain the data distribution we actually see, we integrate over all possible latent values:
Because both the prior over and the conditional distribution of given are Gaussian, the result is also Gaussian:
with covariance
Inputs:
- loading matrix ,
- mean vector ,
- isotropic noise variance .
Output:
- a Gaussian distribution over the observed vector .
Why this matters in DA/DS:
- it gives PPCA a full probabilistic interpretation,
- it explains observed covariance as structured signal plus isotropic noise,
- it provides a likelihood for fitting parameters,
- it allows probabilistic comparison across latent dimensionalities,
- it shows why PPCA is closely related to classical PCA.
The covariance matrix has two distinct pieces:
- , a low-rank matrix capturing the systematic covariance induced by the latent factors,
- , a full-rank isotropic noise term capturing unstructured residual variation.
This decomposition is the core of PPCA. It says that the data covariance is not arbitrary. Instead, it comes from a lower-dimensional signal subspace, plus equal noise in all observed directions.
This object links directly to:
- Generative Model, because it comes from integrating out ,
- Latent Variable Prior, because the standard Gaussian prior is part of the derivation,
- Eigenstructure, because the covariance reveals how PPCA connects to principal directions,
- Maximum likelihood parameters, because parameter estimation in PPCA is based on maximizing the observed-data likelihood.