mlsanityData to 7 Oct 2026

Demystifying SGD with Doubly Stochastic Gradients

arXiv 2406.00920 ↗First posted 3 Jun 2024stat.ML cs.LG math.OCcited by 2

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

Optimization objectives in the form of a sum of intractable expectations are rising in importance (e.g., diffusion models, variational autoencoders, and many more), a setting also known as "finite sum with infinite data." For these problems, a popular strategy is to employ SGD with doubly stochastic gradients (doubly SGD): the expectations are estimated using the gradient estimator of each component, while the sum is estimated by subsampling over these estimators. Despite its popularity, little is known about the convergence properties of doubly SGD, except under strong assumptions such as bounded variance. In this work, we establish the convergence of doubly SGD with independent minibatching and random reshuffling under general conditions, which encompasses dependent component gradient estimators. In particular, for dependent estimators, our analysis allows fined-grained analysis of the effect correlations. As a result, under a per-iteration computational budget of b × m, where b is the minibatch size and m is the number of Monte Carlo samples, our analysis suggests where one should invest most of the budget in general. Furthermore, we prove that random reshuffling (RR) improves the complexity dependence on the subsampling noise.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 41 of its 66 references that are in the map. First posted on arXiv 3 Jun 2024.

Builds on

41 of 66 references.

Closest ancestors · 1

Same direction, newest first

  1. 2020Denoising Diffusion Probabilistic Models19 Jun

Other references · 40

  1. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  2. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
  3. 2016Optimization Methods for Large-Scale Machine Learningcited by 1,140
  4. 2016Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Lojasiewicz Conditioncited by 526
  5. 2015Variational Dropout and the Local Reparameterization Trickcited by 489
  6. 2013Black Box Variational Inferencecited by 317
  7. 2019Monte Carlo Gradient Estimation in Machine Learningcited by 281
  8. 2019SGD: General Analysis and Improved Ratescited by 206
  9. 2016Automatic Differentiation Variational Inferencecited by 159
  10. 2023Handbook of Convergence Theorems for (Stochastic) Gradient Methodscited by 158
  11. 2020Better Theory for SGD in the Nonconvex Worldcited by 156
  12. 2017The Power of Interpolation: Understanding the Effectiveness of SGD in Modern Over-parametrized Learningcited by 150
28 more
  1. 2018Fast and Faster Convergence of SGD for Over-Parameterized Models and an Accelerated Perceptroncited by 143
  2. 2020Random Reshuffling: Simple Analysis with Vast Improvementscited by 112
  3. 2018SGD and Hogwild! Convergence Without the Bounded Gradients Assumptioncited by 94
  4. 2019A Unified Theory of SGD: Variance Reduction, Sampling, Quantization and Coordinate Descentcited by 84
  5. 2019Unified Optimal Analysis of the (Stochastic) Gradient Methodcited by 81
  6. 2020Variance-Reduced Methods for Machine Learningcited by 79
  7. 2020SGD for Structured Nonconvex Functions: Learning Rates, Minibatching and Interpolationcited by 66
  8. 2019How Good is SGD with Random Shuffling?cited by 63
  9. 2020A Unified Convergence Analysis for Shuffling-Type Gradient Methodscited by 57
  10. 2020SGD with shuffling: optimal rates without component convexity and large epoch requirementscited by 57
  11. 2013Fast Convergence of Stochastic Gradient Descent under a Strong Growth Conditioncited by 54
  12. 2018Variance reduction properties of the reparameterization trickcited by 41
  13. 2014Scalable Kernel Methods via Doubly Stochastic Gradientscited by 36
  14. 2019Near-Optimal Methods for Minimizing Star-Convex Functions and Beyondcited by 36
  15. 2018Stochastic Quasi-Gradient Methods: Variance Reduction via Jacobian Sketchingcited by 34
  16. 2019Provable Smoothness Guarantees for Black-Box Variational Inferencecited by 29
  17. 2023Provable convergence guarantees for black-box variational inferencecited by 29
  18. 2022Explicit Regularization in Overparametrized Models via Noise Injectioncited by 25
  19. 2023On the Convergence of Black-Box Variational Inferencecited by 22
  20. 2019Provable Gradient Variance Guarantees for Black-Box Variational Inferencecited by 21
  21. 2023Tighter Lower Bounds for Shuffling SGD: Random Permutations and Beyondcited by 21
  22. 2021Random Shuffling Beats SGD Only After Many Epochs on Ill-Conditioned Problemscited by 16
  23. 2021Noisy Gradient Descent Converges to Flat Minima for Nonconvex Matrix Factorizationcited by 15
  24. 2019Estimate Sequences for Stochastic Composite Optimization: Variance Reduction, Acceleration, and Robustness to Noisecited by 9
  25. 2016Stochastic Optimization with Variance Reduction for Infinite Datasets with Finite-Sum Structurecited by 8
  26. 2017Accelerated Methods for α-Weakly-Quasi-Convex Problemscited by 7
  27. 2015Scale Up Nonlinear Component Analysis with Doubly Stochastic Gradientscited by 6
  28. 2018Lightweight Stochastic Optimization for Minimizing Finite Sums with Infinite Datacited by 2

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Dale meets Langevin: A Multiplicative Denoising Diffusion Model
  2. 2016Stein Variational Gradient Descent: A General Purpose Bayesian Inference Algorithm
  3. 2025Wasserstein Convergence of Score-based Generative Models under Semiconvexity and Discontinuous Gradients
  4. 2026Constrained Diffusion Models with Primal-Dual Inference
  5. 2024Implicit Diffusion: Efficient Optimization through Stochastic Sampling
  6. 2026A unified perspective on fine-tuning and sampling with diffusion and flow models
  7. 2024The Superposition of Diffusion Models Using the Ito Density Estimator
  8. 2024Instance-dependent Convergence Theory for Diffusion Models