Ten-dimensional data with standard deviation 1 along three directions and 0.5 along the other seven are fitted by probabilistic PCA with M = 9 latent dimensions, using EM. Each square of the Hinton diagram is one element of W (white positive, black negative, area proportional to size). Maximum likelihood spreads the three real directions over all nine columns. Bayesian PCA puts a prior N(0, αi−1I) on each column and re-estimates αi = D/‖wi‖2 after every EM step: columns the data do not need are shrunk, their αi grows, and they switch off (Bishop 2006, Section 12.2.3). The last view compares factor analysis with PPCA (Section 12.2.4).
EM uses the sample covariance S directly: the E step (12.54), (12.55) and the M step (12.56), (12.57) only need SW, so each step costs O(D²M). Bayesian PCA replaces (12.56) by (12.63). Columns with αi above 1012 are treated as switched off (α is capped there).
ppca_em, bayesian_pca, factor_analysis_em, bpca_data, fig12_14, fig12_15); the 300 points and the starting W of the first data set are those of our Figure 12.14.