arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.15318cs.LGcs.CV
收藏

一种高效的对抗训练增强策略

Efficient and Effective Augmentation Strategy for Adversarial Training

Indian Institute of Science(印度科学学院);Indian Institute of Technology (BHU) Varanasi(印度理工学院(瓦拉纳西))

Sravanti Addepalli, Samyak Jain, R. Venkatesh Babu

摘要:

众所周知,与标准训练相比,深度神经网络的对抗性训练对数据的需求更大。此外,复杂的数据增强(如AutoAugment)在图像分类器的标准训练中获得了实质性的收益,但在对抗训练中并不成功。我们首先通过将训练过程中的增强视为领域泛化的问题来解释这种对比行为,并进一步提出了基于多样增强的联合对抗训练(DAJAT),以在对抗训练中有效地使用数据增强。我们的目标是通过在训练过程中使用简单和复杂的增强与单独的批量归一化层的组合来处理增强训练数据集的多样性和使用接近测试分布的数据进行训练的冲突目标。我们进一步利用流行的Jensen-Shannon发散损失来鼓励不同增强的联合学习,从而允许简单的增强来指导复杂增强的学习。最后,为了提高所提出方法的计算效率,我们提出并利用了一种两步防御,即上升约束对抗训练(ACAT),它使用了一个递增的时间表和权重空间平滑来防止梯度掩蔽。与ResNet-18和WideResNet-34-10上RobustBench排行榜上的现有方法相比,所提出的方法DAJAT实现了更好的鲁棒性-准确性权衡。实现DAJAT的代码可以在这里找到:https://github.com/val-iisc/DAJAT。

英文摘要:

Adversarial training of Deep Neural Networks is known to be significantly more data-hungry when compared to standard training. Furthermore, complex data augmentations such as AutoAugment, which have led to substantial gains in standard training of image classifiers, have not been successful with Adversarial Training. We first explain this contrasting behavior by viewing augmentation during training as a problem of domain generalization, and further propose Diverse Augmentation-based Joint Adversarial Training (DAJAT) to use data augmentations effectively in adversarial training. We aim to handle the conflicting goals of enhancing the diversity of the training dataset and training with data that is close to the test distribution by using a combination of simple and complex augmentations with separate batch normalization layers during training. We further utilize the popular Jensen-Shannon divergence loss to encourage the joint learning of the diverse augmentations, thereby allowing simple augmentations to guide the learning of complex ones. Lastly, to improve the computational efficiency of the proposed method, we propose and utilize a two-step defense, Ascending Constraint Adversarial Training (ACAT), that uses an increasing epsilon schedule and weight-space smoothing to prevent gradient masking. The proposed method DAJAT achieves substantially better robustness-accuracy trade-off when compared to existing methods on the RobustBench Leaderboard on ResNet-18 and WideResNet-34-10. The code for implementing DAJAT is available here: https://github.com/val-iisc/DAJAT.

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

↑