随机洗牌:简单的分析与巨大的改进
Random Reshuffling: Simple Analysis with Vast Improvements
摘要:
随机重排(RR)是一种用于最小化有限和函数的算法,该算法利用迭代梯度下降步骤结合数据重排。经常与它的兄弟随机梯度下降(SGD)相比,RR通常在实践中更快,并且在凸和非凸优化中非常受欢迎。RR的收敛速度最近引起了人们的广泛关注,对于强凸和光滑函数,如果1)步长小,2)梯度有界,3)epoch数大,则RR比SGD收敛得更快。我们去掉了这3个假设,将对条件数的依赖性从$κ^2$提高到$κ$(分别为)。从$κ$到$\sqrtκ$),此外,还表明RR具有不同类型的方差。我们认为,通过理论和实验,新的方差类型提供了一个额外的理由RR的优越性能。为了超越强凸性,我们针对非强凸和非凸目标提出了几个结果。我们表明,在所有情况下,我们的理论改进现有的文献。最后,我们证明了快速收敛的洗牌一次(SO)算法,洗牌的数据只有一次,在优化过程的开始。我们的强凸目标理论紧密匹配已知的下界的RR和SO和充实的洗牌一次或只有几次常见的实用启发式。作为分析的副产品,我们还获得了增量梯度算法(IG)的新结果,该算法根本不会对数据进行混洗。
英文摘要:
Random Reshuffling (RR) is an algorithm for minimizing finite-sum functions that utilizes iterative gradient descent steps in conjunction with data reshuffling. Often contrasted with its sibling Stochastic Gradient Descent (SGD), RR is usually faster in practice and enjoys significant popularity in convex and non-convex optimization. The convergence rate of RR has attracted substantial attention recently and, for strongly convex and smooth functions, it was shown to converge faster than SGD if 1) the stepsize is small, 2) the gradients are bounded, and 3) the number of epochs is large. We remove these 3 assumptions, improve the dependence on the condition number from $κ^2$ to $κ$ (resp. from $κ$ to $\sqrtκ$) and, in addition, show that RR has a different type of variance. We argue through theory and experiments that the new variance type gives an additional justification of the superior performance of RR. To go beyond strong convexity, we present several results for non-strongly convex and non-convex objectives. We show that in all cases, our theory improves upon existing literature. Finally, we prove fast convergence of the Shuffle-Once (SO) algorithm, which shuffles the data only once, at the beginning of the optimization process. Our theory for strongly-convex objectives tightly matches the known lower bounds for both RR and SO and substantiates the common practical heuristic of shuffling once or only a few times. As a byproduct of our analysis, we also get new results for the Incremental Gradient algorithm (IG), which does not shuffle the data at all.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。