On the Convergence of A Family of Robust Losses for Stochastic Gradient Descent

Bo Han, Ivor W. Tsang, Ling Chen

Introduction

Stochastic Gradient Descent (SGD) is the cornerstone of large-scale machine learning due to its efficiency and minimal memory requirements. Traditionally, SGD relies on convex loss functions such as Hinge or Logistic loss. However, these functions are highly sensitive to "noisy" labels—incorrectly labeled data points common in real-world datasets derived from crowdsourcing or automated logging. This paper proposes a family of robust, bounded loss functions that mitigate the impact of outliers while maintaining the fast $O(1/T)$ convergence rate characteristic of standard SGD.

The Challenge of Noisy Labels

The primary issue with convex loss functions is that their gradients remain significant even for points that are severely misclassified. When a dataset contains noisy labels, these outliers exert a disproportionate influence on the model parameters. During an SGD update, the algorithm attempts to "correct" the error for the outlier, which can significantly skew the decision boundary and degrade overall predictive accuracy.

Illustration of a noisy label (A) and the behavior of various loss functions. Robust losses like Smooth Ramp and Reversed Gompertz plateau for misclassified points, effectively ignoring outliers.

As shown in the figure above, a noisy label (Point A) located far from the decision boundary results in a large negative value for the margin $z = y f_{\mathbf{w}}(\mathbf{x})$. In standard convex losses like Hinge or Logistic, the loss $r(z)$ continues to increase as $z$ becomes more negative, leading to a persistent gradient. In contrast, robust losses like the Smooth Ramp or Reversed Gompertz reach an upper bound ($1-s^*$ or $1$), resulting in a zero gradient for extreme outliers beyond a certain threshold.

Proposed Robust Loss Functions

The authors introduce a family of robust losses designed to be compatible with SGD. These losses are defined by three key properties:

  1. Upper Bound Condition: The loss is capped at a maximum value. As a misclassified point moves further from the boundary, its gradient eventually vanishes, allowing the model to effectively "ignore" suspected outliers.
  2. Local Strong Convexity: Although the loss is non-convex globally, it remains strongly convex in the region surrounding the local minimum, ensuring stable optimization.
  3. Smoothness: The functions are continuously differentiable, which is a prerequisite for standard gradient-based methods.

Two specific implementations are highlighted: the Smooth Ramp Loss, which uses a reversed sigmoid to smooth the traditional ramp function, and the Reversed Gompertz Loss, based on the Gompertz growth function.

Theoretical Convergence

To bridge the gap between non-convexity and fast convergence, the authors propose two new theoretical frameworks: Augmented Restricted Strong Convexity (ARSC) and Augmented Restricted Smoothness (ARSM). By satisfying these conditions, the robust SGD algorithm is proven to achieve a convergence rate of $O(1/T)$. This theoretical result is significant because it suggests that robustness to noise does not inherently require a sacrifice in optimization speed compared to standard convex SGD on clean data.

Experimental Evaluation

The researchers evaluated the robust losses on six diverse real-world datasets (A7A, IJCNN1, REAL-SIM, COVTYPE, MNIST38, and SUSY) with manually injected label noise ranging from 20% to 60%.

Key Results

  • High Noise Tolerance: In scenarios with 40% to 60% noise, the robust methods (SGD-SRamp and SGD-RGomp) significantly outperformed Logistic and Hinge loss baselines. The performance gap was particularly pronounced on the REAL-SIM dataset.
  • Stability: Robust losses exhibited much lower variance in test error as noise levels increased. While standard SGD became unpredictable under high noise, the proposed methods remained stable.
  • Empirical Convergence: The robust losses typically converged within 15 epochs, validating the $O(1/T)$ theoretical rate and matching the practical speed of non-robust alternatives.

Conclusion

This work demonstrates that "robustness is almost free." By carefully designing bounded, locally convex loss functions, it is possible to build SGD-based models that are resilient to heavy label noise without compromising on computational efficiency. While these losses introduce new hyperparameters that require tuning, the gains in accuracy and stability for real-world, noisy datasets are substantial. Future research may extend this framework to regression tasks, where target outliers present similar challenges.

Summary updated

BibTeX
@inproceedings{han2016convergence,
  author = {Bo Han and Ivor W. Tsang and Ling Chen},
  title = {{On the Convergence of A Family of Robust Losses for Stochastic Gradient Descent}},
  booktitle = {ECML/PKDD},
  year = {2016},
  doi = {10.1007/978-3-319-46128-1\_42},
}
Figure