mlsanityData to 7 Oct 2026

Sample Efficient Detection and Classification of Adversarial Attacks via Self-Supervised Embeddings

arXiv 2108.13797 ↗First posted 30 Aug 2021cs.CR cs.LGcited by 11

Not on the map. Why?

Abstract (arXiv)

Adversarial robustness of deep models is pivotal in ensuring safe deployment in real world settings, but most modern defenses have narrow scope and expensive costs. In this paper, we propose a self-supervised method to detect adversarial attacks and classify them to their respective threat models, based on a linear model operating on the embeddings from a pre-trained self-supervised encoder. We use a SimCLR encoder in our experiments, since we show the SimCLR embedding distance is a good proxy for human perceptibility, enabling it to encapsulate many threat models at once. We call our method SimCat since it uses SimCLR encoder to catch and categorize various types of adversarial attacks, including L_p and non-L_p evasion attacks, as well as data poisonings. The simple nature of a linear classifier makes our method efficient in both time and sample complexity. For example, on SVHN, using only five pairs of clean and adversarial examples computed with a PGD-L_inf attack, SimCat's detection accuracy is over 85%. Moreover, on ImageNet, using only 25 examples from each threat model, SimCat can classify eight different attack types such as PGD-L_2, PGD-L_inf, CW-L_2, PPGD, LPA, StAdv, ReColor, and JPEG-L_inf, with over 40% accuracy. On STL10 data, we apply SimCat as a defense against poisoning attacks, such as BP, CP, FC, CLBD, HTBD, halving the success rate while using only twenty total poisons for training. We find that the detectors generalize well to unseen threat models. Lastly, we investigate the performance of our detection method under adaptive attacks and further boost its robustness against such attacks via adversarial training.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 29 of its 40 references that are in the map. First posted on arXiv 30 Aug 2021.

Builds on

29 of 40 references.

References · 29

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  3. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  4. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  5. 2013Intriguing properties of neural networkscited by 5,114
  6. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  7. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
  8. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
  9. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
  10. 2017Ensemble Adversarial Training: Attacks and Defensescited by 833
  11. 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 542
  12. 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 484
17 more
  1. 2018Characterizing Adversarial Subspaces Using Local Intrinsic Dimensionalitycited by 280
  2. 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
  3. 2017PixelDefend: Leveraging Generative Models to Understand and Defend against Adversarial Examplescited by 243
  4. 2017On Detecting Adversarial Perturbationscited by 232
  5. 2018Spatially Transformed Adversarial Examplescited by 195
  6. 2017On the (Statistical) Detection of Adversarial Examplescited by 180
  7. 2020Dataset Security for Machine Learning: Data Poisoning, Backdoor Attacks, and Defensescited by 171
  8. 2020Robust Pre-Training by Adversarial Contrastive Learningcited by 144
  9. 2020Adversarial Self-Supervised Contrastive Learningcited by 138
  10. 2020Perceptual Adversarial Robustness: Defense Against Unseen Threat Modelscited by 137
  11. 2019Transferable Clean-Label Poisoning Attacks on Deep Neural Netscited by 129
  12. 2020Just How Toxic is Data Poisoning? A Unified Benchmark for Backdoor and Data Poisoning Attackscited by 109
  13. 2020Contrastive Learning with Adversarial Examplescited by 91
  14. 2019Functional Adversarial Attackscited by 82
  15. 2019The Odds are Odd: A Statistical Test for Detecting Adversarial Examplescited by 75
  16. 2020Bullseye Polytope: A Scalable Clean-Label Poisoning Attack with Improved Transferabilitycited by 65
  17. 2020A Framework For Contrastive Self-Supervised Learning And Designing A New Approachcited by 51

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 3; 2023: 5; 2024: 2.

11 papers.