Adversarial Self-Supervised Contrastive Learning

Minseon Kim, Jihoon Tack, Sung Ju Hwang
6/13/2020
298 citations
cs.LGcs.CVstat.ML
contrastive-ssl

Official code: Kim-Minseon/RoCL (177 stars, Python, last commit 2022-10-29).

Abstract

Existing adversarial learning approaches mostly use class labels to generate adversarial samples that lead to incorrect predictions, which are then used to augment the training of the model for improved robustness. While some recent works propose semi-supervised adversarial learning methods that utilize unlabeled data, they still require class labels.

Show full abstract

However, do we really need class labels at all, for adversarially robust training of deep neural networks? In this paper, we propose a novel adversarial attack for unlabeled data, which makes the model confuse the instance-level identities of the perturbed data samples. Further, we present a self-supervised contrastive learning framework to adversarially train a robust neural network without labeled data, which aims to maximize the similarity between a random augmentation of a data sample and its instance-wise adversarial perturbation. We validate our method, Robust Contrastive Learning (RoCL), on multiple benchmark datasets, on which it obtains comparable robust accuracy over state-of-the-art supervised adversarial learning methods, and significantly improved robustness against the black box and unseen types of attacks. Moreover, with further joint fine-tuning with supervised adversarial loss, RoCL obtains even higher robust accuracy over using self-supervised learning alone. Notably, RoCL also demonstrate impressive results in robust transfer learning.

View on arXivView PDF

Code Implementations(1)

Kim-Minseon/RoCLOfficial100%

Code for the paper "Adversarial Self-supervised Contrastive Learning" (NeurIPS 2020)

17720Python, ShellSep 3, 20204 years ago
adversarial-trainingroclself-supervised-learning

Similar Papers

Cite this paper

@article{kim2020adversarial,
  title  = {Adversarial Self-Supervised Contrastive Learning},
  author = {Minseon Kim and Jihoon Tack and Sung Ju Hwang},
  year   = {2020},
  eprint = {2006.07589},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.07589}
}

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/2006.07589.svg)](https://codeofpaper.com/paper/2006.07589)

Discussion