NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient learning with robust gradient descent

Matthew J. Holland, Kazushi Ikeda · DOI

Abstract

Traditional machine learning optimization relies on Empirical Risk Minimization (ERM), which is highly sensitive to heavy-tailed noise and outliers. This paper introduces Robust Gradient Descent (RGD), a novel optimization framework that replaces standard sample-mean gradients with coordinate-wise M-estimators. By robustifying the gradient estimation process, RGD achieves high-probability convergence even in the presence of noisy or heavy-tailed data, outperforming traditional ERM without the prohibitive computational costs of previous robust methods.

Introduction

Most modern machine learning models are trained using Empirical Risk Minimization (ERM). In practice, this typically involves Gradient Descent (GD) where the update step uses the sample mean of the gradients. While effective under sub-Gaussian noise assumptions, the sample mean is notoriously fragile when faced with "heavy-tailed" distributions—where extreme values occur more frequently than in a normal distribution.

In such scenarios, standard GD can become highly inefficient, requiring an impractical number of observations to stabilize. While "median of means" techniques have been proposed to address this, they often struggle when the sample size is small relative to model complexity. This paper addresses these challenges by introducing a robust gradient estimation technique that is both statistically sound and computationally efficient.

Methodology: Robust Gradient Descent (RGD)

The core innovation of this work is Algorithm 1: Robust Gradient Descent (RGD). Instead of the standard update rule $\widehat{w}_{t+1} = \widehat{w}_t - \alpha \frac{1}{n} \sum \nabla l(\widehat{w}_t; z_i)$, RGD employs a robust estimator for the gradient vector.

Coordinate-wise M-estimation

To avoid the computational "curse of dimensionality" associated with multivariate robust estimators (like the geometric median), RGD applies a robust "location" estimator to each coordinate of the gradient independently. This allows the method to scale linearly with the number of parameters.

The LOCATE and RESCALE Sub-routines

The algorithm relies on two primary sub-routines:

  1. LOCATE: This routine uses a robust loss function $\rho$ (specifically the Gudermannian function) to find a value $\hat{\theta}$ that minimizes a "soft-truncated" distance to the observed gradients. This provides a robust middle ground between the mean and the median.
  2. RESCALE: To ensure the estimator adapts to different data scales, RGD dynamically estimates the dispersion (scale) of the gradients at each iteration.

Theoretical analysis shows that RGD converges to the optimal solution even if the data only possesses finite second moments, a significantly weaker requirement than the typical sub-Gaussian assumption.

Experimental Evaluation

The authors evaluated RGD through three distinct experimental setups:

  1. Controlled Simulations: A synthetic quadratic risk task where noise varied from Gaussian to heavy-tailed log-Normal.
  2. Regression Benchmarks: Synthetic tasks across 25 different noise distributions (e.g., Arcsine, Laplace, Pareto, Student’s t).
  3. Real-world Benchmarks: Image classification on greyscale CIFAR-10 and MNIST, and binary classification on the Protein Homology dataset (KDD Cup 2004).

Key Results and Insights

Resilience to Heavy-Tailed Noise

In simulations with log-Normal noise, RGD significantly outperformed ERM-based gradient descent. While standard GD often plateaued or deviated due to outlier observations, RGD followed the ideal "oracle" gradient path closely.

Comparison of gradient descent trajectories under heavy-tailed noise. The left panel shows standard ERM-GD deviating from the optimal path, while the right panel shows RGD maintaining a stable trajectory.

High-Dimensional Performance

The performance gap between RGD and ERM widens as the number of parameters ($d$) increases. In high-dimensional tests (e.g., $d=128$), RGD continued to improve generalization error while ERM-GD reached a performance floor prematurely.

Real-world Competitive Edge

On the Protein Homology dataset, characterized by highly unbalanced labels, RGD significantly outperformed standard Stochastic Gradient Descent (SGD) and Stochastic Variance-Reduced Gradient (SVRG). This suggests that RGD's robustness is particularly valuable for "messy" real-world data.

Discussion

A key insight of this work is the trade-off between sharpness and unbiasedness. While standard gradients are unbiased, they suffer from high variance in the presence of outliers. The RGD estimator is technically biased but is much more "sharply distributed" around the true gradient, leading to faster and more stable convergence.

Furthermore, RGD is designed for plug-and-play robustness. It can be integrated into existing adaptive optimizers like Adam or AdaGrad by replacing the empirical mean of the gradient with the robust RGD estimate.

Conclusion

Robust Gradient Descent provides a powerful framework for training models on noisy or heavy-tailed data. While it introduces some computational overhead due to fixed-point iterations per coordinate, its efficiency compared to previous robust methods and its superior generalization performance make it a compelling alternative to standard ERM-based optimization. Future work may explore "vector-wide" strategies to account for correlations between gradient coordinates while maintaining computational feasibility.

Summary updated

BibTeX
@article{holland2019efficient,
  author = {Matthew J. Holland and Kazushi Ikeda},
  title = {{Efficient learning with robust gradient descent}},
  journal = {Machine Learning},
  year = {2019},
  doi = {10.1007/s10994-019-05802-5},
}
Figure