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

Understanding the Impact of Model Incoherence on Convergence of Incremental SGD with Random Reshuffle

Shaocong Ma, Yi Zhou

Introduction

In modern deep learning, Stochastic Gradient Descent (SGD) is the standard optimization tool. However, a significant gap exists between theory and practice: while textbook SGD assumes sampling with replacement, frameworks like PyTorch and TensorFlow implement Random Reshuffle (RR), which processes data without replacement in shuffled epochs. Practitioners have long observed that RR converges faster and more reliably, but theoretical explanations have often relied on restrictive assumptions like perfect convexity or impractical step sizes.

A study by Ma and Zhou (ICML 2020) addresses this by introducing Model Incoherence, a framework that explains RR's superiority through the geometric properties of the loss landscape. Their work provides a fresh perspective on why shuffling beats standard random sampling, especially in the context of modern over-parameterized models.

The Framework of Model Incoherence

The authors characterize optimization problems using two primary metrics to quantify data diversity and model fit:

  1. Minimizer Incoherence ($\epsilon$): This measures the distance between the global minimizers of individual samples and the global minimizer of the total loss. In "over-parameterized" models (like large neural networks that can perfectly fit training data), this value is zero because all samples can share a common minimum.
  2. Curvature Incoherence ($\alpha$): This measures the quality of condition numbers across all sample losses, defined as a product of individual samples' convergence parameters.
Visualizing Minimizer Incoherence: $\epsilon > 0$ (left) represents noisy settings where sample minima disagree, while $\epsilon = 0$ (right) represents over-parameterized models where all samples share a common minimum.

By analyzing RR under "weak strong convexity"---a condition broader than standard strong convexity that covers non-convex problems like phase retrieval---the authors demonstrate that RR exploits these incoherence properties more effectively than standard SGD.

Theoretical Insights: The AM-GM Advantage

The core theoretical contribution is the "AM-GM Advantage." Standard SGD's convergence rate is limited by the arithmetic mean (AM) of the data's condition numbers, which is sensitive to high-variance samples. Conversely, Random Reshuffle's rate depends on the geometric mean (GM).

Since the geometric mean is always less than or equal to the arithmetic mean (the AM-GM inequality), RR is mathematically guaranteed to achieve a faster linear convergence rate in coherent settings. Furthermore, in over-parameterized regimes ($\epsilon = 0$), the entire trajectory of RR converges deterministically to a global minimizer. In noisy regimes ($\epsilon > 0$), it reaches a smaller "noise ball" (neighborhood of the truth) compared to standard random sampling.

Empirical Validation

The researchers validated their theory using ResNet18 on CIFAR-10 and MNIST, as well as synthetic non-convex phase retrieval tasks.

Comparison of training loss across different sampling methods. Left: Impact of minibatch class diversity on convergence. Right: Random Reshuffle and Incremental Sampling consistently outperform standard Random Sampling.

As shown in the experimental results, Random Reshuffle and Incremental Sampling (cyclic) both converge significantly faster than standard random sampling. While RR and Incremental sampling share similar theoretical rates, RR is practically more robust as it averages out the risk of a "bad" fixed permutation. In phase retrieval tests, as noise (minimizer incoherence) increased, the convergence error for all methods grew, but RR consistently maintained a lower error floor than standard SGD.

Conclusion

This work provides a rigorous justification for the empirical success of Random Reshuffle. By shifting the focus to model incoherence and the AM-GM inequality, the authors bridge the gap between optimization theory and deep learning practice. While this framework explains training speed, future research remains to be done on how these sampling strategies influence generalization on unseen data and their behavior in fully general non-convex landscapes.

Summary updated

BibTeX
@inproceedings{ma2020understanding,
  author = {Shaocong Ma and Yi Zhou},
  title = {{Understanding the Impact of Model Incoherence on Convergence of Incremental SGD with Random Reshuffle}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=mw7ENSlcXCj},
}
Figure