Rethinking PCA Through Duality
Jan Quan, Johan Suykens, Panagiotis Patrinos
TL;DR
This work recasts principal component analysis (PCA) within the difference-of-convex (DC) duality framework to derive new PCA formulations and kernelizable duals. It establishes three novel DC dual pairs, proves kernelizability and out-of-sample applicability for duals when the primal term is unitarily invariant, and reveals that simultaneous iteration aligns with a DC algorithm for variance maximization, connecting optimization and numerical linear algebra. A kernelizable DC dual for a robust kernel PCA based on $\ell_1$ reconstruction errors is introduced and linked to iteratively reweighted least squares (IRLS). Empirically, simple first-order methods outperform traditional solvers on the right formulations, enabling scalable PCA variants for large datasets and robust settings with outliers, with practical implications for kernel methods and deep learning architectures.
Abstract
Motivated by the recently shown connection between self-attention and (kernel) principal component analysis (PCA), we revisit the fundamentals of PCA. Using the difference-of-convex (DC) framework, we present several novel formulations and provide new theoretical insights. In particular, we show the kernelizability and out-of-sample applicability for a PCA-like family of problems. Moreover, we uncover that simultaneous iteration, which is connected to the classical QR algorithm, is an instance of the difference-of-convex algorithm (DCA), offering an optimization perspective on this longstanding method. Further, we describe new algorithms for PCA and empirically compare them with state-of-the-art methods. Lastly, we introduce a kernelizable dual formulation for a robust variant of PCA that minimizes the $l_1$ deviation of the reconstruction errors.
