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

忘掉锐度:SAM 动力学中模型偏差的受扰遗忘

Forget Sharpness: Perturbed Forgetting of Model Biases Within SAM Dynamics

Mila, Université de Montréal(蒙特利尔大学米拉研究所);Borealis AI(博雷阿尔人工智能公司)

Ankit Vani, Frederick Tung, Gabriel L. Oliveira, Hossein Sharifi-Noghabi

AI总结:

本文从训练动力学视角重新解释 SAM,提出扰动通过遗忘模型偏差促进泛化,并设计输出偏差遗忘扰动,在多项基准上优于 SAM、GSAM 和 ASAM。

摘要:

尽管使用锐度感知最小化(SAM)训练的模型取得了很高的经验泛化性能,但其锐度并不总是与泛化误差相关。本文不再将 SAM 视为通过最小化锐度来提升泛化,而是基于 SAM 的训练动力学提出一种新视角。我们认为,SAM 中的扰动执行的是受扰遗忘:它们丢弃不期望的模型偏差,从而呈现出泛化能力更好的学习信号。我们将这一遗忘概念与信息瓶颈原则联系起来,用它解释诸如较小扰动批次具有更好泛化性等观察结果,并表明受扰遗忘与泛化的相关性可能强于平坦度。标准 SAM 针对由最速上升方向暴露的模型偏差,而我们提出一种新的扰动,针对通过模型输出暴露的偏差。我们的输出偏差遗忘扰动在 ImageNet、鲁棒性基准以及迁移到 CIFAR-{10,100} 的任务上优于标准 SAM、GSAM 和 ASAM,同时有时会收敛到更尖锐的区域。结果表明,SAM 的收益可由不需要损失曲面平坦性的替代机制原则解释。

英文摘要:

Despite attaining high empirical generalization, the sharpness of models trained with sharpness-aware minimization (SAM) do not always correlate with generalization error. Instead of viewing SAM as minimizing sharpness to improve generalization, our paper considers a new perspective based on SAM's training dynamics. We propose that perturbations in SAM perform perturbed forgetting, where they discard undesirable model biases to exhibit learning signals that generalize better. We relate our notion of forgetting to the information bottleneck principle, use it to explain observations like the better generalization of smaller perturbation batches, and show that perturbed forgetting can exhibit a stronger correlation with generalization than flatness. While standard SAM targets model biases exposed by the steepest ascent directions, we propose a new perturbation that targets biases exposed through the model's outputs. Our output bias forgetting perturbations outperform standard SAM, GSAM, and ASAM on ImageNet, robustness benchmarks, and transfer to CIFAR-{10,100}, while sometimes converging to sharper regions. Our results suggest that the benefits of SAM can be explained by alternative mechanistic principles that do not require flatness of the loss surface.

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

↑