Near-Optimal High Probability Complexity Bounds for Non-Smooth Stochastic Optimization with Heavy-Tailed Noise

Eduard A. Gorbunov, Marina Danilova, Innokentiy Shibaev, Pavel E. Dvurechensky, Alexander V. Gasnikov

TL;DR

This paper tackles a crucial gap in the theoretical understanding of optimization algorithms used in machine learning: how they perform with "heavy-tailed" noise, which is common in real-world scenarios. The authors present the first high-probability convergence guarantees for non-smooth optimization problems with this type of noise, showing that their methods achieve logarithmic dependence on the confidence level, a significant improvement over previous negative-power dependencies.

What Problem Does This Paper Address?

Training large machine learning models often involves optimizing complex, non-smooth functions using stochastic first-order methods (like SGD or Adam). While theoretical guarantees usually focus on the average performance (expected convergence), real-world runs can sometimes yield highly suboptimal results. This is especially true when the noise in the stochastic gradients is "heavy-tailed," meaning extreme values are more likely than in a "light-tailed" (e.g., sub-Gaussian) distribution. Previous theoretical work on high-probability guarantees for non-smooth problems with heavy-tailed noise suffered from a significant drawback: their convergence rate depended negatively on the confidence level (e.g., 1/β^α), making it impractical to achieve high confidence. This paper aims to bridge this gap by deriving high-probability convergence bounds with a logarithmic dependence on the confidence level for non-smooth, heavy-tailed noise scenarios, which is much more desirable.

Methods

The core of the paper's contribution lies in developing novel theoretical analyses and algorithmic modifications. The authors propose new stepsize rules for two gradient clipping-based methods: clipped-SSTM (Clipped Stochastic Similar Triangles Method) and clipped-SGD (Clipped Stochastic Gradient Descent). Gradient clipping is a standard technique to handle noisy gradients by limiting their norm. The novelty here is in how they adapt these methods and their analyses to:

  • Non-smooth objectives: Specifically, functions with (ν, M₁)-Hölder continuous gradients, which is a generalization beyond just smooth functions.
  • Heavy-tailed noise: This is the key challenge addressed, moving beyond the typical sub-Gaussian assumption.
  • High-probability guarantees: Moving beyond expectation-based analysis to provide guarantees that hold with a certain probability (1-β).
  • Logarithmic dependence on confidence level: This is a major theoretical improvement, replacing problematic negative-power dependencies.

They also extend their results to the strongly convex case and emphasize the generality of their analysis by requiring these properties only on a bounded ball around the solution, not the entire space.

Datasets

The paper uses synthetic data for experiments, specifically a linear regression problem with generalized Gaussian noise. They also conduct experiments on real-world datasets for image classification (ResNet-18 on ImageNet-100) and NLP tasks (BERT fine-tuning on CoLA, SST-2, MRPC, and STS-B).

Key Insights and Ideas

  • Heavy-tailed noise is a practical problem: The paper highlights that heavy-tailed noise is not just a theoretical curiosity but a reality in deep learning tasks (like BERT fine-tuning), where standard SGD can perform poorly compared to clipped variants.
  • Gradient clipping is key: The proposed methods rely on gradient clipping, which is shown to be effective in mitigating the negative effects of heavy-tailed noise.
  • Logarithmic dependence is achievable: The most significant theoretical insight is demonstrating that high-probability convergence with logarithmic dependence on the confidence level is possible for non-smooth, heavy-tailed settings, a feat previously thought difficult or impossible.
  • Generality matters: The authors emphasize that their theoretical results hold under weaker assumptions (e.g., properties holding only on a ball around the solution) than prior work, making them applicable to a wider range of problems, including those with polynomially growing objectives.

Key Results

  • First high-probability bounds for non-smooth, heavy-tailed noise: The paper presents the first theoretical guarantees for non-smooth convex optimization with heavy-tailed noise that achieve a logarithmic dependence on the confidence level (β).
  • Near-optimal complexity: For the clipped-SSTM method, the derived complexity bounds are shown to be near-optimal, matching the best known results for light-tailed noise when the objective is smooth (ν=1).
  • Improved bounds for clipped-SGD: New high-probability bounds are derived for clipped-SGD, which are also logarithmic in β and, for ν=0, match the best known results for light-tailed cases.
  • Experimental validation: Numerical experiments on synthetic and real-world tasks (image classification, NLP) demonstrate that clipped-SSTM and clipped-SGD often outperform standard SGD and Adam, especially when noise is heavy-tailed. For instance, on the BERT + CoLA task, clipped methods significantly outperform SGD.

Limitations and Future Work

  • Numerical constants: The authors acknowledge that their theoretical bounds contain large numerical constants, which are a consequence of simplifying assumptions made for proof tractability. Future work could focus on deriving bounds with better constants.
  • Coordinate-wise clipping: While the paper mentions coordinate-wise clipping for clipped-SGD in experiments, the theoretical analysis primarily focuses on norm clipping. Generalizing the analysis to coordinate-wise clipping would be a valuable extension.
  • Non-convex settings: The current work focuses on convex and strongly convex problems. Extending these high-probability guarantees to non-convex settings, especially with heavy-tailed noise, remains an open challenge.

Summary updated

BibTeX
@misc{gorbunov2021near,
  author = {Eduard A. Gorbunov and Marina Danilova and Innokentiy Shibaev and Pavel E. Dvurechensky and Alexander V. Gasnikov},
  title = {{Near-Optimal High Probability Complexity Bounds for Non-Smooth Stochastic Optimization with Heavy-Tailed Noise}},
  year = {2021},
  eprint = {2106.05958},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.05958},
}
Figure