本文通过将 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.
The Bridge-Garden Dilemma in LLM Distillation: Why Mixing Hard and Soft Labels Works
School of Computer Science and Technology, University of Chinese Academy of Sciences, Beijing, China(中国科学院大学计算机科学与技术学院);Alibaba Group, Hangzhou, China(阿里巴巴集团);State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences, Beijing, China(中国科学院人工智能安全国家重点实验室);Beijing Academy of Artificial Intelligence, Beijing, China(北京人工智能研究院);Key Laboratory of Big Data Mining and Knowledge Management (BDKM), University of Chinese Academy of Sciences, Beijing, China(中国科学院大数据挖掘与知识管理重点实验室)
Revisiting Label Inference Attacks in Vertical Federated Learning: Why They Are Vulnerable and How to Defend
Key Laboratory of High Confidence Software Technologies (Peking University), Ministry of Education(高可信软件技术重点实验室(北京大学));School of Computer Science, Peking University(北京大学计算机学院);Zhongguancun Laboratory, Beijing, China(中关村实验室,北京,中国)
A Survey of Label-noise Representation Learning: Past, Present and Future
Hong Kong Baptist University(香港浸会大学);Paradigm Inc.(第四范式公司);Tsinghua University(清华大学);The University of Sydney(悉尼大学);RIKEN AIP(理化学研究所人工智能项目);University of Technology Sydney(悉尼科技大学);Hong Kong University of Science and Technology(香港科技大学);The University of Tokyo(东京大学)
On the Robustness of Average Losses for Partial-Label Learning
RIKEN Center for Advanced Intelligence Project(理化学研究所先进智能项目中心);Southeast University(东南大学);Chongqing University(重庆大学);The University of Queensland(昆士兰大学);Nanyang Technological University(南洋理工大学);The University of Tokyo(东京大学)
Fine-Grained Analysis of Optimization and Generalization for Overparameterized Two-Layer Neural Networks
Princeton University(普林斯顿大学);Institute for Advanced Study(高等研究院);Carnegie Mellon University(卡内基梅隆大学)
最近的研究工作揭示了为什么深度网络适合任何数据并在过度参数化的情况下进行推广的奥秘。本文分析了具有随机初始化的简单2层ReLU网络的训练和泛化,并对最近的工作进行了以下改进:(i)使用比最近论文更严格的训练速度特征,解释了为什么使用随机标签训练神经网络会导致训练速度较慢,正如最初在[Zhang et al. ICLR'17]中观察到的那样。(ii)泛化界独立于网络大小,使用数据依赖的复杂性度量。实验表明,我们的测量方法可以区分MNIST和CIFAR上的随机标签和真实标签。此外,最近的论文要求样本复杂度随网络规模(缓慢)增加,而我们的样本复杂度完全独立于网络规模。(iii)通过梯度下降训练的2层ReLU网络对一类广泛的光滑函数的可学习性。其关键思想是通过相关内核的属性来跟踪训练和泛化的动态。
Wasserstein Adversarial Regularization (WAR) on label noise
University Bretagne Sud(布列塔尼南部大学);CNRS(法国国家科学研究中心);INRIA(法国国家信息与自动化研究所);IRISA(法国信息与自动化系统研究所);InterDigital R&D(InterDigital研发中心);Université de Paris(巴黎大学);Wageningen University(瓦赫宁根大学);École Polytechnique(巴黎综合理工学院);Ecole Polytechnique Fédérale de Lausanne(洛桑联邦理工学院)
On the Equivalence of Decoupled Graph Convolution Network and Label Propagation
University of Science and Technology of China(中国科学技术大学);National University of Singapore(新加坡国立大学);North Carolina State University(北卡罗来纳州立大学);Tsinghua University(清华大学)