ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2406.00920
48
0

Demystifying SGD with Doubly Stochastic Gradients

3 June 2024
Kyurae Kim
Joohwan Ko
Yian Ma
Jacob R. Gardner
ArXivPDFHTML
Abstract

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×mb \times mb×m, where bbb is the minibatch size and mmm 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.

View on arXiv
@article{kim2025_2406.00920,
  title={ Demystifying SGD with Doubly Stochastic Gradients },
  author={ Kyurae Kim and Joohwan Ko and Yi-An Ma and Jacob R. Gardner },
  journal={arXiv preprint arXiv:2406.00920},
  year={ 2025 }
}
Comments on this paper