Skip to main content
QUICK REVIEW

[Paper Review] Unsupervised and Supervised Principal Component Analysis: Tutorial

Benyamin Ghojogh, Mark Crowley|arXiv (Cornell University)|Jun 1, 2019
Blind Source Separation TechniquesComputer Science43 references19 citations
TL;DR

This tutorial provides a comprehensive overview of Principal Component Analysis (PCA), Supervised PCA (SPCA), kernel PCA, and kernel SPCA, covering both unsupervised and supervised dimensionality reduction techniques. It details projection formulations, eigen-decomposition and SVD-based PCA, dual and kernel methods, and out-of-sample extension, with simulations on Frey and AT&T face datasets validating theoretical principles in practice.

ABSTRACT

This is a detailed tutorial paper which explains the Principal Component Analysis (PCA), Supervised PCA (SPCA), kernel PCA, and kernel SPCA. We start with projection, PCA with eigen-decomposition, PCA with one and multiple projection directions, properties of the projection matrix, reconstruction error minimization, and we connect to autoencoder. Then, PCA with singular value decomposition, dual PCA, and kernel PCA are covered. SPCA using both scoring and Hilbert-Schmidt independence criterion are explained. Kernel SPCA using both direct and dual approaches are then introduced. We cover all cases of projection and reconstruction of training and out-of-sample data. Finally, some simulations are provided on Frey and AT&T face datasets for verifying the theory in practice.

Motivation & Objective

  • To provide a unified, in-depth tutorial on unsupervised and supervised PCA, including kernel and dual formulations.
  • To clarify the mathematical foundations of PCA, such as projection, reconstruction, and eigen-decomposition, with connections to autoencoders.
  • To explain how class labels can be incorporated into PCA via scoring and Hilbert-Schmidt independence criterion for supervised dimensionality reduction.
  • To derive and present out-of-sample extension techniques for both PCA and kernel PCA, ensuring generalization beyond training data.
  • To validate theoretical concepts through simulations on real-world face datasets (Frey and AT&T), demonstrating practical applicability.

Proposed method

  • Uses a projection-based formulation to derive PCA via orthogonal projection onto the column space of a matrix U, minimizing reconstruction error.
  • Derives the projection matrix Π = U(UᵀU)⁻¹Uᵀ and shows its role in reconstructing data from lower-dimensional projections.
  • Introduces PCA via eigen-decomposition of the covariance matrix and via SVD of the data matrix X, establishing equivalence between both approaches.
  • Presents dual PCA as an alternative formulation when d ≫ n, solving for the dual problem in the n-dimensional space.
  • Applies kernel methods by mapping data into a high-dimensional feature space using a kernel function, enabling nonlinear manifold learning.
  • Introduces kernel SPCA using both direct and dual formulations, with centering of kernel matrices to handle mean removal in feature space.

Experimental results

Research questions

  • RQ1How can PCA be derived and interpreted through a projection and reconstruction error minimization framework?
  • RQ2What are the mathematical and algorithmic differences between PCA via eigen-decomposition and SVD, and how are they equivalent?
  • RQ3How does Supervised PCA (SPCA) incorporate class labels to improve dimensionality reduction compared to standard PCA?
  • RQ4What is the role of the Hilbert-Schmidt independence criterion in SPCA, and how does it differ from the scoring-based SPCA approach?
  • RQ5How can out-of-sample data be projected into the learned PCA or kernel PCA subspace using kernel matrix centering and dual formulations?

Key findings

  • The paper successfully derives and connects multiple formulations of PCA, including eigen-decomposition, SVD, and dual PCA, showing their mathematical equivalence.
  • It demonstrates that PCA is equivalent to minimizing the reconstruction error in the least-squares sense, with the optimal projection matrix derived via orthogonal projection.
  • The tutorial shows that kernel PCA enables nonlinear dimensionality reduction by mapping data into a higher-dimensional space where linear PCA is applied.
  • For SPCA, the paper compares two approaches: feature scoring (Bair et al.) and Hilbert-Schmidt independence criterion (Barshan et al.), with the latter providing a more principled theoretical foundation.
  • The out-of-sample extension for kernel PCA is achieved by double-centering the kernel matrix using training data statistics, enabling projection of new data points into the learned subspace.
  • Simulations on the Frey and AT&T face datasets confirm the theoretical predictions, showing effective dimensionality reduction and reconstruction performance in practice.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.