arXiv:2506.05032cs.LGcs.AI2025-06ICML被引 1

发现对抗训练中跨类别特征对鲁棒性的关键作用

Identifying and Understanding Cross-Class Features in Adversarial Training

  • 从类别特征归属角度分析对抗训练,识别出共享于多类的跨类别特征
  • 初期训练阶段模型优先学习跨类别特征,后期转向依赖类别特有特征
  • 解释了软标签优势与鲁棒过拟合现象,适合研究模型鲁棒性机制者阅读

对抗训练(AT)被认为是提升深度神经网络抵御对抗攻击最有效的方法之一,但其训练机制与动态过程仍不明确。本文通过类别特征归因的新视角研究AT,首次识别出一类在多个类别间共享的关键特征,称为跨类别特征。这类特征通常有助于鲁棒分类,我们在一个合成数据模型中提供了理论支持。通过在多种模型架构和设置下的系统研究发现,在AT初始阶段,模型倾向于学习更多跨类别特征,直至达到最佳鲁棒性检查点;当进一步压缩鲁棒损失导致鲁棒过拟合时,模型决策则更依赖于类别特有特征。基于此,我们统一解释了两种现有AT特性:软标签训练的优势与鲁棒过拟合现象。这些发现深化了对AT机制的理解,并为后续研究提供了新视角。代码已公开于 https://github.com/PKU-ML/Cross-Class-Features-AT。

原文摘要 · Abstract (English)

Adversarial training (AT) has been considered one of the most effective methods for making deep neural networks robust against adversarial attacks, while the training mechanisms and dynamics of AT remain open research problems. In this paper, we present a novel perspective on studying AT through the lens of class-wise feature attribution. Specifically, we identify the impact of a key family of features on AT that are shared by multiple classes, which we call cross-class features. These features are typically useful for robust classification, which we offer theoretical evidence to illustrate through a synthetic data model. Through systematic studies across multiple model architectures and settings, we find that during the initial stage of AT, the model tends to learn more cross-class features until the best robustness checkpoint. As AT further squeezes the training robust loss and causes robust overfitting, the model tends to make decisions based on more class-specific features. Based on these discoveries, we further provide a unified view of two existing properties of AT, including the advantage of soft-label training and robust overfitting. Overall, these insights refine the current understanding of AT mechanisms and provide new perspectives on studying them. Our code is available at https://github.com/PKU-ML/Cross-Class-Features-AT.

对抗训练特征归因鲁棒性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。