Revisiting Convergence: Shuffling Complexity Beyond Lipschitz Smoothness

Qi He, Peiran Yu, Ziyi Chen, Heng Huang

Introduction

Modern optimization theory for machine learning has long rested on the assumption of Lipschitz smoothness—the idea that the gradient of a loss function changes at a bounded, constant rate. However, this foundational assumption is increasingly at odds with reality. Popular architectures like Transformers and LSTMs, along with problems in Phase Retrieval and Distributionally Robust Optimization (DRO), frequently exhibit non-Lipschitz behavior where gradients can explode or fluctuate wildly.

While practitioners have historically favored "shuffling" methods—iterating through data in permuted orders rather than sampling with replacement—theoretical guarantees for these methods have lagged behind, typically failing when the Lipschitz assumption is removed. This work bridges that gap, providing a rigorous theoretical framework for shuffling algorithms under a broader class of non-smooth functions.

Theoretical Framework: Beyond Lipschitz Smoothness

The core innovation of this research is the move towards $ℓ$-smoothness. Instead of a constant bound $L$, the authors assume the Hessian norm is bounded by a non-decreasing function of the gradient norm, specifically targeting "sub-quadratic" growth characterized by a parameter $p \in [0, 2)$.

When $p=0$, the model recovers standard Lipschitz smoothness. As $p$ increases, the landscape becomes more challenging. The authors analyze three primary shuffling schemes:

  1. Fixed-shuffling: A single permutation is used across all epochs.
  2. Shuffle-once: The dataset is shuffled once at the start of training.
  3. Random Reshuffling (RR): A fresh random permutation is generated for every epoch.

To ensure stability in these "wilder" landscapes, the authors introduce a novel stepsize strategy and a "stopping time" analysis. This technique proves that, with high probability, the optimization trajectory remains within a well-behaved region, preventing gradient explosions during training.

Convergence of the objective function $f(x_t)$ across different shuffling schemes versus standard SGD.

Empirical Results and Key Insights

The theoretical analysis yields impressive complexity bounds. For nonconvex functions, Random Reshuffling achieves a total gradient evaluation complexity of $O(n^{\frac{p+1}{2}} \epsilon^{-3})$. Notably, when $p=0$, these bounds match the best-known rates for the standard smooth setting, suggesting that shuffling methods are inherently robust to non-Lipschitzness.

Empirical evaluations across synthetic benchmarks, Phase Retrieval, and real-world datasets like CIFAR-10 confirm these theoretical findings. Shuffling methods consistently outperformed standard SGD across all tests. In deep learning tasks, such as training a ResNet18 on CIFAR-10, shuffling schemes demonstrated superior performance in both training and test accuracy compared to standard SGD.

Training and test accuracy on CIFAR-10 using ResNet18, comparing SGD with various shuffling strategies.

Conclusion and Future Directions

This work provides a theoretical foundation for why shuffling methods work so well in practice, even for models that violate classical smoothness assumptions. By parameterizing non-smoothness through $p$, the authors offer a clear map of how problem complexity scales.

While the results are promising, future research may focus on tightening these bounds or reducing the polynomial dependency on the failure probability ($\delta$). Additionally, exploring the integration of these techniques with variance reduction methods like SVRG could further push the boundaries of efficient non-Lipschitz optimization.

Summary updated

BibTeX
@inproceedings{he2025revisiting,
  author = {Qi He and Peiran Yu and Ziyi Chen and Heng Huang},
  title = {{Revisiting Convergence: Shuffling Complexity Beyond Lipschitz Smoothness}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=pXoUfvNRRu},
}
Figure