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

Why does shuffling your dataset once per epoch—a technique known as Random Reshuffle (RR)—work better than picking samples purely at random? In the world of Stochastic Gradient Descent (SGD), there is a persistent gap between theory and practice. Standard textbook theory usually assumes Random Sampling (RS), where a data point is picked, used, and put back (sampling with replacement). However, almost every practitioner actually uses Random Reshuffle, shuffling the entire dataset at the start of an epoch and iterating through it without replacement.

Empirically, RR is much faster, but theoretically, it is harder to analyze. Previous proofs often relied on unrealistic assumptions, such as requiring vanishingly small step sizes or assuming the loss function is "strongly convex" (which most neural networks are not). This paper seeks to explain RR's success in modern settings: specifically, non-convex problems and over-parameterized models where the network has enough capacity to fit every training point perfectly.

Characterizing the Problem: Model Incoherence

To bridge the gap between theory and practice, the authors introduce two novel metrics to characterize a machine learning problem's landscape:

  1. Minimizer Incoherence: This measures the "disagreement" between individual data points. If every data point can be perfectly satisfied by the same model parameters (common in over-parameterized deep learning), the model exhibits "full minimizer coherence." If the data is noisy and different points pull the model toward different optimal solutions, incoherence is high.
  2. Curvature Incoherence: This measures the variation in the "sharpness" or condition numbers of the loss functions for different data samples.
Visualizing Minimizer Incoherence: The left plot shows high incoherence where different data points have different optimal parameters ($\epsilon > 0$), while the right shows full coherence where all points share the exact same minimum ($\epsilon = 0$).

By using these metrics, the authors analyze the SGD trajectory under weak strong convexity—a condition broader than standard convexity that covers problems like phase retrieval and certain neural network layers.

Key Insights: The AM-GM Advantage

The most elegant finding in the paper is the mathematical reason for RR's speed advantage over RS. The convergence rate of Random Sampling is determined by the Arithmetic Mean (AM) of the data's condition numbers. Random Reshuffle, however, is determined by the Geometric Mean (GM).

Because the geometric mean is always less than or equal to the arithmetic mean ($GM \le AM$), RR is theoretically guaranteed to be faster than or equal to RS.

Furthermore, the authors prove that in over-parameterized models (full coherence), the RR trajectory actually converges deterministically to a specific global minimizer, even with a constant step size. This suppresses the "noise" usually associated with stochastic gradients. When data is noisy (incoherent), SGD with a constant step size won't hit the exact bottom; it will bounce around in a "neighborhood" of the solution. The paper shows that RR results in a smaller, more accurate neighborhood than RS.

Empirical Results and Noise Robustness

The authors validated their theory using MNIST, CIFAR-10, and Synthetic Phase Retrieval Data. Under full coherence, RR achieves a linear convergence rate that is strictly faster than RS. Experiments on a ResNet-18 architecture showed that RR and Incremental Sampling (cyclic) converged at nearly identical speeds, both significantly outperforming Random Sampling.

Convergence and Noise Robustness: As noise variance increases (left), Random Reshuffle maintains a lower convergence error than Random Sampling. The training loss trajectory (right) also demonstrates RR's superior convergence speed and stability.

In non-convex phase retrieval tests, the authors precisely controlled noise levels to measure the impact of minimizer incoherence. As the noise increased, the convergence error for all methods grew, but RR consistently maintained a lower error floor than RS, proving its robustness in imperfect, real-world data scenarios.

Limitations and Future Work

While this paper provides a robust mathematical foundation for why RR optimizes faster than RS, it focuses entirely on optimization (minimizing training loss) rather than generalization (performance on unseen data). The relationship between shuffling schemes and the "flatness" of minima—which heavily influences generalization—remains an open question.

Additionally, while "weak strong convexity" is more flexible than standard convexity, it still does not capture the full, chaotic complexity of a deep neural network's entire loss landscape. Future work will likely extend this "incoherence" framework to study the generalization abilities of different sampling schemes, offering an even more complete picture of modern SGD dynamics.

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