Random Consensus Robust PCA

Daniel L. Pimentel-Alarcón, Robert D. NowakAISTATS 2017

Abstract: Robust Principal Component Analysis (RPCA) is a fundamental tool for recovering low-rank signals from corrupted data. However, traditional convex optimization methods struggle with highly coherent data and large-scale datasets. This paper introduces Random Consensus Robust PCA (R2PCA), a novel algorithm that leverages the RANSAC philosophy to achieve exact subspace recovery. By iteratively identifying and stitching together uncorrupted sub-blocks of data, R2PCA maintains high accuracy even when every column is corrupted, outperforming state-of-the-art methods in speed and robustness to data coherence.

Introduction

Principal Component Analysis (PCA) is a cornerstone of modern data analysis, used to extract low-dimensional structures from high-dimensional datasets. However, its sensitivity to outliers is a well-known weakness; even a small number of "grossly corrupted" entries can significantly distort the resulting subspace. Robust PCA (RPCA) addresses this by decomposing a data matrix into a low-rank component $L$ (the signal) and a sparse component $S$ (the corruption).

While convex optimization techniques like Principal Component Pursuit (PCP) have become standard for solving RPCA, they face significant challenges in two areas:

  1. Coherence: These methods often fail when the signal is concentrated in a few coordinates (high coherence), such as in astronomical videos or specific types of microscopy.
  2. Scalability: The computational and memory requirements of convex solvers often make them impractical for massive "Big Data" applications.

Traditional RANSAC (Random Sample Consensus) methods, which rely on finding entirely "clean" samples, are also ineffective here because, in many modern datasets, every column may contain at least one corrupted entry.

The R2PCA Algorithm

The authors propose Random Consensus Robust PCA (R2PCA), which adapts the RANSAC philosophy to the RPCA problem by shifting the focus from clean columns to clean sub-blocks.

The algorithm follows a "stitch-it-together" methodology:

  1. Identify Local Projections: Instead of searching for clean columns, R2PCA randomly selects small $(r+1) \times (r+1)$ sub-matrices (where $r$ is the target rank). If a sub-matrix is found to have rank $r$, it is highly likely to be uncorrupted. This "piece" provides a canonical projection of the underlying true subspace $U$.
  2. Stitching the Subspace: By identifying multiple such uncorrupted projections across different coordinate subsets, the algorithm can "stitch" them together to reconstruct the full $r$-dimensional subspace $U$.
  3. Signal Recovery: Once the subspace is identified, the algorithm uses a second consensus-based step for each column to find a subset of uncorrupted entries that fit the model, allowing for the recovery of the clean signal $L$ and the sparse noise $S$.
The R2PCA process: from corrupted data points to subspace reconstruction via local projections.

For datasets with small-scale noise in addition to gross corruptions, the authors introduce a variant that uses singular value thresholds and larger $k \times k$ blocks to average out noise while remaining robust to outliers.

Key Insights and Advantages

R2PCA offers several theoretical and practical advantages over traditional RPCA methods:

  • Robustness to Coherence: Unlike convex methods that require "incoherence" (data spread across many coordinates), R2PCA's performance is independent of the coherence parameter. It excels in "spiky" data scenarios where other methods typically fail.
  • Linear Complexity: The algorithm's computational cost scales linearly with both the ambient dimension ($d$) and the number of samples ($n$). This makes it exceptionally efficient for large-scale data that cannot fit into memory.
  • Parallelizability: The search for clean sub-blocks is "embarrassingly parallelizable," allowing the algorithm to be easily distributed across multiple processors.
  • Local Processing: Because the subspace is reconstructed from local projections, the algorithm does not require the entire dataset to be present in memory at once.

Experimental Results

The effectiveness of R2PCA was validated through extensive testing on both synthetic and real-world datasets:

  • Synthetic Benchmarks: In tests with varying levels of coherence ($\mu$), standard methods like RPCA-ALM saw success rates drop to 0% as coherence increased. In contrast, R2PCA maintained 100% recovery accuracy.
  • Astronomy and Microscopy: In simulated astronomy videos (e.g., moving objects against a background of twinkling stars) and real-world microscopy data, R2PCA provided cleaner background subtraction than the industry-standard ALM method, which often suffered from "ghosting" artifacts.
  • Surveillance Data: The algorithm was also tested on standard background subtraction datasets like Wallflower and I2R, demonstrating its practical utility in computer vision.

Conclusion and Future Directions

R2PCA represents a significant step forward in making Robust PCA practical for massive, highly structured datasets. By moving from a global optimization perspective to a local, consensus-based approach, it overcomes the limitations of coherence and scalability that plague convex methods.

Future work could address the current requirement for a pre-specified rank $r$. While the authors suggest estimating $r$ by checking the rank of small minors, integrating an automated rank-detection mechanism would enhance the algorithm's "black-box" usability. Additionally, further optimization of the iteration count for extremely heavily corrupted data remains an area for exploration.

Summary updated

BibTeX
@inproceedings{pimentelalarcon2017random,
  author = {Daniel L. Pimentel-Alarcón and Robert D. Nowak},
  title = {{Random Consensus Robust PCA}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2017},
}
Figure