Contrastive Self-Supervised Learning Leads to Higher Adversarial Susceptibility

Rohit Gupta, Naveed Akhtar, Ajmal Mian, Mubarak Shah
7/22/2022
cs.CV

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Contrastive self-supervised learning (CSL) has managed to match or surpass the performance of supervised learning in image and video classification. However, it is still largely unknown if the nature of the representations induced by the two learning paradigms is similar. We investigate this under the lens of adversarial robustness. Our analysis of the problem reveals that CSL has intrinsically higher sensitivity to perturbations over supervised learning. We identify the uniform distribution of data representation over a unit hypersphere in the CSL representation space as the key contributor to this phenomenon. We establish that this is a result of the presence of false negative pairs in the training process, which increases model sensitivity to input perturbations. Our finding is supported by extensive experiments for image and video classification using adversarial perturbations and other input corruptions. We devise a strategy to detect and remove false negative pairs that is simple, yet effective in improving model robustness with CSL training. We close up to 68% of the robustness gap between CSL and its supervised counterpart. Finally, we contribute to adversarial learning by incorporating our method in CSL. We demonstrate an average gain of about 5% over two different state-of-the-art methods in this domain.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gupta2022contrastive,
  title  = {Contrastive Self-Supervised Learning Leads to Higher Adversarial Susceptibility},
  author = {Rohit Gupta and Naveed Akhtar and Ajmal Mian and Mubarak Shah},
  year   = {2022},
  eprint = {2207.10862},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.10862v2}
}

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

Discussion