arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.05264cs.LGmath.OC
收藏

AdaBatchGrad:结合自适应批大小与自适应步长

AdaBatchGrad: Combining Adaptive Batch Size and Adaptive Step Size

Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Moscow Institute of Physics and Technology(莫斯科物理技术学院);Institute for Information Transmission Problems RAS(俄罗斯科学院信息传输问题研究所);Innopolis University(因诺波利斯大学);Skoltech(斯科尔科沃科学技术研究院)

Petr Ostroukhov, Aigerim Zhumabayeva, Chulu Xiang, Alexander Gasnikov, Martin Takáč, Dmitry Kamzolov

AI总结:

提出AdaBatchGrad,一种结合自适应批大小与自适应步长的SGD变体,以增强收敛鲁棒性和稳定性,在精确与不精确测试下均达到理论收敛,并实验验证其优于现有方法。

摘要:

本文提出了一种新颖的随机梯度下降(SGD)自适应变体,称为AdaBatchGrad。该修改无缝地集成了自适应步长与可调节的批大小。增大批大小和减小步长是已知的收紧SGD收敛区域并降低其方差的技术。R. Byrd和J. Nocedal的一系列研究引入了多种测试技术,用于评估小批量梯度近似的质量,并在每一步选择合适的批大小。使用精确测试的方法被观察到在$O(LR^2/\varepsilon)$次迭代内收敛。相反,不精确测试的实现有时会导致不收敛和性能不稳定。为解决这些挑战,AdaBatchGrad同时采用了自适应批大小和步长,增强了方法的鲁棒性和稳定性。对于精确测试,我们的方法在$O(LR^2/\varepsilon)$次迭代内收敛,类似于标准梯度下降。对于不精确测试,它在$O(\max\lbrace LR^2/\varepsilon, \sigma^2 R^2/\varepsilon^2 \rbrace)$次迭代内实现收敛。这使得AdaBatchGrad相对于现有方法显著更加鲁棒和计算高效。为证实我们方法的有效性,我们通过实验展示了自适应步长和自适应批大小的引入如何逐步提升常规SGD的性能。结果表明,AdaBatchGrad超越了其他方法,尤其是在应用于不精确测试时。

英文摘要:

This paper presents a novel adaptation of the Stochastic Gradient Descent (SGD), termed AdaBatchGrad. This modification seamlessly integrates an adaptive step size with an adjustable batch size. An increase in batch size and a decrease in step size are well-known techniques to tighten the area of convergence of SGD and decrease its variance. A range of studies by R. Byrd and J. Nocedal introduced various testing techniques to assess the quality of mini-batch gradient approximations and choose the appropriate batch sizes at every step. Methods that utilized exact tests were observed to converge within $O(LR^2/\varepsilon)$ iterations. Conversely, inexact test implementations sometimes resulted in non-convergence and erratic performance. To address these challenges, AdaBatchGrad incorporates both adaptive batch and step sizes, enhancing the method's robustness and stability. For exact tests, our approach converges in $O(LR^2/\varepsilon)$ iterations, analogous to standard gradient descent. For inexact tests, it achieves convergence in $O(\max\lbrace LR^2/\varepsilon, σ^2 R^2/\varepsilon^2 \rbrace )$ iterations. This makes AdaBatchGrad markedly more robust and computationally efficient relative to prevailing methods. To substantiate the efficacy of our method, we experimentally show, how the introduction of adaptive step size and adaptive batch size gradually improves the performance of regular SGD. The results imply that AdaBatchGrad surpasses alternative methods, especially when applied to inexact tests.

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

↑