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

一枚硬币的两面:未调优SGD的局限与自适应方法的力量

Two Sides of One Coin: the Limits of Untuned SGD and the Power of Adaptive Methods

Department of Computer Science, ETH Zurich(苏黎世联邦理工学院计算机科学系)

Junchi Yang, Xiang Li, Ilyas Fatkhullin, Niao He

AI总结:

本文证明了未调优SGD虽能达到阶数最优收敛率,但存在对平滑常数的不可避免指数依赖,而NSGD、AMSGrad和AdaGrad等自适应方法能避免此问题,从而提供理论优势证明。

摘要:

使用多项式衰减步长 $η_t = η/\sqrt{t}$ 的随机梯度下降(SGD)的经典分析依赖于根据问题参数(如 Lipschitz 平滑常数)进行良好调优的 $η$,而这在实践中通常是未知的。在本研究中,我们证明了具有任意 $η> 0$ 的 SGD(称为未调优 SGD)在最小化平滑目标时,在梯度范数方面仍然达到了阶数最优的收敛速率 $\widetilde{O}(T^{-1/4})$。不幸的是,这是以对平滑常数的灾难性指数依赖为代价的,我们表明即使在没有噪声的设置中,这种依赖对于该方案也是不可避免的。然后,我们考察了三族自适应方法——Normalized SGD (NSGD)、AMSGrad 和 AdaGrad——揭示了它们在缺乏关于平滑参数和随机梯度有界性的信息时,在防止这种指数依赖性方面的力量。我们的结果为自适应方法在缓解大梯度问题上优于未调优 SGD 的优势提供了理论证明。

英文摘要:

The classical analysis of Stochastic Gradient Descent (SGD) with polynomially decaying stepsize $η_t = η/\sqrt{t}$ relies on well-tuned $η$ depending on problem parameters such as Lipschitz smoothness constant, which is often unknown in practice. In this work, we prove that SGD with arbitrary $η> 0$, referred to as untuned SGD, still attains an order-optimal convergence rate $\widetilde{O}(T^{-1/4})$ in terms of gradient norm for minimizing smooth objectives. Unfortunately, it comes at the expense of a catastrophic exponential dependence on the smoothness constant, which we show is unavoidable for this scheme even in the noiseless setting. We then examine three families of adaptive methods $\unicode{x2013}$ Normalized SGD (NSGD), AMSGrad, and AdaGrad $\unicode{x2013}$ unveiling their power in preventing such exponential dependency in the absence of information about the smoothness parameter and boundedness of stochastic gradients. Our results provide theoretical justification for the advantage of adaptive methods over untuned SGD in alleviating the issue with large gradients.

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

↑