arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.10342cs.LGmath.OCstat.ML
收藏

带混洗的Minibatch与Local SGD:紧收敛界及更远

Minibatch vs Local SGD with Shuffling: Tight Convergence Bounds and Beyond

KAIST(韩国科学技术院);MIT(麻省理工学院)

Chulhee Yun, Shashank Rajput, Suvrit Sra

摘要:

在分布式学习中,局部SGD(也称为联邦平均)及其简单的基线小批量SGD是广泛研究的优化方法。这些方法的大多数现有的分析假设独立和无偏的梯度估计通过与替换抽样。相比之下,我们研究了基于洗牌的变体:minibatch和local Random Reshuffling,它们在没有替换的情况下绘制随机梯度,因此更接近实践。对于光滑函数满足Polyak-Jesojasiewicz条件,我们得到的收敛界(在大时代制度),这表明这些洗牌为基础的变种收敛速度比他们的替换同行。此外,我们证明了匹配下界表明我们的收敛性分析是紧的。最后,我们提出了一种算法修改称为同步洗牌,导致收敛速度快于我们的下限在近均匀设置。

英文摘要:

In distributed learning, local SGD (also known as federated averaging) and its simple baseline minibatch SGD are widely studied optimization methods. Most existing analyses of these methods assume independent and unbiased gradient estimates obtained via with-replacement sampling. In contrast, we study shuffling-based variants: minibatch and local Random Reshuffling, which draw stochastic gradients without replacement and are thus closer to practice. For smooth functions satisfying the Polyak-Łojasiewicz condition, we obtain convergence bounds (in the large epoch regime) which show that these shuffling-based variants converge faster than their with-replacement counterparts. Moreover, we prove matching lower bounds showing that our convergence analysis is tight. Finally, we propose an algorithmic modification called synchronized shuffling that leads to convergence rates faster than our lower bounds in near-homogeneous settings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑