arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.07446cs.LG
收藏

随机梯度下降的有效序

Efficiency Ordering of Stochastic Gradient Descent

North Carolina State University(北卡罗来纳州立大学);IQVIA(艾昆纬)

Jie Hu, Vishwaraj Doshi, Do Young Eun

摘要:

我们认为随机梯度下降(SGD)算法驱动的一般随机序列,包括独立同分布噪声和随机游走的任意图,等等,并分析它的渐近意义。具体而言,我们采用的概念“效率排序”,一个良好的分析工具,用于比较性能的马尔可夫链蒙特卡罗(MCMC)采样器,SGD算法的Loewner排序的协方差矩阵的形式与缩放的误差在长期内。使用这种顺序,我们表明,更有效的MCMC采样的输入序列也导致较小的协方差的SGD算法的误差在极限。这也表明,当由更有效的链驱动时,SGD迭代在极限中的任意加权MSE变得更小。我们的发现在分散优化和群学习等应用中特别感兴趣,其中SGD在底层通信图上以随机游走的方式实现,以解决成本问题和/或数据隐私问题。我们演示了如何某些非马尔可夫过程,其中典型的混合时间为基础的非渐近界是棘手的,可以超越他们的马尔可夫同行的意义上的效率订购SGD。我们将其应用到梯度下降与洗牌和小批量梯度下降,重申现有文献的关键结果在一个统一的框架下,我们的方法的实用性。经验上,我们还观察到效率排序的SGD的变种,如加速SGD和亚当,打开扩展我们的概念的效率排序到更广泛的随机优化算法的可能性。

英文摘要:

We consider the stochastic gradient descent (SGD) algorithm driven by a general stochastic sequence, including i.i.d noise and random walk on an arbitrary graph, among others; and analyze it in the asymptotic sense. Specifically, we employ the notion of `efficiency ordering', a well-analyzed tool for comparing the performance of Markov Chain Monte Carlo (MCMC) samplers, for SGD algorithms in the form of Loewner ordering of covariance matrices associated with the scaled iterate errors in the long term. Using this ordering, we show that input sequences that are more efficient for MCMC sampling also lead to smaller covariance of the errors for SGD algorithms in the limit. This also suggests that an arbitrarily weighted MSE of SGD iterates in the limit becomes smaller when driven by more efficient chains. Our finding is of particular interest in applications such as decentralized optimization and swarm learning, where SGD is implemented in a random walk fashion on the underlying communication graph for cost issues and/or data privacy. We demonstrate how certain non-Markovian processes, for which typical mixing-time based non-asymptotic bounds are intractable, can outperform their Markovian counterparts in the sense of efficiency ordering for SGD. We show the utility of our method by applying it to gradient descent with shuffling and mini-batch gradient descent, reaffirming key results from existing literature under a unified framework. Empirically, we also observe efficiency ordering for variants of SGD such as accelerated SGD and Adam, open up the possibility of extending our notion of efficiency ordering to a broader family of stochastic optimization algorithms.

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

↑