Robust Pre-Training by Adversarial Contrastive Learning

Ziyu Jiang, Tianlong Chen, Ting Chen, Zhangyang Wang
10/26/2020
cs.CV
contrastive-ssl

Official code: VITA-Group/Adversarial-Contrastive-Learning (116 stars, Python, last commit 2021-12-30).

Abstract

Recent work has shown that, when integrated with adversarial training, self-supervised pre-training can lead to state-of-the-art robustness In this work, we improve robustness-aware self-supervised pre-training by learning representations that are consistent under both data augmentations and adversarial perturbations. Our approach leverages a recent contrastive learning framework, which learns representations by maximizing feature consistency under differently augmented views.

Show full abstract

This fits particularly well with the goal of adversarial robustness, as one cause of adversarial fragility is the lack of feature invariance, i.e., small input perturbations can result in undesirable large changes in features or even predicted labels. We explore various options to formulate the contrastive task, and demonstrate that by injecting adversarial perturbations, contrastive pre-training can lead to models that are both label-efficient and robust. We empirically evaluate the proposed Adversarial Contrastive Learning (ACL) and show it can consistently outperform existing methods. For example on the CIFAR-10 dataset, ACL outperforms the previous state-of-the-art unsupervised robust pre-training approach by 2.99% on robust accuracy and 2.14% on standard accuracy. We further demonstrate that ACL pre-training can improve semi-supervised adversarial training, even when only a few labeled examples are available. Our codes and pre-trained models have been released at: https://github.com/VITA-Group/Adversarial-Contrastive-Learning.

View on arXivView PDF

Code Implementations(1)

[NeurIPS 2020] “ Robust Pre-Training by Adversarial Contrastive Learning”, Ziyu Jiang, Tianlong Chen, Ting Chen, Zhangyang Wang

11616PythonSep 26, 20204 years ago

Similar Papers

Cite this paper

@article{jiang2020robust,
  title  = {Robust Pre-Training by Adversarial Contrastive Learning},
  author = {Ziyu Jiang and Tianlong Chen and Ting Chen and Zhangyang Wang},
  year   = {2020},
  eprint = {2010.13337},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.13337}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.13337.svg)](https://codeofpaper.com/paper/2010.13337)

Discussion