Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Self-Supervised Contrastive Learning

Minseon Kim, Jihoon Tack|arXiv (Cornell University)|Jun 13, 2020
Adversarial Robustness in Machine LearningComputer Science47 references83 citations
TL;DR

RoCL trains an adversarially robust neural network without labels by performing instance-wise adversarial attacks within a self-supervised contrastive learning framework, achieving robustness comparable to supervised methods and strong transferability.

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. 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.

Motivation & Objective

  • Motivate robustness for deep nets without relying on class labels in adversarial training.
  • Propose instance-wise adversarial attacks that do not require labels.
  • Develop RoCL to maximize similarity between clean and instance-wise perturbed augmentations through contrastive learning.
  • Demonstrate robustness against white-box, black-box, and unseen attacks and evaluate transfer learning capabilities.

Proposed method

  • Introduce instance-wise adversarial perturbations that confuse instance identities without labels.
  • Extend self-supervised contrastive learning (SimCLR-style) to incorporate adversarial perturbations in the positive set.
  • Define RoCL objective as combining a contrastive loss over augmented and adversarially perturbed views with a regularization term (L_RoCL) incorporating adversarial examples.
  • Use a min-max formulation where the inner max perturbs transformed samples within an epsilon-ball to maximize the contrastive loss.
  • Adopt transformation smoothed inference to obtain a transformation-averaged, more robust prediction.
  • Support linear evaluation and robust-linear evaluation (r-LE) to assess class-level robustness after unsupervised training.

Experimental results

Research questions

  • RQ1Can robust adversarial training be achieved without any class labels using self-supervised learning?
  • RQ2Do instance-wise adversarial perturbations on augmented views enable learning representations that are robust to various attack types, including unseen ones?
  • RQ3How does RoCL compare to supervised adversarial methods in terms of robustness and clean accuracy, and can it transfer to other datasets?
  • RQ4Does transforming and averaging over augmentations (transformation smoothed classifier) improve robustness and accuracy?
  • RQ5What is the effect of combining RoCL with supervised adversarial fine-tuning or transfer learning?

Key findings

  • RoCL achieves robustness comparable to strong supervised adversarial methods on CIFAR-10 with unlabeled training.
  • RoCL exhibits significantly improved robustness against black-box and unseen attack types compared to some baselines.
  • Joint fine-tuning with supervised adversarial loss can yield higher robust accuracy without sacrificing clean accuracy.
  • RoCL demonstrates impressive robustness in transfer learning scenarios across CIFAR-10 and CIFAR-100.
  • Transformation smoothed inference further improves robustness and clean accuracy under certain attacks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.