arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.06308cs.LGcs.AI
收藏

锐度感知最小化的稳定性分析

Stability Analysis of Sharpness-Aware Minimization

Chung-Ang University, South Korea(Chung-Ang 大学,韩国);Korea Institute for Advanced Study, South Korea(韩国高级研究院);Ulsan National Institute of Science(乌山国家科学研究院);Nanyang Technological University (NTU), Singapore(南洋理工大学(NTU),新加坡);Seoul National University, South Korea(首尔国立大学,韩国)

Hoki Kim, Jinseong Park, Yujin Choi, Jaewook Lee

AI总结:

研究SAM在鞍点附近的收敛不稳定性,通过动力系统理论证明鞍点成为吸引子,并发现动量与批次大小可缓解该问题。

摘要:

锐度感知最小化(SAM)是一种训练方法,旨在寻找深度学习中的平坦最小值,从而在各个领域取得最先进的性能。SAM不是最小化当前权重的损失,而是最小化参数空间中其邻域内的最坏情况损失。在本文中,我们研究了SAM在鞍点附近的收敛不稳定性。利用动力系统的定性理论,我们解释了SAM如何陷入鞍点,并从理论上证明了在SAM动力学下鞍点可以成为吸引子。此外,通过建立SAM的扩散,我们证明了这种收敛不稳定性也可能发生在随机动力系统中。我们证明,在逃离鞍点方面,SAM扩散比普通梯度下降更差。最后,我们展示了经常被忽视的训练技巧——动量和批次大小——可能对缓解收敛不稳定性和实现高泛化性能很重要。我们的理论和实证结果通过几个著名的优化问题和基准任务的实验得到了充分验证。

英文摘要:

Sharpness-aware minimization (SAM) is a training method that seeks to find flat minima in deep learning, resulting in state-of-the-art performance across various domains. Instead of minimizing the loss of the current weights, SAM minimizes the worst-case loss in its neighborhood in the parameter space. In this paper, we investigate the convergence instability of SAM near a saddle point. Using the qualitative theory of dynamical systems, we explain how SAM becomes stuck in the saddle point and theoretically prove that the saddle point can become an attractor under SAM dynamics. Additionally, we show that this convergence instability can also occur in stochastic dynamical systems by establishing the diffusion of SAM. We prove that SAM diffusion is worse than that of vanilla gradient descent in terms of saddle point escape. Finally, we demonstrate that often overlooked training tricks, momentum and batch-size, might be important to mitigate the convergence instability and achieve high generalization performance. Our theoretical and empirical results are thoroughly verified through experiments on several well-known optimization problems and benchmark tasks.

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

↑