Lune

ICML2024顶会

Demystifying SGD with Doubly Stochastic Gradients

Kyurae Kim, Joohwan Ko, Yian Ma, Jacob R. Gardner

摘要

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 × , where is the minibatch size and 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. ef f Effective sample size of Eq. ( 5 ) ( ) Unbiased stochastic estimator of ∇ Eq. ( 7 ) ( ; ) Integrand of estimator ( ) Eq. ( 7 ) ( ) Doubly stochastic estimator of ∇ Eq. ( 8 ) ℒ sub ER constant (Definition 1) of Assu. ℒ ER constant (Definition 1) of Assu. 2 BV constant (Definition 2) of Assu. 2 BV constant (Definition 2) of Assu. Stochastic Gradient Descent on Finite-Sums Stochastic gradient descent (SGD) is an optimization algorithm that repeats the steps where, Π is a projection operator onto , ( ) =0 is some stepsize schedule, ( ) is an unbiased estimate of ∇ ( ).

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • LLaDA 1.5: Variance-Reduced Preference Optimization for Large Language Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
  • Random Reshuffling: Simple Analysis with Vast Improvements 引用了 SGD with shuffling: optimal rates without component convexity and large epoch requirements
  • SGD with shuffling: optimal rates without component convexity and large epoch requirements 引用了 Random Reshuffling: Simple Analysis with Vast Improvements
  • Provable convergence guarantees for black-box variational inference 引用了 Provable Smoothness Guarantees for Black-Box Variational Inference
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. LLaDA 1.5: Variance-Reduced Preference Optimization for Large Language Diffusion ModelsFengqi Zhu, Rongzhen Wang, Shen Nie, Xiaolu Zhang 等ACL 2026 · 229 次引用

它引用的 Paper8

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
  2. Random Reshuffling: Simple Analysis with Vast ImprovementsKonstantin Mishchenko, Ahmed Khaled, Peter RichtárikNeurIPS 2020 · 172 次引用
  3. SGD with shuffling: optimal rates without component convexity and large epoch requirementsKwangjun Ahn, Chulhee Yun, Suvrit SraNeurIPS 2020 · 83 次引用
  4. Provable Smoothness Guarantees for Black-Box Variational InferenceJustin DomkeICML 2020 · 41 次引用
  5. Provable convergence guarantees for black-box variational inferenceJustin Domke, Robert M. Gower, Guillaume GarrigosNeurIPS 2023 · 35 次引用

相关 Paper

  1. An Improved Analysis and Rates for Variance Reduction under Without-replacement Sampling OrdersXinmeng Huang, Kun Yuan, Xianghui Mao, Wotao YinNeurIPS 2021 · 1 次引用
  2. Proximal and Federated Random ReshufflingKonstantin Mishchenko, Ahmed Khaled, Peter RichtárikICML 2022 · 39 次引用
  3. Tighter Lower Bounds for Shuffling SGD: Random Permutations and BeyondJaeyoung Cha, Jaewook Lee, Chulhee YunICML 2023 · 26 次引用
  4. SGDA with shuffling: faster convergence for nonconvex-PŁ minimax optimizationHanseul Cho, Chulhee YunICLR 2023
  5. Parameter-space ReSTIR for Differentiable and Inverse RenderingWesley Chang, Venkataram Sivaram, Derek Nowrouzezahrai, Toshiya Hachisuka 等SIGGRAPH 2023 · 20 次引用
黄昏的海面,两侧是细线勾勒的悬崖