arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.00574cs.LG
收藏

超越深度学习的单模型视角:随机优化算法的优化与泛化能力对比

Beyond Single-Model Views for Deep Learning: Optimization versus Generalizability of Stochastic Optimization Algorithms

George Mason University(乔治梅森大学)

Toki Tahmid Inan, Mingrui Liu, Amarda Shehu

AI总结:

本文提出基于多条优化轨迹估计平稳分布的统计基准方法,系统比较 SGD、平坦极小值优化器及新型 Basin Hopping 算法,揭示优化与泛化关系,并以半数梯度评估达到与 SAM 相当的性能。

摘要:

尽管关于深度学习优化已有大量文献,但我们目前对于是什么使优化算法有效这一问题的理解仍然碎片化。特别是,我们并不清楚增强的优化是否会转化为更好的泛化能力。当前研究忽视了随机梯度下降(SGD)及其变体固有的随机性质,导致缺乏全面的基准测试以及对其统计性能的深入认识。本文旨在通过采用一种新颖方法来弥补这一空白。我们并非仅评估单条优化轨迹的终点,而是从一组轨迹构成的集合中抽样,以估计随机优化器的平稳分布。我们的研究涵盖广泛技术,包括 SGD 及其变体、平坦极小值优化器,以及我们在 Basin Hopping(BH)框架下提出的新算法。我们的评估包括具有已知极小值的合成函数,以及计算机视觉和自然语言处理中的现实问题;在此过程中,我们强调在统计框架下进行公平基准测试,比较平稳分布并建立统计显著性。本研究揭示了若干关于训练损失与留出准确率之间关系的关键发现,同时考察了 SGD、启用噪声的变体以及利用 BH 框架的新型优化器之间相当的性能。值得注意的是,这些算法表现出与 SAM 等平坦极小值优化器相当的性能,而梯度评估次数仅为其一半。我们预计本工作将推动深度学习优化领域的进一步探索,促使研究从单模型方法转向承认并利用优化器随机性质的方法论。

英文摘要:

Despite an extensive body of literature on deep learning optimization, our current understanding of what makes an optimization algorithm effective is fragmented. In particular, we do not understand well whether enhanced optimization translates to improved generalizability. Current research overlooks the inherent stochastic nature of stochastic gradient descent (SGD) and its variants, resulting in a lack of comprehensive benchmarking and insight into their statistical performance. This paper aims to address this gap by adopting a novel approach. Rather than solely evaluating the endpoint of individual optimization trajectories, we draw from an ensemble of trajectories to estimate the stationary distribution of stochastic optimizers. Our investigation encompasses a wide array of techniques, including SGD and its variants, flat-minima optimizers, and new algorithms we propose under the Basin Hopping framework. Through our evaluation, which encompasses synthetic functions with known minima and real-world problems in computer vision and natural language processing, we emphasize fair benchmarking under a statistical framework, comparing stationary distributions and establishing statistical significance. Our study uncovers several key findings regarding the relationship between training loss and hold-out accuracy, as well as the comparable performance of SGD, noise-enabled variants, and novel optimizers utilizing the BH framework. Notably, these algorithms demonstrate performance on par with flat-minima optimizers like SAM, albeit with half the gradient evaluations. We anticipate that our work will catalyze further exploration in deep learning optimization, encouraging a shift away from single-model approaches towards methodologies that acknowledge and leverage the stochastic nature of optimizers.

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

↑