A Robust Learning Algorithm for Regression Models Using Distributionally Robust Optimization under the Wasserstein Metric

Ruidi Chen, Ioannis Ch. PaschalidisarXiv 2017 · DOI

Abstract

We present a Distributionally Robust Optimization (DRO) approach to estimate a robustified regression plane in a linear regression setting, when the observed samples are potentially contaminated with adversarially corrupted outliers. Our approach mitigates the impact of outliers through hedging against a family of distributions on the observed data, some of which assign very low probabilities to the outliers. The set of distributions under consideration are close to the empirical distribution in the sense of the Wasserstein metric. We show that this DRO formulation can be relaxed to a convex optimization problem which encompasses a class of models. By selecting proper norm spaces for the Wasserstein metric, we are able to recover several commonly used regularized regression models. We provide new insights into the regularization term and give guidance on the selection of the regularization coefficient from the standpoint of a confidence region. We establish two types of performance guarantees for the solution to our formulation under mild conditions. One is related to its out-of-sample behavior (prediction bias), and the other concerns the discrepancy between the estimated and true regression planes (estimation bias). Extensive numerical results demonstrate the superiority of our approach to a host of regression models, in terms of the prediction and estimation accuracies. We also consider the application of our robust learning procedure to outlier detection, and show that our approach achieves a much higher AUC (Area Under the ROC Curve) than M-estimation.

Introduction

Standard linear regression, typically solved via Ordinary Least Squares (OLS), is notoriously fragile. A small number of adversarial outliers can significantly bias the regression plane, leading to poor predictive performance and incorrect parameter estimation. While robust alternatives like Least Absolute Deviation (LAD) or M-estimation exist, they often struggle when noise is present not just in the response variable ($y$), but also in the predictors ($x$).

This paper addresses the challenge of estimating reliable regression models from contaminated training data. The authors propose a principled framework that incorporates robustness through Distributionally Robust Optimization (DRO), providing theoretical guarantees on both prediction bias (out-of-sample performance) and estimation bias (proximity to true parameters).

Methodology

The core of the proposed approach is the use of Distributionally Robust Optimization (DRO). Rather than minimizing loss on specific training samples, the algorithm minimizes the worst-case expected loss over an "ambiguity set"—a family of potential distributions "close" to the observed data.

The Wasserstein Metric and Loss Selection

To define "closeness," the authors employ the Wasserstein metric. Unlike metrics like KL divergence, the Wasserstein distance accounts for the underlying geometry of the data space, making it particularly effective for handling discrete samples and continuous truths.

A critical design choice in this framework is the use of $\ell_1$ loss (absolute residual $|y - x'\beta|$) instead of the standard squared error. As shown in Figure 1, squared loss grows quadratically with the size of the residual, meaning outliers exert a disproportionately large influence on the model. In contrast, absolute loss grows linearly, providing inherent resistance to extreme values.

Comparison of Absolute and Squared Loss functions relative to residuals.

Tractable Reformulation and the "Extended" Vector

The authors prove that this complex "min-max" DRO problem can be simplified into a standard, tractable convex optimization problem. A key innovation is the regularization of an "extended" coefficient vector $(-\beta, 1)$. The "1" represents the transportation cost along the $y$-axis. While traditional regularized models (like LASSO) implicitly assume $y$ is perfectly accurate, this model acknowledges that both features and labels can be noisy.

Key Insights and Results

The framework offers several new perspectives on regression:

  • Regularization as Uncertainty: The regularization coefficient ($\epsilon$) is reinterpreted as the radius of the Wasserstein ball, representing the level of "distrust" in the training data.
  • Geometry of the Norm: The choice of norm in the Wasserstein metric (e.g., $\ell_2$ vs $\ell_\infty$) dictates the model's structure. An $\ell_2$-based DRO is optimal for dense problems, while an $\ell_\infty$-based one naturally recovers and improves upon sparse models like LASSO.
  • Dimensionality-Free Guarantees: Theoretical bounds for prediction error are independent of the number of features, making the approach suitable for high-dimensional "big data" applications.

Performance Evaluation

Extensive synthetic testing across various contamination scenarios and Signal-to-Noise Ratios (SNR) demonstrated that the Wasserstein DRO approach consistently achieves lower Mean Squared Error (MSE) and Relative Risk (RR) than OLS, Ridge, LASSO, and Elastic Net. Furthermore, in outlier detection tasks, the method achieved a significantly higher Area Under the ROC Curve (AUC) than standard M-estimation techniques (Huber, Talwar, and Fair functions).

Conclusion

This research provides a robust, theoretically grounded alternative to traditional regression models. By leveraging DRO and the Wasserstein metric, the proposed algorithm effectively "hedges" against adversarial noise in both features and labels. While currently focused on linear relationships, future work may extend these principles to non-linear models and broader classes of loss functions.

Summary updated

BibTeX
@misc{chen2017robust,
  author = {Ruidi Chen and Ioannis Ch. Paschalidis},
  title = {{A Robust Learning Algorithm for Regression Models Using Distributionally Robust Optimization under the Wasserstein Metric}},
  year = {2017},
  eprint = {1706.02412},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.02412},
}
Figure