arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1312.1666stat.MLcs.LGcs.NAmath.NAmath.OC
收藏

半随机梯度下降法

Semi-Stochastic Gradient Descent Methods

University of Edinburgh(爱丁堡大学)

Jakub Konečný, Peter Richtárik

摘要:

本文研究了光滑凸损失函数的最小平均数问题($n$)。我们提出了一种新的方法,S2 GD(半随机梯度下降),它运行一个或几个时代,在每个时代中的一个单一的全梯度和随机数的随机梯度计算,遵循几何规律。该方法输出$\varepsilon$ -预期精确解所需的总工作是$O((κ/n)\log(1/\varepsilon))$,其中$κ$是条件数,该总工作是以数据上的通过次数或等效地以等效于损失的单个梯度的计算的单位来测量的。这是通过在$O(\log(1/\varepsilon))$时期运行该方法来实现的,在每个时期中具有单个梯度评估和$O(κ)$随机梯度评估。Johnson和Zhang的SVRG方法是一个特例。如果我们的方法仅限于单个时期,则它最多需要评估$O((κ/\varepsilon)\log(1/\varepsilon))$随机梯度。相反,SVRG需要$O(κ/\varepsilon^2)$随机梯度。为了说明我们的理论结果,S2 GD只需要相当于大约2.1个完整梯度评估的工作量,就可以为具有$n=10^9$和$κ=10^3$的问题找到$10^{-6}$精确的解决方案。

英文摘要:

In this paper we study the problem of minimizing the average of a large number ($n$) of smooth convex loss functions. We propose a new method, S2GD (Semi-Stochastic Gradient Descent), which runs for one or several epochs in each of which a single full gradient and a random number of stochastic gradients is computed, following a geometric law. The total work needed for the method to output an $\varepsilon$-accurate solution in expectation, measured in the number of passes over data, or equivalently, in units equivalent to the computation of a single gradient of the loss, is $O((κ/n)\log(1/\varepsilon))$, where $κ$ is the condition number. This is achieved by running the method for $O(\log(1/\varepsilon))$ epochs, with a single gradient evaluation and $O(κ)$ stochastic gradient evaluations in each. The SVRG method of Johnson and Zhang arises as a special case. If our method is limited to a single epoch only, it needs to evaluate at most $O((κ/\varepsilon)\log(1/\varepsilon))$ stochastic gradients. In contrast, SVRG requires $O(κ/\varepsilon^2)$ stochastic gradients. To illustrate our theoretical results, S2GD only needs the workload equivalent to about 2.1 full gradient evaluations to find an $10^{-6}$-accurate solution for a problem with $n=10^9$ and $κ=10^3$.

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

↑