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

通过一种简单的重归一化策略稳定锐度感知最小化

Stabilizing Sharpness-aware Minimization Through A Simple Renormalization Strategy

School of Mathematics and Statistics(数学与统计学院);Xi’an Jiaotong University(西安交通大学);Centrum Wiskunde & Informatica(国家数学和计算机科学研究院( Centrum Wiskunde & Informatica))

Chengli Tan, Jiangshe Zhang, Junmin Liu, Yicheng Wang, Yunda Hao

AI总结:

针对 SAM 易陷入鞍点且有效学习率区间有限的问题,本文提出轻量重归一化方法 SSAM,扩展有效学习率区间并在多个数据集和任务上稳定提升性能。

摘要:

近年来,锐度感知最小化(SAM)因其在提升泛化性能方面的惊人效果而备受关注。然而,与随机梯度下降(SGD)相比,它更容易陷入鞍点,从而可能导致性能下降。为解决这一问题,我们提出了一种简单的重归一化策略,称为 Stable SAM(SSAM),使下降步骤的梯度范数与上升步骤保持一致。该策略易于实现,并且足够灵活,能够与 SAM 及其变体集成,且几乎不产生额外计算成本。借助凸优化和学习理论中的基础工具,我们还对锐度感知训练进行了理论分析,揭示出与 SGD 相比,SAM 的有效性仅在有限的学习率区间内得到保证。相比之下,我们展示了 SSAM 如何扩展这一学习率区间,并通过这一微小修改持续优于 SAM。最后,我们在多个具有代表性的数据集和任务上证明了 SSAM 的性能提升。

英文摘要:

Recently, sharpness-aware minimization (SAM) has attracted much attention because of its surprising effectiveness in improving generalization performance. However, compared to stochastic gradient descent (SGD), it is more prone to getting stuck at the saddle points, which as a result may lead to performance degradation. To address this issue, we propose a simple renormalization strategy, dubbed Stable SAM (SSAM), so that the gradient norm of the descent step maintains the same as that of the ascent step. Our strategy is easy to implement and flexible enough to integrate with SAM and its variants, almost at no computational cost. With elementary tools from convex optimization and learning theory, we also conduct a theoretical analysis of sharpness-aware training, revealing that compared to SGD, the effectiveness of SAM is only assured in a limited regime of learning rate. In contrast, we show how SSAM extends this regime of learning rate and then it can consistently perform better than SAM with the minor modification. Finally, we demonstrate the improved performance of SSAM on several representative data sets and tasks.

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

↑