When does Contrastive Learning Preserve Adversarial Robustness from Pretraining to Finetuning?
Lijie Fan, Sijia Liu, Pin-Yu Chen, Gaoyuan Zhang, Chuang Gan
摘要
Contrastive learning (CL) can learn generalizable feature representations and achieve state-of-the-art performance of downstream tasks by finetuning a linear classifier on top of it. However, as adversarial robustness becomes vital in image classification, it remains unclear whether or not CL is able to preserve robustness to downstream tasks. The main challenge is that in the 'self-supervised pretraining + supervised finetuning' paradigm, adversarial robustness is easily forgotten due to a learning task mismatch from pretraining to finetuning. We call such challenge 'cross-task robustness transferability'. To address the above problem, in this paper we revisit and advance CL principles through the lens of robustness enhancement. We show that (1) the design of contrastive views matters: High-frequency components of images are beneficial to improving model robustness; (2) Augmenting CL with pseudo-supervision stimulus (e.g., resorting to feature clustering) helps preserve robustness without forgetting. Equipped with our new designs, we propose ADVCL, a novel adversarial contrastive pretraining framework. We show that ADVCL is able to enhance cross-task robustness transferability without loss of model accuracy and finetuning efficiency. With a thorough experimental study, we demonstrate that ADVCL outperforms the state-of-the-art self-supervised robust learning methods across multiple datasets (CIFAR-10, CIFAR-100 and STL-10) and finetuning schemes (linear evaluation and full model finetuning). Code is available at https://github.com/LijieFan/AdvCL .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 37 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Supervised Adversarial Contrastive Learning for Emotion Recognition in Conversations 引用了 Towards Evaluating the Robustness of Neural Networks
- Supervised Adversarial Contrastive Learning for Emotion Recognition in Conversations 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Supervised Adversarial Contrastive Learning for Emotion Recognition in Conversations 引用了 Supervised Contrastive Learning
- Reliable Adversarial Distillation with Unreliable Teachers 引用了 Towards Evaluating the Robustness of Neural Networks
- Big Self-Supervised Models are Strong Semi-Supervised Learners 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Big Self-Supervised Models are Strong Semi-Supervised Learners 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning 引用了 Big Self-Supervised Models are Strong Semi-Supervised Learners
- Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings for Robust Large Vision-Language Models 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings for Robust Large Vision-Language Models 引用了 Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Supervised Contrastive Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
引用它的顶会 Paper37
- Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings for Robust Large Vision-Language ModelsChristian Schlarmann, Naman Deep Singh, Francesco Croce, Matthias HeinICML 2024 · 114 次引用
- Reliable Adversarial Distillation with Unreliable TeachersJianing Zhu, Jiangchao Yao, Bo Han, Jingfeng Zhang 等ICLR 2022 · 92 次引用
- Efficient and Effective Augmentation Strategy for Adversarial TrainingSravanti Addepalli, Samyak Jain, Venkatesh Babu R.NeurIPS 2022 · 77 次引用
- Supervised Adversarial Contrastive Learning for Emotion Recognition in ConversationsDou Hu, Yinan Bao, Lingwei Wei, Wei Zhou 等ACL 2023 · 64 次引用
- AdvCLIP: Downstream-agnostic Adversarial Examples in Multimodal Contrastive LearningZiqi Zhou, Shengshan Hu, Minghui Li, Hangtao Zhang 等ACM MM 2023 · 62 次引用
它引用的 Paper21
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 次引用
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec 等NeurIPS 2020 · 9,171 次引用
- Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna 等NeurIPS 2020 · 7,049 次引用
- Big Self-Supervised Models are Strong Semi-Supervised LearnersTing Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi 等NeurIPS 2020 · 2,611 次引用
相关 Paper
- Robust Pre-Training by Adversarial Contrastive LearningZiyu Jiang, Tianlong Chen, Ting Chen, Zhangyang WangNeurIPS 2020 · 284 次引用
- Robustness Verification for Contrastive LearningZekai Wang, Weiwei LiuICML 2022 · 17 次引用
- ArCL: Enhancing Contrastive Learning with Augmentation-Robust RepresentationsXuyang Zhao, Tianqi Du, Yisen Wang, Jun Yao 等ICLR 2023 · 2 次引用
- Adversarial Self-Supervised Contrastive LearningMinseon Kim, Jihoon Tack, Sung Ju HwangNeurIPS 2020 · 294 次引用
- Investigating Why Contrastive Learning Benefits Robustness against Label NoiseYihao Xue, Kyle Whitecross, Baharan MirzasoleimanICML 2022 · 70 次引用
