重新审视随机权重扰动以高效提升泛化能力
Revisiting Random Weight Perturbation for Efficiently Improving Generalization
AI总结:
本文重新审视随机权重扰动(RWP),从泛化与收敛权衡及扰动生成两方面改进RWP,在大规模问题上以更高效率取得与SAM相当或更优的泛化性能。
摘要:
提升现代深度神经网络(DNNs)的泛化能力是机器学习中的一项根本性挑战。已有两类方法被提出以寻找平坦极小值并改善泛化:一类以锐度感知最小化(SAM)为代表,通过对抗性权重扰动(AWP)最小化最坏情况下的邻域损失;另一类则通过随机权重扰动(RWP)最小化期望贝叶斯目标。尽管RWP在计算上具有优势,并且在数学基础上与AWP密切相关,但其经验性能一直落后于AWP。在本文中,我们重新审视RWP在提升泛化能力中的应用,并从两个角度提出改进:i)泛化与收敛之间的权衡,以及ii)随机扰动的生成方式。通过广泛的实验评估,我们证明所提出的增强型RWP方法在提升泛化方面具有更高效率,尤其是在大规模问题中,同时还能取得与SAM相当甚至更优的性能。代码已发布于 https://github.com/nblt/mARWP。
英文摘要:
Improving the generalization ability of modern deep neural networks (DNNs) is a fundamental challenge in machine learning. Two branches of methods have been proposed to seek flat minima and improve generalization: one led by sharpness-aware minimization (SAM) minimizes the worst-case neighborhood loss through adversarial weight perturbation (AWP), and the other minimizes the expected Bayes objective with random weight perturbation (RWP). While RWP offers advantages in computation and is closely linked to AWP on a mathematical basis, its empirical performance has consistently lagged behind that of AWP. In this paper, we revisit the use of RWP for improving generalization and propose improvements from two perspectives: i) the trade-off between generalization and convergence and ii) the random perturbation generation. Through extensive experimental evaluations, we demonstrate that our enhanced RWP methods achieve greater efficiency in enhancing generalization, particularly in large-scale problems, while also offering comparable or even superior performance to SAM. The code is released at https://github.com/nblt/mARWP.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。