Relaxed Clipping: A Global Training Method for Robust Regression and Classification

Yaoliang Yu, Min Yang, Linli Xu, Martha White, Dale Schuurmans

Introduction: The Convexity vs. Robustness Dilemma

In machine learning, practitioners frequently face a frustrating trade-off between optimization stability and outlier resistance. Standard convex loss functions—such as Mean Squared Error (L2) or Hinge Loss—are widely used because they are easy to optimize globally. However, they are inherently "unbounded." A single extreme outlier can pull the entire model toward it, severely degrading the fit for the majority of the valid data.

To address this, robust statistics advocates for "bounded" or "clipped" loss functions that ignore errors beyond a certain threshold. The catch is that these bounded losses are non-convex. Training models with them typically requires local search methods that easily get trapped in poor local minima, making the final model highly sensitive to the initial guess.

This paper introduces Relaxed Clipping, a novel training framework designed to reconcile this long-standing conflict. By applying a convex relaxation to clipped loss functions, the authors provide a method that is globally solvable, scalable to moderate datasets, and theoretically guaranteed to resist the influence of extreme outliers.

Methodology: Relaxed Clipping

The authors tackle the convexity versus robustness dilemma through a four-step process that transforms a non-convex robust objective into a solvable, globally optimal framework:

  1. Loss Clipping & Relaxation: The process begins with a standard convex loss $\ell$ and defines a "clipped" version $\ell_c = \min(1, \ell)$. To make this mathematically tractable, the authors introduce an auxiliary variable $\rho_i \in [0, 1]$ for each data point, acting as an "inlier weight." If $\rho_i = 1$, the point is treated as an inlier; if $\rho_i = 0$, it is ignored as an outlier.
Comparison of a standard unbounded loss function with its bounded, clipped counterpart.
  1. Convex Reformulation: Because the joint optimization of the model parameters and these weights is still non-convex, the authors utilize Fenchel duality to transform the problem into a minimax (saddle-point) formulation.
  2. Semidefinite Relaxation & Efficient Solving: The resulting matrix-vector form is subjected to a convex semidefinite relaxation. Crucially, the authors demonstrate that the inner part of this optimization can be solved using a simple power method (finding the maximum eigenvector) rather than relying on expensive, general-purpose semidefinite programming (SDP) solvers. This eigenvalue reduction is the key to the method's efficiency.
  3. Rounding: Because the relaxation might not yield a perfectly "rank-1" solution, a rounding procedure is provided to recover the final model parameters while maintaining theoretical robustness guarantees.

Key Theoretical Insight

One of the most significant contributions of the paper is Theorem 2, which proves that the rounded solution from this relaxation remains bounded even when faced with arbitrary outliers or "leverage points" (outliers in the input space). This provides a mathematical guarantee of outlier resistance that standard convex losses simply cannot offer.

Key Results and Outlier Resistance

The authors evaluated Relaxed Clipping (ClipRelax) on both synthetic and real-world benchmarks, demonstrating its superiority over standard methods in noisy environments.

  • Synthetic Regression: In tests featuring linear data with up to 40% outlier probability, ClipRelax maintained a Root Mean Squared Error (RMSE) of approximately 2.5. In stark contrast, standard L2 and L1 losses exploded to errors of 19.0 and 27.1, respectively, as they were dragged away by the noisy data points.
Linear regression performance in the presence of outliers, comparing ClipRelax against standard L1 and L2 losses.
  • Avoiding Local Minima (Classification): On the "Long-Servedio" problem—a synthetic classification challenge designed to defeat standard convex boosters using random misclassification noise—ClipRelax significantly outperformed traditional non-convex robust losses (like "1-tanh"). While local search methods frequently got stuck in local optima, ClipRelax consistently found a globally better solution.
  • Real-World Performance: The method was tested on real-world datasets known for noise, including an Astronomy dataset (46 samples) and the UCI Cal-housing dataset (100 training samples). ClipRelax consistently achieved lower error rates than L2, L1, and Huber losses, proving that its theoretical robustness translates directly to better generalization on messy, real-world data.

Limitations and Future Work

While Relaxed Clipping bridges a critical gap in robust machine learning, the authors note a few limitations:

  • Scalability Limits: Although bypassing standard SDP solvers makes the method much faster, it still involves nonsmooth optimization and repeated eigenvalue calculations. It scales well to "moderate" sizes (hundreds to a few thousand samples) but may struggle with the massive datasets typical in modern deep learning without further approximations.
  • Scale Estimation: For regression tasks, the method assumes prior knowledge of the noise "scale" to set the clipping threshold. While the authors used Mean Absolute Deviation (MAD) to estimate this, integrating an automated scale estimation mechanism would improve usability.
  • Consistency Proofs: The authors have proven the method's robustness, but a formal proof of statistical consistency—showing that the estimate perfectly converges to the true value as the dataset grows infinitely large—remains an open task for future research.

Summary updated

BibTeX
@inproceedings{yu2010relaxed,
  author = {Yaoliang Yu and Min Yang and Linli Xu and Martha White and Dale Schuurmans},
  title = {{Relaxed Clipping: A Global Training Method for Robust Regression and Classification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2010},
}
Figure