arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1710.07783cs.LGcs.AIstat.ML
收藏

一种新的随机分层平均梯度法:收敛速度及其复杂性

A Novel Stochastic Stratified Average Gradient Method: Convergence Rate and Its Complexity

Guangdong University of Finance & Economics(广东财经大学);Wayne State University(韦恩州立大学)

Aixiang Chen, Bingchuan Chen, Xiaolong Chai, Rui Bian, Hengguang Li

摘要:

SGD(随机梯度下降)算法是求解大规模优化问题的一种常用算法。然而,由于SGD算法固有的梯度方差,SGD算法不能像FGD(Full梯度下降)算法那样获得线性收敛速度。为了解决这一问题,提出了小批量SGD算法,以在收敛速度和迭代代价方面取得折衷。本文给出了一个广义的CVI(Convergence-Variance Inequality)方程,形式化地描述了收敛速度与梯度方差的相互作用。然后引入了一种新的算法SSAG(随机分层平均梯度)来减少梯度方差,该算法基于分层采样和迭代平均两种技术,这是SAG(随机平均梯度)的关键思想。此外,SSAG算法能以较小的存储和迭代代价获得$\mathcal {O}((1-\fracμ{8CL})^k)$的线性收敛速度,其中$C\geq 2$为训练数据的类别数.这种收敛速度主要取决于类之间的方差,而不是类内的方差。在$C\ll N$($N$是训练数据大小)的情况下,SSAG的收敛速度远远优于SAG的$\mathcal {O}((1-\fracμ{8NL})^k)$的收敛速度。实验结果表明,SSAG算法的性能优于SAG算法和许多其他算法。

英文摘要:

SGD (Stochastic Gradient Descent) is a popular algorithm for large scale optimization problems due to its low iterative cost. However, SGD can not achieve linear convergence rate as FGD (Full Gradient Descent) because of the inherent gradient variance. To attack the problem, mini-batch SGD was proposed to get a trade-off in terms of convergence rate and iteration cost. In this paper, a general CVI (Convergence-Variance Inequality) equation is presented to state formally the interaction of convergence rate and gradient variance. Then a novel algorithm named SSAG (Stochastic Stratified Average Gradient) is introduced to reduce gradient variance based on two techniques, stratified sampling and averaging over iterations that is a key idea in SAG (Stochastic Average Gradient). Furthermore, SSAG can achieve linear convergence rate of $\mathcal {O}((1-\fracμ{8CL})^k)$ at smaller storage and iterative costs, where $C\geq 2$ is the category number of training data. This convergence rate depends mainly on the variance between classes, but not on the variance within the classes. In the case of $C\ll N$ ($N$ is the training data size), SSAG's convergence rate is much better than SAG's convergence rate of $\mathcal {O}((1-\fracμ{8NL})^k)$. Our experimental results show SSAG outperforms SAG and many other algorithms.

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

↑