arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.01289cs.LG
收藏

对抗性对比学习中数据增强效应的再思考

Rethinking the Effect of Data Augmentation in Adversarial Contrastive Learning

Peking University(北京大学)

Rundong Luo, Yifei Wang, Yisen Wang

摘要:

最近的研究表明,自监督学习在与对抗训练(AT)相结合时可以实现显着的鲁棒性。然而,监督AT(sup-AT)和自监督AT(self-AT)之间的鲁棒性差距仍然很大。受此观察的启发,我们重新审视现有的自AT方法,并发现影响自AT鲁棒性的固有困境:无论是强还是弱数据增强都对自AT有害,中等强度不足以弥合差距。为了解决这个难题,我们提出了一个简单的补救措施,名为DYNACL(动态对抗对比学习)。特别是,我们提出了一个增强时间表,逐渐退火从一个强增强到一个弱的,从两个极端的情况下受益。此外,我们采用了快速的后处理阶段,以适应下游任务。通过大量的实验,我们证明了DYNACL可以在CIFAR-10数据集上的自动攻击下将最先进的自AT鲁棒性提高8.84%,甚至可以首次超过普通的监督对抗训练。我们的代码可在\url{https://github.com/PKU-ML/DYNACL}上获得。

英文摘要:

Recent works have shown that self-supervised learning can achieve remarkable robustness when integrated with adversarial training (AT). However, the robustness gap between supervised AT (sup-AT) and self-supervised AT (self-AT) remains significant. Motivated by this observation, we revisit existing self-AT methods and discover an inherent dilemma that affects self-AT robustness: either strong or weak data augmentations are harmful to self-AT, and a medium strength is insufficient to bridge the gap. To resolve this dilemma, we propose a simple remedy named DYNACL (Dynamic Adversarial Contrastive Learning). In particular, we propose an augmentation schedule that gradually anneals from a strong augmentation to a weak one to benefit from both extreme cases. Besides, we adopt a fast post-processing stage for adapting it to downstream tasks. Through extensive experiments, we show that DYNACL can improve state-of-the-art self-AT robustness by 8.84% under Auto-Attack on the CIFAR-10 dataset, and can even outperform vanilla supervised adversarial training for the first time. Our code is available at \url{https://github.com/PKU-ML/DYNACL}.

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

↑