arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.11992cs.LGstat.ML
收藏

权空间中的共振:协变量偏移能驱动SGD的动量发散

Resonance in Weight Space: Covariate Shift Can Drive Divergence of SGD with Momentum

University of Alberta(阿尔伯塔大学)

Kirby Banman, Liam Peet-Pare, Nidhi Hegde, Alona Fyshe, Martha White

摘要:

带动量的随机梯度下降(SGDm)的大多数收敛保证依赖于iid采样。然而,SGDm通常在此机制之外使用,在具有时间相关输入样本的设置中,例如持续学习和强化学习。已有的工作表明,具有衰减步长的SGDm可以在马尔可夫时间相关性下收敛。在这项工作中,我们表明,SGDm下协变量偏移与固定的步长可以是不稳定的和发散。特别是,我们显示SGDm下协变量偏移是一个参数振荡器,因此可以遭受称为共振的现象。我们近似的学习系统作为一个时变系统的常微分方程,并利用现有的理论来表征系统的发散/收敛的共振/非共振模式。理论结果仅限于具有周期性协变量偏移的线性设置,因此我们根据经验补充了该结果,以表明即使在非周期性协变量偏移、具有神经网络的非线性动力学和SGDm以外的优化器下,共振现象也会持续存在。

英文摘要:

Most convergence guarantees for stochastic gradient descent with momentum (SGDm) rely on iid sampling. Yet, SGDm is often used outside this regime, in settings with temporally correlated input samples such as continual learning and reinforcement learning. Existing work has shown that SGDm with a decaying step-size can converge under Markovian temporal correlation. In this work, we show that SGDm under covariate shift with a fixed step-size can be unstable and diverge. In particular, we show SGDm under covariate shift is a parametric oscillator, and so can suffer from a phenomenon known as resonance. We approximate the learning system as a time varying system of ordinary differential equations, and leverage existing theory to characterize the system's divergence/convergence as resonant/nonresonant modes. The theoretical result is limited to the linear setting with periodic covariate shift, so we empirically supplement this result to show that resonance phenomena persist even under non-periodic covariate shift, nonlinear dynamics with neural networks, and optimizers other than SGDm.

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

↑