Adversarial training is one of the most effective defenses against adversarial attacks. Previous works suggest that overfitting is a dominant phenomenon in adversarial training leading to a large generalization gap between test and train accuracy in neural networks. In this work, we show that the observed generalization gap is closely related to the choice of the activation function. In particular, we show that using activation functions with low (exact or approximate) curvature values has a regularization effect that significantly reduces both the standard and robust generalization gaps in adversarial training. We observe this effect for both differentiable/smooth activations such as SiLU as well as non-differentiable/non-smooth activations such as LeakyReLU. In the latter case, the "approximate" curvature of the activation is low. Finally, we show that for activation functions with low curvature, the double descent phenomenon for adversarially trained models does not occur.
On the Impact of Hard Adversarial Instances on Overfitting in Adversarial Training
Hong Kong University of Science and Technology(香港科技大学);École Polytechnique Fédérale de Lausanne(洛桑联邦理工学院);City University of Hong Kong(香港城市大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
Understanding Robust Overfitting of Adversarial Training and Beyond
The University of Sydney(悉尼大学);Hong Kong Baptist University(香港浸会大学);JD Explore Academy(京东探索研究院);University of Science and Technology of China(中国科学技术大学);Nanjing University of Science and Technology(南京理工大学);The University of Melbourne(墨尔本大学)
鲁棒过拟合广泛存在于深度网络的对抗性训练中。其确切的根本原因仍然没有完全弄清楚。本文通过比较\emph{non-overfit}(弱对手)和\emph{overfitted}(强对手)对抗训练的数据分布,探讨了鲁棒过拟合的原因,观察到弱对手生成的对抗数据分布主要包含小损失数据。然而,由强对手产生的对抗性数据在大损失数据和小损失数据上的分布更加分散。考虑到这些观察结果,我们进一步设计了数据消融对抗训练,并确定一些不值得对手强度的小损失数据在强对手模式下导致鲁棒过拟合。为了缓解这个问题,我们提出了\emph{minimum loss constrained adversarial training}(MLCAT):在一个小批量中,我们像往常一样学习大损失数据,并采取额外的措施来增加小损失数据的损失。从技术上讲,MLCAT在数据拟合变得容易学习时会阻碍数据拟合,以防止鲁棒过拟合;从技术上讲,MLCAT体现了变废为宝,充分利用每一个对抗数据的精神;从算法上讲,我们设计了MLCAT的两种实现,大量的实验表明,MLCAT可以消除鲁棒过拟合,进一步提高对抗鲁棒性。
Improving Adversarial Robustness via Channel-wise Activation Suppressing
Tsinghua Berkeley Shenzhen Institute, Tsinghua University(清华大学清华伯克利深圳学院);Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Key Lab. of Machine Perception (MoE), School of EECS, Peking University(北京大学信息科学技术学院机器感知与智能教育部重点实验室);School of Information Technology, Deakin University(迪肯大学信息技术学院);PCL Research Center of Networks and Communications, Peng Cheng Laboratory(鹏城实验室网络通信研究中心)
Robust Weight Perturbation for Adversarial Training
The University of Sydney(悉尼大学);Hong Kong Baptist University(香港浸会大学);The University of Melbourne(墨尔本大学);JD Explore Academy(京东探索研究院);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Wuhan University(武汉大学)
Benign Overfitting in Adversarial Training for Vision Transformers
Division of CEMSE, King Abdullah University of Science and Technology(科廷大学科学与工程学院);School of Statistics, Renmin University of China(中国人民大学统计学院);Department of Computer Science and Engineering, State University of New York at Buffalo(纽约州立大学布法罗分校计算机科学与工程学院);School of Computer Science, University of Auckland(奥克兰大学计算机科学学院)
Preventing Catastrophic Overfitting in Fast Adversarial Training: A Bi-level Optimization Perspective
School of Artificial Intelligence, Xidian University(西安电子科技大学人工智能学院);School of Computer Science and Technology, Xidian University(西安电子科技大学计算机科学与技术学院);School of Engineering, Westlake University(西湖大学工程学院)
Layer-Aware Analysis of Catastrophic Overfitting: Revealing the Pseudo-Robust Shortcut Dependency
Sydeny AI Centre(悉尼人工智能中心);School of Computer Science, The University of Sydney(悉尼大学计算机科学学院);Hong Kong Baptist University(香港浸会大学);BNRist Center, Tsinghua University(清华大学BNRist中心)
MEAT: Median-Ensemble Adversarial Training for Improving Robustness and Generalization
Fujian Province Key Laboratory of Information Security(福建省信息安全重点实验室);College of Computer Science and Big Data, Fuzhou University(福州大学计算机与大数据学院);Yuan Ze University(元智大学)
Improving Fast Adversarial Training with Prior-Guided Knowledge
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);University of Chinese Academy of Sciences(中国科学院大学);Tencent Inc.(腾讯公司);Beihang University(北京航空航天大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shenzhen Research Institute of Big Data(深圳大数据研究院);Sun Yat-sen University(中山大学)
Improving Fast Adversarial Training Paradigm: An Example Taxonomy Perspective
School of Cyber Science and Engineering, Southeast University(东南大学网络空间科学与工程学院);Purple Mountain Laboratories(紫金山实验室);Department of Computer Science, City University of Hong Kong(香港城市大学计算机科学系);Department of Computer and Information Science, University of Macau(澳门大学计算机与信息科学系)
Unveiling the Backdoor Mechanism Hidden Behind Catastrophic Overfitting in Fast Adversarial Training
School of Computer Science and Technology, Anhui University(安徽大学计算机科学与技术学院);School of Information and Communication Engineering, Dalian University of Technology(大连理工大学信息与通信工程学院);School of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院)
Provable Robust Overfitting Mitigation in Wasserstein Distributionally Robust Optimization
Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);University of Chinese Academy of Sciences(中国科学院大学);Kaiyuan International Mathematical Sciences Institute(开元国际数学科学研究院)
A Theoretical Explanation of Activation Sparsity through Flat Minima and Adversarial Robustness
State Key Laboratory for Novel Software Technology(计算机软件新技术全国重点实验室);Nanjing University(南京大学);School of Computer Science and Engineering(计算机科学与工程学院);Southeast University(东南大学)
Balance, Imbalance, and Rebalance: Understanding Robust Overfitting from a Minimax Game Perspective
Department of Engineering, University of Cambridge(剑桥大学工程系);School of Mathematical Sciences, Peking University(北京大学数学科学学院);Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);Peng Cheng Laboratory(鹏城实验室)
Steering Beyond the Support: Adversarial Training on Unsupervised Jailbroken Activation Simulation
University of Technology Sydney, Sydney, Australia(技术悉尼大学);School of Cyber Science and Engineering, Southeast University, Nanjing, China(东南大学计算机科学与工程学院);Xi'an Jiaotong University, Xi'an, China(西安交通大学)