arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.24399cs.LG
收藏

LightSAM:参数无关的锐度感知最小化

LightSAM: Parameter-Agnostic Sharpness-Aware Minimization

School of Cyber Science and Technology, Sun Yat-sen University, Shenzhen Campus(网络安全科学与技术学院,中山大学深圳校区);School of Computer Science, University of Science and Technology of China(计算机科学学院,中国科学技术大学);Hong Kong University of Science and Technology(香港科技大学)

Yifei Cheng, Li Shen, Hao Sun, Nan Yin, Xiaochun Cao, Enhong Chen

AI总结:

本文提出LightSAM算法,通过采用AdaGrad-Norm、AdaGrad和Adam替代SGD进行自适应权重扰动与模型更新,消除了SAM对扰动半径和学习率的敏感性,实现了参数无关的理想收敛。

摘要:

锐度感知最小化(SAM)优化器通过权重扰动探索平坦极小值景观,从而增强机器学习模型的泛化能力。尽管在经验上取得了成功,但SAM引入了额外的超参数,即扰动半径,导致SAM对其具有敏感性。此外,已证明SAM的扰动半径和学习率受问题相关参数约束以保证收敛。这些局限性表明在实际应用中需要进行参数调优。在本文中,我们提出了LightSAM算法,该算法自适应地设置SAM的扰动半径和学习率,从而扩展了SAM的应用范围。LightSAM采用三种流行的自适应优化器,包括AdaGrad-Norm、AdaGrad和Adam,来替代SGD优化器进行权重扰动和模型更新,降低了对参数的敏感性。理论结果表明,在弱假设下,LightSAM可以在任意扰动半径和学习率选择下理想收敛,从而实现参数无关。我们在几个深度学习任务上进行了初步实验,这些实验与理论发现共同验证了LightSAM的有效性。

英文摘要:

Sharpness-Aware Minimization (SAM) optimizer enhances the generalization ability of the machine learning model by exploring the flat minima landscape through weight perturbations. Despite its empirical success, SAM introduces an additional hyper-parameter, the perturbation radius, which causes the sensitivity of SAM to it. Moreover, it has been proved that the perturbation radius and learning rate of SAM are constrained by problem-dependent parameters to guarantee convergence. These limitations indicate the requirement of parameter-tuning in practical applications. In this paper, we propose the algorithm LightSAM which sets the perturbation radius and learning rate of SAM adaptively, thus extending the application scope of SAM. LightSAM employs three popular adaptive optimizers, including AdaGrad-Norm, AdaGrad and Adam, to replace the SGD optimizer for weight perturbation and model updating, reducing sensitivity to parameters. Theoretical results show that under weak assumptions, LightSAM could converge ideally with any choices of perturbation radius and learning rate, thus achieving parameter-agnostic. We conduct preliminary experiments on several deep learning tasks, which together with the theoretical findings validate the the effectiveness of LightSAM.

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

↑