Fixed-Parameter and Approximation Algorithms for PCA with Outliers

Yogesh Dahiya, Fedor V. Fomin, Fahad Panolan, Kirill SimonovICML 2021

Principal Component Analysis (PCA) is the bread and butter of dimensionality reduction in data science. However, standard PCA is notoriously fragile: a single distant outlier can completely tilt the resulting subspace. This paper tackles the computational bottleneck of performing PCA when data is "poisoned" by outliers.

The authors provide the first algorithms for "PCA with Outliers" that remain efficient even when the data's ambient dimension ($d$) is exceptionally large. By introducing a Polynomial Time Approximation Scheme (PTAS) that scales with the target subspace dimension ($r$) rather than $d$, they offer a major theoretical breakthrough for robust dimensionality reduction.

The Challenge of PCA with Outliers

Standard PCA seeks a low-rank matrix $L$ that minimizes the distance to an input matrix $A$ (specifically, the Frobenius norm $\|A - L\|_F^2$). In real-world scenarios, datasets often contain $k$ outliers—data points that do not belong to the underlying low-dimensional structure. The PCA with Outliers problem asks us to identify these $k$ rows to ignore, ensuring the remaining points fit an $r$-dimensional subspace as closely as possible.

The computational challenge here is immense. Previous work demonstrated that, unless the Exponential Time Hypothesis (ETH) is false, we cannot achieve even a constant-factor approximation in time that is polynomial in the ambient dimension $d$. Most existing robust PCA methods either make restrictive assumptions about outlier distributions or suffer from runtimes that explode as the number of features increases.

This paper asks a pivotal question: Can we find efficient algorithms if the target dimension $r$ is small, even if the ambient dimension $d$ is huge?

Methodology: Sketching Meets Algebraic Geometry

To bypass the curse of dimensionality, the authors combine two powerful mathematical toolkits: Randomized Linear Algebra and Algebraic Geometry.

  1. Dimensionality Reduction (Sketching): The authors utilize randomized projections (such as the Normal Transform) to project the $d$-dimensional data down to a much smaller $t$-dimensional space. They prove that these "sketches" preserve enough geometric structure to approximate the solution or, under certain conditions, exactly identify the outliers.
  2. Polynomial Systems & Sign Conditions: Once the dimension is reduced, the problem shifts to finding which $k$ points are furthest from the optimal subspace. The authors model this using a system of polynomials. By leveraging a technique from algebraic geometry, they enumerate "sign conditions"—checking all possible ways data points could be partitioned into inliers and outliers based on their distances to potential subspaces.
  3. Perfect Hashing: To accelerate the exact algorithms, perfect hashing is used to bucket points. This reduces the number of polynomials the algorithm needs to solve, shifting the complexity dependence from the total number of points $n$ to the number of outliers $k$.

Key Insights and Theoretical Breakthroughs

The paper is strictly theoretical, focusing on complexity bounds and the existence of algorithms for general matrices $A \in \mathbb{R}^{n \times d}$. Several key insights drive the results:

  • The $r$ vs. $d$ Shift: The most significant revelation is that the complexity of robust PCA is driven by the subspace dimension ($r$), not the ambient dimension ($d$). Through sketching, $d$ only contributes a polynomial factor to the runtime, while the exponential complexity is isolated to $r$.
  • The $\alpha$-Assumptions: The authors introduce two new conditions: $\alpha$-gap and $\alpha$-heavy. These assume outliers are at least slightly further from the optimal subspace than inliers. In high-dimensional spaces, the "curse of dimensionality" (via concentration of measure) actually makes these assumptions more likely to hold.
  • Bridging the Gap: PCA with Outliers sits between the pessimistic worst-case scenario and "Robust Subspace Recovery" (where inliers fit the subspace perfectly). The $\alpha$-assumptions create a spectrum of parameterized problems bridging these extremes.

Main Results

  • The PTAS (Theorem 1.1): The authors provide a $(1+\epsilon)$-approximation algorithm running in $n^{O(r \log r / \epsilon^2)} \cdot d^{O(1)}$ time. This is a breakthrough because it is polynomial in both $n$ and $d$ as long as the target dimension $r$ is a fixed constant.
  • Exact FPT Algorithms: Under the $\alpha$-gap and $\alpha$-heavy assumptions, they provide randomized algorithms that find the exact optimal set of outliers in time that is Fixed-Parameter Tractable (FPT) with respect to $r$ and $k$.
  • Hardness of Robust Subspace Recovery: They establish a new conditional lower bound, proving that even the simplest version of this problem (where inliers have zero error) cannot be solved in $f(d) \cdot n^{o(d)}$ time unless ETH fails.

Limitations and Future Work

While theoretically profound, the work has practical limitations:

  • High Subspace Dimensions: The algorithms are highly efficient for small $r$ (e.g., $r=2$ or $3$). However, because the runtime exponent involves $r \log r$, the approach becomes computationally impractical for larger target dimensions (e.g., $r=100$).
  • Theoretical Constants: The algebraic geometry tools employed (like the Basu-Pollack-Roy algorithm) involve large constants, making direct implementation challenging without further optimization.
  • Randomized Nature: The algorithms are randomized, succeeding with high probability ($1-\delta$). Developing deterministic versions for the general case remains an open challenge for future research.

Summary updated

BibTeX
@inproceedings{dahiya2021fixed,
  author = {Yogesh Dahiya and Fedor V. Fomin and Fahad Panolan and Kirill Simonov},
  title = {{Fixed-Parameter and Approximation Algorithms for PCA with Outliers}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
}
Figure