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

为何 SAM 对标签噪声具有鲁棒性?

Why is SAM Robust to Label Noise?

Carnegie Mellon University(卡内基梅隆大学)

Christina Baek, Zico Kolter, Aditi Raghunathan

AI总结:

本文通过将 SAM 的标签噪声鲁棒性分解为 logit 项效应和网络 Jacobian 效应,证明在深度网络中其鲁棒性完全源于 Jacobian 效应所诱导的隐式正则化,并据此提出更廉价的替代方案。

摘要:

锐度感知最小化(Sharpness-Aware Minimization,SAM)最为人所知的是在自然图像和语言任务上取得了最先进的性能。然而,其最显著的改进(高达数十个百分点)反而出现在存在标签噪声的情况下。理解 SAM 的标签噪声鲁棒性需要摆脱对位于损失景观“更平坦”区域的最小值进行刻画的做法。特别是,标签噪声下的峰值性能出现在早停阶段,远在损失收敛之前。我们将 SAM 的鲁棒性分解为两种效应:一种由 logit 项的变化引起,另一种由网络 Jacobian 的变化引起。第一种效应可以在线性逻辑回归中观察到,其中 SAM 可证明地提高了干净样本梯度贡献的权重。尽管这种显式的加权在神经网络中也可以观察到,但当我们进行干预并修改 SAM 以消除这一效应时,令人惊讶的是,我们并未看到性能出现明显下降。我们推断,SAM 在更深网络中的作用反而完全可以用 SAM 对网络 Jacobian 的影响来解释。我们从理论上推导了这种 Jacobian 效应在两层线性网络中诱导的隐式正则化。受我们分析的启发,我们发现,显式诱导这些正则化效应的更廉价 SAM 替代方案,在很大程度上可以恢复在真实世界数据集上训练的深度网络中所获得的收益。

英文摘要:

Sharpness-Aware Minimization (SAM) is most known for achieving state-of the-art performances on natural image and language tasks. However, its most pronounced improvements (of tens of percent) is rather in the presence of label noise. Understanding SAM's label noise robustness requires a departure from characterizing the robustness of minimas lying in "flatter" regions of the loss landscape. In particular, the peak performance under label noise occurs with early stopping, far before the loss converges. We decompose SAM's robustness into two effects: one induced by changes to the logit term and the other induced by changes to the network Jacobian. The first can be observed in linear logistic regression where SAM provably up-weights the gradient contribution from clean examples. Although this explicit up-weighting is also observable in neural networks, when we intervene and modify SAM to remove this effect, surprisingly, we see no visible degradation in performance. We infer that SAM's effect in deeper networks is instead explained entirely by the effect SAM has on the network Jacobian. We theoretically derive the implicit regularization induced by this Jacobian effect in two layer linear networks. Motivated by our analysis, we see that cheaper alternatives to SAM that explicitly induce these regularization effects largely recover the benefits in deep networks trained on real-world datasets.

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

↑