arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.10077math.OCstat.ML
收藏

有限时期后的随机混洗节拍SGD

Random Shuffling Beats SGD after Finite Epochs

Jeff Z. HaoChen, Suvrit Sra

摘要:

随机梯度下降(SGD)理论中的一个长期存在的问题是证明其无替换版本RandomShuffle比通常的有替换版本更快地收敛。我们提出了第一个(据我们所知)这个问题的非渐近解决方案,这表明,经过“合理”的时期RandomShuffle确实比SGD收敛得更快。具体地,我们证明了在强凸性和二阶光滑性下,RandomShuffle产生的序列以O(1/T^2 + n^3/T^3)的速度收敛到最优解,其中n是目标中的分量数,T是迭代的总次数.这个结果表明,在合理数量的epoch之后,RandomShuffle严格优于SGD(其收敛为O(1/T))。要显示这种对T更好的依赖性,关键的一步是将n引入到界中;正如我们的分析所示,一般来说,对n的依赖性是不可避免的,而不需要进一步改变算法。我们证明了对于稀疏数据,RandomShuffle的速率为O(1/T^2),再次严格优于SGD。此外,我们讨论了非凸梯度控制函数的扩展,以及非强凸设置。

英文摘要:

A long-standing problem in the theory of stochastic gradient descent (SGD) is to prove that its without-replacement version RandomShuffle converges faster than the usual with-replacement version. We present the first (to our knowledge) non-asymptotic solution to this problem, which shows that after a "reasonable" number of epochs RandomShuffle indeed converges faster than SGD. Specifically, we prove that under strong convexity and second-order smoothness, the sequence generated by RandomShuffle converges to the optimal solution at the rate O(1/T^2 + n^3/T^3), where n is the number of components in the objective, and T is the total number of iterations. This result shows that after a reasonable number of epochs RandomShuffle is strictly better than SGD (which converges as O(1/T)). The key step toward showing this better dependence on T is the introduction of n into the bound; and as our analysis will show, in general a dependence on n is unavoidable without further changes to the algorithm. We show that for sparse data RandomShuffle has the rate O(1/T^2), again strictly better than SGD. Furthermore, we discuss extensions to nonconvex gradient dominated functions, as well as non-strongly convex settings.

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

↑