arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.20439cs.LG
收藏

Sharpness-Aware Minimization 通过均衡学习增强特征质量

Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learning

Carnegie Mellon University(卡内基梅隆大学);Google Research(谷歌研究院)

Jacob Mitchell Springer, Vaishnavh Nagarajan, Aditi Raghunathan

AI总结:

本文发现 SAM 优化器通过自适应抑制已充分学习的特征来隐式均衡多样特征质量,从而克服 SGD 的简单性偏差,在包含冗余或虚假特征的数据集中显著提升特征质量与分布外泛化能力。

摘要:

Sharpness-Aware Minimization (SAM) 已成为一种有前景的随机梯度下降 (SGD) 替代优化器。SAM 最初提出的动机是使神经网络偏向于被认为泛化能力更好的更平坦的极小值。然而,最近的研究显示了关于平坦性与泛化之间关系的矛盾证据,表明平坦性并不能完全解释 SAM 的成功。避开这一争论,我们发现了 SAM 的一个在分布外有益的正交效应:我们认为 SAM 隐式地均衡了多样特征的质量。SAM 通过自适应地抑制已充分学习的特征来实现这一效应,从而给剩余特征提供被学习的机会。我们证明,在包含冗余或虚假特征的数据集中,这一机制是有益的,因为 SGD 会陷入简单性偏差,否则将无法学习所有可用特征。我们的见解得到了真实数据实验的支持:我们证明 SAM 提高了包含冗余或虚假特征的数据集中的特征质量,包括 CelebA、Waterbirds、CIFAR-MNIST 和 DomainBed。

英文摘要:

Sharpness-Aware Minimization (SAM) has emerged as a promising alternative optimizer to stochastic gradient descent (SGD). The originally-proposed motivation behind SAM was to bias neural networks towards flatter minima that are believed to generalize better. However, recent studies have shown conflicting evidence on the relationship between flatness and generalization, suggesting that flatness does fully explain SAM's success. Sidestepping this debate, we identify an orthogonal effect of SAM that is beneficial out-of-distribution: we argue that SAM implicitly balances the quality of diverse features. SAM achieves this effect by adaptively suppressing well-learned features which gives remaining features opportunity to be learned. We show that this mechanism is beneficial in datasets that contain redundant or spurious features where SGD falls for the simplicity bias and would not otherwise learn all available features. Our insights are supported by experiments on real data: we demonstrate that SAM improves the quality of features in datasets containing redundant or spurious features, including CelebA, Waterbirds, CIFAR-MNIST, and DomainBed.

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

↑