Power of Generalized Smoothness in Stochastic Convex Optimization: First- and Zero-Order Algorithms

A. V. Lobanov, Alexander GasnikovarXiv 2025 · DOI

Abstract: This paper is devoted to the study of stochastic optimization problems under the generalized smoothness assumption. By considering the unbiased gradient oracle in Stochastic Gradient Descent, we provide strategies to achieve in bounds the summands describing linear rate. In particular, in the case $L_0 = 0$, we obtain in the convex setup the iteration complexity: $N = \mathcal{O}\left(L_1R \log\frac{1}{\varepsilon} + \frac{L_1 c R^2}{\varepsilon}\right)$ for Clipped Stochastic Gradient Descent and $N = \mathcal{O}\left(L_1R \log\frac{1}{\varepsilon}\right)$ for Normalized Stochastic Gradient Descent. Furthermore, we generalize the convergence results to the case with a biased gradient oracle, and show that the power of $(L_0,L_1)$-smoothness extends to zero-order algorithms. Finally, we demonstrate the possibility of linear convergence in the convex setup through numerical experimentation, which has aroused some interest in the machine learning community.

Introduction

In standard optimization theory, a sharp divide exists between strongly convex functions, which enjoy linear convergence rates, and general convex functions, which typically converge sublinearly (e.g., $1/k$ or $1/\sqrt{k}$). However, many practical machine learning objectives, such as the logistic loss, fall into a middle ground. While not strongly convex, they exhibit "generalized smoothness" or $(L_0, L_1)$-smoothness, where the smoothness parameter grows with the gradient norm. This paper explores how stochastic algorithms can exploit this property to achieve linear convergence in the convex setting.

Methods and Algorithms

The authors investigate four primary algorithms tailored for generalized smoothness:

  • Clipped SGD (ClipSGD): Caps gradients at a threshold $c$ to mitigate exploding gradients common in generalized smooth functions.
  • Normalized SGD (NSGD): Uses only the gradient direction, effectively scaling the step size by the inverse of the gradient norm.
  • Zero-Order Variants (ZO-ClipSGD & ZO-NSGD): Gradient-free versions that estimate gradients using only two function evaluations.

The core innovation lies in a convergence analysis that decouples the deterministic error contraction from stochastic noise. By carefully tuning step sizes and clipping parameters, the authors show that the deterministic component can achieve linear contraction.

Theoretical Complexity

The theoretical results demonstrate that for functions where $L_0 = 0$ (e.g., exponential or logistic functions), normalization acts as a "linearizer." NSGD can achieve an iteration complexity of $N = \tilde{O}(L_1 R)$, bypassing standard lower bounds for first-order methods on convex functions.

Comparison of iteration complexity and batch size requirements.

As shown in the table above, the proposed methods ("Ours") achieve logarithmic dependence on $1/\epsilon$ in the iteration count, provided the batch size $B$ is sufficiently large (e.g., $O(1/\epsilon^3)$ for NSGD). This highlights a fundamental trade-off: trading massive parallelization (large batches) for faster iteration convergence.

Empirical Observations and Regime Switching

Numerical experiments confirm these theoretical findings. A key observation is the "regime switching" behavior in algorithms like ClipSGD when applied to generalized smooth functions.

Regime switching in Gradient Descent for generalized smooth functions.

As illustrated in the figure above for $f(x) = \|x\|^{2n}$, the optimization process initially exhibits a rapid linear descent (red) while the gradient is large and clipping is active. Once the gradient norm drops below a certain threshold (indicated by the dashed line), the algorithm transitions to a slower sublinear regime (blue). In practical tests on logistic regression using the w1a dataset, the authors' proposed methods sustain a linear slope on log-scale plots, outperforming standard smoothness-based approaches.

Conclusion and Future Work

This work demonstrates that generalized smoothness is a powerful tool for accelerating stochastic convex optimization. While the requirement for large batch sizes remains a practical challenge, the ability to achieve linear convergence rates for non-strongly convex functions is a significant theoretical advancement. Future research may explore extending these results to strongly convex settings or developing adaptive versions like Adam under the $(L_0, L_1)$-smoothness framework.

Summary updated

BibTeX
@misc{lobanov2025power,
  author = {A. V. Lobanov and Alexander Gasnikov},
  title = {{Power of Generalized Smoothness in Stochastic Convex Optimization: First- and Zero-Order Algorithms}},
  year = {2025},
  eprint = {2501.18198},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.18198},
  howpublished = {arXiv},
}
Figure