Robust Stochastic Principal Component Analysis

John Goes, Teng Zhang, Raman Arora, Gilad Lerman

Introduction

Principal Component Analysis (PCA) is a cornerstone of modern data science, widely used for dimensionality reduction and feature extraction. However, traditional PCA faces two significant hurdles in contemporary applications: extreme sensitivity to outliers and poor scalability for massive, streaming datasets. While "Robust PCA" and "Stochastic PCA" have addressed these issues individually, this research introduces a comprehensive suite of algorithms for Robust Stochastic PCA, enabling the discovery of low-dimensional patterns in contaminated, high-velocity data streams.

The Challenge of Robustness and Scale

Standard PCA relies on minimizing squared $L_2$ distances, which disproportionately weights outliers. A single corrupted data point can significantly bias the estimated subspace. Furthermore, "batch" PCA requires the entire dataset to be resident in memory, an impossibility for streaming sensors or web-scale data. To address these challenges, the proposed framework adapts robust batch objectives into iterative, online updates that process data points sequentially with minimal memory overhead.

Proposed Algorithmic Suite

The authors propose three primary algorithmic approaches to achieve robustness in a stochastic setting:

  1. Robust Stochastic Gradient Descent (SGD): This method replaces the standard squared $L_2$ norm with a simple $L_2$ norm (absolute deviations), effectively de-emphasizing large errors from outliers.
  2. Robust Incremental PCA: Based on the Geometric Median Subspace (GMS) formulation, this approach iteratively updates a robust precision matrix. Efficiency is maintained using the Sherman-Morrison-Woodbury formula, resulting in $O(NDd^2)$ complexity.
  3. Robust Online PCA (Mirror Descent): Utilizing the REAPER framework, this method employs Matrix Exponentiated Gradient (MEG) updates. It operates within the space of density matrices using a quantum relative entropy projection. This method is the highlight of the study, offering a formal sub-linear convergence guarantee.

Experimental Evaluation and Results

The algorithms were rigorously tested across synthetic benchmarks and real-world datasets, including galaxy spectra from the VIMOS-VLT Deep Survey and face images from the Extended Yale Face Database.

The experimental results highlight the clear superiority of the Mirror Descent (Robust-MD) approach. In synthetic tests with up to 80% outliers, Robust-MD converged to the ground truth significantly faster and more accurately than traditional or incremental robust methods.

Figure 1: Comparison of convergence rates for various PCA algorithms on synthetic data with outliers. Robust-MD (Mirror Descent) demonstrates successful subspace recovery where standard methods fail.

Beyond synthetic benchmarks, the practical utility of Robust Online PCA is evident in astronomical applications. Standard online PCA often produces jagged, unusable eigenspectra due to its sensitivity to noise and artifacts. In contrast, the robust method recovers smooth, physically meaningful spectra that align with batch robust results while maintaining online efficiency.

Figure 5: Recovery of eigenspectra from noisy astronomical data. Robust Online PCA produces smooth, physically plausible spectra, outperforming the noisy output of standard online methods.

On face reconstruction tasks, Robust Online PCA achieved a subspace recovery error of 0.45, significantly lower than standard SGD (0.64). All proposed algorithms maintain a low memory footprint—$O(Dd)$ or $O(D^2)$—making them ideal for hardware-constrained environments and high-velocity data streams.

Conclusion

This work provides a robust and scalable solution for subspace tracking in the presence of outliers. The introduction of MEG-based updates for online PCA represents a significant advancement, combining theoretical convergence guarantees with state-of-the-art empirical performance. Future research may focus on adaptive methods for estimating subspace rank and extending theoretical guarantees to the SGD and incremental variants.

Summary updated

BibTeX
@inproceedings{goes2014robust,
  author = {John Goes and Teng Zhang and Raman Arora and Gilad Lerman},
  title = {{Robust Stochastic Principal Component Analysis}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2014},
}
Figure