Estimating Principal Components under Adversarial Perturbations

Pranjal Awasthi, Xue Chen, Aravindan Vijayaraghavan

Introduction

Robustness is a fundamental requirement for the reliable deployment of machine learning algorithms. While traditional robust statistics often focuses on Huber’s $\epsilon$-contamination model—where a small fraction of the data is completely corrupted—modern computational paradigms face a different challenge. In scenarios such as low-precision machine learning (e.g., 8-bit quantization) and adversarial training, the noise is not sparse; instead, every sample is subject to small, potentially malicious perturbations.

This paper investigates the problem of estimating the top-$r$ principal subspace of a high-dimensional Gaussian covariance matrix under this "adversarial perturbation model." In this setting, an adversary can perturb every sample by a magnitude $\delta$ measured in an $\ell_q$ norm (typically $\ell_\infty$). The authors identify the fundamental limits of estimation in this regime and provide a computationally efficient algorithm that achieves near-optimal recovery.

The Adversarial Perturbation Model

Unlike models that assume random noise or a small percentage of outliers, the adversarial perturbation model allows for a bounded but coordinated attack on the entire dataset. Given a set of samples $X_1, \dots, X_n$ from a high-dimensional Gaussian distribution $N(0, \Sigma)$, the learner observes $Y_i = X_i + \Delta_i$, where each $\Delta_i$ is chosen by an adversary such that $\|\Delta_i\|_q \le \delta$.

This model is particularly relevant for understanding how small errors in every coordinate—common in hardware-constrained environments—can aggregate to degrade the performance of dimensionality reduction techniques like Principal Component Analysis (PCA).

Characterizing Robustness via the $\kappa$ Parameter

A central contribution of this work is the identification of a "robustness parameter," denoted as $\kappa$. This parameter is defined as the $q \to 2$ operator norm of the projector onto the principal subspace.

In the context of $\ell_\infty$ perturbations, $\kappa$ acts as a generalized measure of sparsity. The authors demonstrate a clear intuition:

  • Dense Subspaces: If a principal component's weight is spread evenly across many coordinates, an adversary can use their $\ell_\infty$ budget to tweak every coordinate slightly, significantly shifting the perceived direction of the component.
  • Sparse Subspaces: If the component is localized to a few coordinates, the adversary's budget is effectively restricted, making the subspace inherently more robust to $\ell_\infty$ attacks.

Algorithmic Framework

The authors propose a computationally efficient algorithm based on Semidefinite Programming (SDP). The approach deviates from standard PCA by incorporating the robustness parameter $\kappa$ as a constraint. The recovery process follows these primary steps:

  1. Batching: The corrupted data is split into batches to manage variance.
  2. Constrained SDP: The algorithm solves an SDP relaxation that searches for a projection matrix capturing maximum variance while strictly bounding its $q \to 2$ operator norm by $\kappa$.
  3. Subspace Extraction: Singular Value Decomposition (SVD) is performed on the SDP output to identify the robust low-rank subspace.
  4. Refinement: The empirical covariance is restricted to this robust subspace to produce the final estimate.

Key Results and Instance Optimality

The research establishes several landmark results for high-dimensional PCA:

  • Efficient Recovery: The SDP-based algorithm recovers the top-$r$ principal subspace with an error bound of $O(\sqrt{r}\kappa\delta)$. This guarantee holds even when the adversary has full knowledge of the data.
  • Instance Optimality: Remarkably, the authors prove that this bound is not just minimax-optimal (worst-case), but instance-optimal. For any specific covariance matrix, the error forced by an adversary is proportional to the $\kappa$ of that specific instance, and the proposed algorithm matches this unavoidable error.
  • Computational-Statistical Gap: The study reveals a gap in sample complexity. While a computationally efficient algorithm requires $O(\kappa^4)$ samples, an information-theoretic (but computationally intensive) approach requires only $O(\kappa^2)$. This suggests a fundamental barrier likely linked to the "Planted Clique" hardness assumption.

Conclusion

This work provides a rigorous characterization of PCA under adversarial conditions, showing that the $q \to 2$ operator norm is the definitive metric for subspace stability. By bridging the gap between sparsity and robustness, the authors offer a framework that not only improves PCA but may also extend to other unsupervised tasks like clustering and dictionary learning in the presence of persistent, small-scale adversarial noise.

Summary updated

BibTeX
@inproceedings{awasthi2020estimating,
  author = {Pranjal Awasthi and Xue Chen and Aravindan Vijayaraghavan},
  title = {{Estimating Principal Components under Adversarial Perturbations}},
  booktitle = {Conference on Learning Theory},
  year = {2020},
  url = {https://openreview.net/forum?id=xC9qkA_XwJW},
}
Figure