Fast Algorithms for Robust PCA via Gradient Descent

Xinyang Yi, Dohyung Park, Yudong Chen, Constantine Caramanis

Introduction

Principal Component Analysis (PCA) is a foundational tool in data science, yet it is notoriously sensitive to outliers. Because PCA relies on a squared-error criterion, even a single corrupted data point can significantly skew the resulting low-rank approximation. Robust PCA (RPCA) was introduced to address this vulnerability by decomposing a data matrix $Y$ into two distinct components: a low-rank matrix $M^*$ (the underlying signal) and a sparse matrix $S^*$ (the outliers or noise).

While mathematically robust, traditional RPCA solvers are computationally expensive. Convex relaxation methods, such as nuclear norm minimization, typically scale at $O(d^3)$ relative to the matrix dimension $d$, making them impractical for modern large-scale datasets. Even more recent non-convex approaches, like alternating projections, often fail to match the speed of a standard Singular Value Decomposition (SVD). This research presents a novel non-convex optimization framework that achieves near-linear run-times, effectively making RPCA as scalable as standard SVD.

The Non-Convex Approach

The authors shift the optimization problem from the space of full $d \times d$ matrices to a factorized space. By representing the low-rank component as $M = UV^T$, where $U$ and $V$ are $d \times r$ matrices (with $r$ being the rank), the number of variables is reduced from $d^2$ to $2dr$. This factorization is the key to achieving high performance, but it introduces non-convexity, which traditionally risks convergence to local minima.

To overcome this, the paper proposes a two-phase algorithm designed to ensure global convergence at a linear rate.

Phase I: Sorting-Based Initialization

A critical challenge in non-convex optimization is finding a starting point close enough to the global optimum. The authors introduce a novel sorting-based sparse estimator ($T_\alpha$) to "clean" the initial matrix. This estimator identifies potential corruptions by evaluating entries that are unusually large relative to others in their specific row and column. By pruning these outliers before performing an initial SVD, the algorithm generates a high-quality starting estimate ($U_0, V_0$) for the low-rank factors.

Phase II: Projected Gradient Descent

With a solid initialization, the algorithm proceeds with gradient descent directly on the factors $U$ and $V$. This phase incorporates two specific techniques to maintain stability:

  1. Regularization: A term is added to the objective function to ensure that $U$ and $V$ stay at a similar scale, preventing one factor from exploding while the other vanishes.
  2. Incoherence Projection: To prevent the low-rank component from becoming too "spiky" (where the signal is concentrated in only a few entries), the algorithm employs a projection step that maintains the incoherence of the factors.

Scalability and Partial Observations

One of the most significant contributions of this work is its performance on partially observed matrices. The algorithm is designed to recover the low-rank signal even when a large percentage of the matrix entries are missing. Interestingly, the authors demonstrate that for massive datasets, one can intentionally subsample the data to speed up the algorithm without losing recovery accuracy. This allows the algorithm to achieve a complexity of $O(rd^2)$ in the fully observed case and even better performance in the sparse case, reaching near-linear scaling with respect to $d$.

Experimental Results

The algorithm was tested against synthetic data and real-world video benchmarks, including the "Restaurant" and "ShoppingMall" datasets. In video processing, RPCA is used for foreground-background separation, where the static background is the low-rank component and moving objects are the sparse outliers.

  • Computational Speed: On a rank-10 matrix of size 5000x5000, the proposed gradient descent (GD) method significantly outperformed standard convex solvers like IALM and non-convex alternatives like AltProj.
  • Massive Scale: The algorithm successfully processed a matrix with $d = 2 \times 10^5$ (representing 40 billion potential entries) by utilizing only 0.1% of the data. This level of scalability is currently impossible for algorithms that require manipulating the full matrix.
  • Visual Accuracy: In video benchmarks, the method provided cleaner background-foreground separation than existing techniques, even when restricted to observing only 20% of the pixels in each frame.

Conclusion and Future Work

This research demonstrates that non-convex optimization, when paired with a smart initialization strategy, can solve the RPCA problem with unprecedented speed and scalability. While there remains a slight theoretical gap between the corruption fraction handled by this fast initialization and the information-theoretic optimum, the practical benefits are clear. Future research directions include extending these robust factorized techniques to other domains such as phase retrieval, tensor decomposition, and higher-order optimization methods.

Summary updated

BibTeX
@inproceedings{yi2016fast,
  author = {Xinyang Yi and Dohyung Park and Yudong Chen and Constantine Caramanis},
  title = {{Fast Algorithms for Robust PCA via Gradient Descent}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2016},
}
Figure