Asymptotic Characterisation of the Performance of Robust Linear Regression in the Presence of Outliers

Matteo Vilucchio, Emanuele Troiani, Vittorio Erba, Florent Krzakala

Abstract: We study robust linear regression in high-dimension, when both the dimension $d$ and the number of data points $n$ diverge with a fixed ratio $\alpha=n/d$, and study a data model that includes outliers. We provide exact asymptotics for the performances of the empirical risk minimisation (ERM) using $\ell_2$-regularised $\ell_2$, $\ell_1$, and Huber losses. We focus on two metrics: generalization error to similar datasets with outliers, and estimation error of the original, unpolluted function. Our results are compared with the information theoretic Bayes-optimal estimation bound. For generalization error, optimally-regularised ERM is asymptotically consistent with simple calibration. For estimation error, consistency requires an oracle estimate of the optimal norm or a clean cross-validation set. We identify a parameter region where Huber loss performance matches $\ell_2$ loss, offering insights into loss function selection.

Introduction

Linear regression is a fundamental tool in data analysis, yet its performance in high-dimensional settings ($n \approx d$) under data corruption remains a critical area of study. While robust estimators like the Huber loss have been used for decades, classical analysis typically assumes the $n \gg d$ regime. This work, presented at AISTATS 2024, provides a rigorous mathematical characterization of how these estimators behave asymptotically as $n, d \to \infty$ with a fixed ratio $\alpha = n/d$, specifically in the presence of outliers.

Methodology

The study employs a probabilistic framework where a fraction $\epsilon$ of the training data is corrupted. The authors analyze Empirical Risk Minimization (ERM) for three primary loss functions:

  1. $\ell_2$ (Ridge): Standard squared error.
  2. $\ell_1$: Absolute error, traditionally favored for robustness.
  3. Huber Loss: A hybrid loss function that transitions from quadratic to linear behavior.

To derive exact asymptotic formulas, the researchers utilize the replica method from statistical physics. This allows for the derivation of a system of self-consistent equations describing order parameters, such as the overlap between predicted and true weights. These results are benchmarked against the Bayes-Optimal (BO) estimator, representing the theoretical performance limit.

Validation was performed using synthetic Gaussian datasets and real-world data (MNIST) preprocessed with Random Fourier Features to test the universality of the theoretical predictions.

Performance Metrics and the Norm Mismatch

The paper distinguishes between two primary performance metrics: estimation error ($E_{estim}$), the error in recovering the original signal; and generalization error ($E_{gen}$), the error in predicting new corrupted data points.

Estimation error $E_{estim}$ as a function of sample complexity $\alpha$ for different loss functions compared to the Bayes-optimal (BO) limit.

A key finding is the norm calibration mismatch. Even when an estimator correctly identifies the direction of the true signal, it often fails to recover the correct magnitude (norm) of the weight vector. This mismatch prevents standard ERM from reaching the Bayes-optimal limit. However, the authors demonstrate that for generalization error, consistency can be restored by rescaling the weights using a small, clean validation set.

Comparative Analysis of Loss Functions

The performance of different loss functions varies significantly with the sample complexity $\alpha$ and the outlier fraction $\epsilon$.

Excess generalization error and optimal parameters ($\lambda, a$) as a function of the outlier fraction $\epsilon$.

Key insights include:

  • Huber-Ridge Phase Transition: There exists a specific regime where the optimally tuned Huber loss performs identically to the $\ell_2$ loss. If outliers are not sufficiently distinct from the inlier noise, the Huber loss offers no advantage.
  • Superiority of Huber: In regimes with heavy outlier corruption, a properly tuned Huber loss (optimizing the transition parameter $a$) strictly outperforms both $\ell_1$ and $\ell_2$ losses.
  • Consistency Limits: While $\ell_2$ and Huber losses can achieve consistency with proper calibration, $\ell_1$ and fixed-scale Huber losses often converge to a non-zero error floor as $\alpha$ increases.

Conclusion and Future Directions

This work provides a precise theoretical map of robust regression in high dimensions. It highlights that achieving optimal performance requires careful calibration of the estimator's norm. While the theory assumes Gaussian features, empirical tests on MNIST suggest broader applicability. Future work may extend these findings to non-linear models and explore the implications of negative regularization in non-convex optimization landscapes.

Summary updated

BibTeX
@inproceedings{vilucchio2024asymptotic,
  author = {Matteo Vilucchio and Emanuele Troiani and Vittorio Erba and Florent Krzakala},
  title = {{Asymptotic Characterisation of the Performance of Robust Linear Regression in the Presence of Outliers}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
  url = {https://openreview.net/forum?id=cSZSWR9lNW},
}
Figure