arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.00632math.OCcs.LGstat.ML
收藏

基于功率谱密度分析的洗牌随机梯度算法方差计算

Computing the Variance of Shuffling Stochastic Gradient Algorithms via Power Spectral Density Analysis

Courant Institute of Mathematical Sciences, New York University(纽约大学库朗数学科学研究所)

Carles Domingo-Enrich

摘要:

在解决有限和最小化问题时,随机梯度下降(SGD)的两个常见替代方案具有理论上的优势,即随机重排(SGD-RR)和洗牌一次(SGD-SO),其中函数在循环中采样而不替换。在实验上成立的方便的随机噪声近似下,我们研究了SGD、SGD-RR和SGD-SO迭代的平稳方差,其首项按此顺序减少,并获得了简单的近似。为了得到我们的结果,我们研究了随机梯度噪声序列的功率谱密度。我们的分析扩展到SGD与动量和随机Nesterov的加速梯度法的SGD。我们在二次目标函数上进行实验,以检验我们的近似的有效性和我们的发现的正确性。

英文摘要:

When solving finite-sum minimization problems, two common alternatives to stochastic gradient descent (SGD) with theoretical benefits are random reshuffling (SGD-RR) and shuffle-once (SGD-SO), in which functions are sampled in cycles without replacement. Under a convenient stochastic noise approximation which holds experimentally, we study the stationary variances of the iterates of SGD, SGD-RR and SGD-SO, whose leading terms decrease in this order, and obtain simple approximations. To obtain our results, we study the power spectral density of the stochastic gradient noise sequences. Our analysis extends beyond SGD to SGD with momentum and to the stochastic Nesterov's accelerated gradient method. We perform experiments on quadratic objective functions to test the validity of our approximation and the correctness of our findings.

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

↑