Optimal Robust Linear Regression in Nearly Linear Time

Yeshwanth Cherapanamjeri, Efe Aras, Nilesh Tripuraneni, Michael I. Jordan, Nicolas Flammarion, Peter L. BartlettarXiv 2020

Abstract

We study the problem of high-dimensional robust linear regression where a learner is given access to $n$ samples from the generative model $Y = \langle X,w^* \rangle + ε$ (with $X \in \mathbb{R}^d$ and $ε$ independent), in which an $η$ fraction of the samples have been adversarially corrupted. We propose estimators for this problem under two settings: (i) $X$ is L4-L2 hypercontractive, $\mathbb{E} [XX^\top]$ has bounded condition number and $ε$ has bounded variance and (ii) $X$ is sub-Gaussian with identity second moment and $ε$ is sub-Gaussian. In both settings, our estimators: (a) Achieve optimal sample complexities and recovery guarantees up to log factors and (b) Run in near linear time ($\tilde{O}(nd / η^6)$). Prior to our work, polynomial time algorithms achieving near optimal sample complexities were only known in the setting where $X$ is Gaussian with identity covariance and $ε$ is Gaussian, and no linear time estimators were known for robust linear regression in any setting. Our estimators and their analysis leverage recent developments in the construction of faster algorithms for robust mean estimation to improve runtimes, and refined concentration of measure arguments alongside Gaussian rounding techniques to improve statistical sample complexities.

Introduction

Linear regression is a fundamental tool in statistics and machine learning. However, the standard least-squares estimator is notoriously sensitive to outliers; even a single corrupted sample can significantly bias the result. In the robust linear regression framework, we assume an adversary can inspect $n$ samples and arbitrarily corrupt an $\eta$ fraction of them.

The challenge in high dimensions ($d$) is achieving both statistical and computational efficiency. Ideally, sample complexity should scale linearly with $d$, and runtime should be nearly linear in the data size ($nd$). Previous robust algorithms often suffered from high polynomial runtimes (e.g., $d^2$ or $d^5$) or required restrictive assumptions, such as perfectly Gaussian data. This work introduces the first near-linear time algorithm ($\tilde{O}(nd)$) that achieves information-theoretically optimal error rates for robust linear regression under broad distributional assumptions, including heavy-tailed data.

Methods

The core of the proposed approach is an iterative robust gradient estimation framework. Rather than minimizing a robust loss function directly, the algorithm performs gradient descent where the standard average gradient is replaced by a robust estimate at each step.

The algorithm handles two primary settings:

  1. Heavy-Tailed Setting: Covariates $X$ are $L_4-L_2$ hypercontractive, and noise $\epsilon$ has bounded variance.
  2. Sub-Gaussian Setting: Both $X$ and $\epsilon$ follow sub-Gaussian distributions.

The iterative process for the heavy-tailed case is detailed in Algorithm 1.

Key technical innovations include:

  • Robust Mean Estimation via SDP: The gradient estimation step involves solving a semidefinite program (SDP) to find sample weights that effectively downweight outliers.
  • Fast SDP Solvers: By utilizing recent advances in nearly linear-time SDP solvers, the authors ensure that each iteration of the gradient descent runs in time proportional to the input size.
  • Gaussian Rounding: To achieve optimal sample complexity ($n \approx d$), the authors employ Gaussian rounding techniques to control the spectral norm of the data, bypassing the $n \approx d^2$ requirement of standard concentration arguments.

Results

The paper establishes that the proposed estimators are both statistically optimal and computationally efficient. For an $\eta$-corrupted dataset of $n$ samples in $d$ dimensions, the results are summarized as follows:

  • Heavy-Tailed Case: Achieves a recovery error of $\| \hat{w} - w^* \| \le O(\kappa \sqrt{\eta} \sigma)$ with $\tilde{O}(d/\eta)$ samples.
  • Sub-Gaussian Case: Achieves a tighter error of $\| \hat{w} - w^* \| \le O(\eta \log(1/\eta) \sigma)$ with $\tilde{O}(d/\eta^2)$ samples, using a two-stage refinement process.
  • Computational Complexity: Both algorithms run in $\tilde{O}(nd/\eta^6)$ time, which is nearly linear in the number of entries in the data matrix.

These error rates are information-theoretically optimal up to logarithmic factors. A key insight is that gradient descent is sufficiently robust if the direction of descent is estimated robustly at each step.

Conclusion

This work bridges the gap between statistical optimality and computational efficiency in robust high-dimensional regression. While the $1/\eta^6$ runtime factor is a theoretical constant, it may be significant in practice for very small $\eta$. Future research could focus on reducing this dependence or optimizing the constants in the underlying SDP solvers for practical applications. Additionally, while the algorithm assumes knowledge of parameters like the outlier fraction $\eta$, it sets a new benchmark for robust estimation in nearly linear time.

Summary updated

BibTeX
@misc{cherapanamjeri2020optimal,
  author = {Yeshwanth Cherapanamjeri and Efe Aras and Nilesh Tripuraneni and Michael I. Jordan and Nicolas Flammarion and Peter L. Bartlett},
  title = {{Optimal Robust Linear Regression in Nearly Linear Time}},
  year = {2020},
  eprint = {2007.08137},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.08137},
}
Figure