Sample Efficient Detection and Classification of Adversarial Attacks via Self-Supervised Embeddings
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
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2013Intriguing properties of neural networkscited by 5,114
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
- 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
- 2017Ensemble Adversarial Training: Attacks and Defensescited by 833
- 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 542
- 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 484
17 more
- 2018Characterizing Adversarial Subspaces Using Local Intrinsic Dimensionalitycited by 280
- 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
- 2017PixelDefend: Leveraging Generative Models to Understand and Defend against Adversarial Examplescited by 243
- 2017On Detecting Adversarial Perturbationscited by 232
- 2018Spatially Transformed Adversarial Examplescited by 195
- 2017On the (Statistical) Detection of Adversarial Examplescited by 180
- 2020Dataset Security for Machine Learning: Data Poisoning, Backdoor Attacks, and Defensescited by 171
- 2020Robust Pre-Training by Adversarial Contrastive Learningcited by 144
- 2020Adversarial Self-Supervised Contrastive Learningcited by 138
- 2020Perceptual Adversarial Robustness: Defense Against Unseen Threat Modelscited by 137
- 2019Transferable Clean-Label Poisoning Attacks on Deep Neural Netscited by 129
- 2020Just How Toxic is Data Poisoning? A Unified Benchmark for Backdoor and Data Poisoning Attackscited by 109
- 2020Contrastive Learning with Adversarial Examplescited by 91
- 2019Functional Adversarial Attackscited by 82
- 2019The Odds are Odd: A Statistical Test for Detecting Adversarial Examplescited by 75
- 2020Bullseye Polytope: A Scalable Clean-Label Poisoning Attack with Improved Transferabilitycited by 65
- 2020A Framework For Contrastive Self-Supervised Learning And Designing A New Approachcited by 51
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 5; 2024: 2.
11 papers.
- 2021PRIME: A few primitives can boost robustness to common corruptionscited by 40
- 2022Explicit Tradeoffs between Adversarial and Natural Distributional Robustnesscited by 20
- 2023Defenses in Adversarial Machine Learning: A Surveycited by 14
- 2022Perturbation Inactivation Based Adversarial Defense for Face Recognitioncited by 5
- 2022Identifying Adversarial Attacks on Text Classifierscited by 4
- 2024Self-Supervised Representation Learning for Adversarial Attack Detectioncited by 4
- 2023Scalable Attribution of Adversarial Attacks via Multi-Task Learningcited by 2
- 2024Artificial Immune System of Secure Face Recognition Against Adversarial Attackscited by 2
- 2023An Ambiguity Measure for Recognizing the Unknowns in Deep Learningcited by 1
- 2023A Linearly Convergent GAN Inversion-based Algorithm for Reverse Engineering of Deceptionscited by 0
- 2023SEA: Shareable and Explainable Attribution for Query-based Black-box Attackscited by 0
- 2024Self-Supervised Representation Learning for Adversarial Attack Detection5 Jul 2024
- 2024Artificial Immune System of Secure Face Recognition Against Adversarial Attacks26 Jun 2024
- 2023Defenses in Adversarial Machine Learning: A Survey13 Dec 2023
- 2023An Ambiguity Measure for Recognizing the Unknowns in Deep Learning11 Dec 2023
- 2023SEA: Shareable and Explainable Attribution for Query-based Black-box Attacks23 Aug 2023
- 2023A Linearly Convergent GAN Inversion-based Algorithm for Reverse Engineering of Deceptions7 Jun 2023
- 2023Scalable Attribution of Adversarial Attacks via Multi-Task Learning25 Feb 2023
- 2022Explicit Tradeoffs between Adversarial and Natural Distributional Robustness15 Sep 2022
- 2022Perturbation Inactivation Based Adversarial Defense for Face Recognition13 Jul 2022
- 2022Identifying Adversarial Attacks on Text Classifiers21 Jan 2022
- 2021PRIME: A few primitives can boost robustness to common corruptions27 Dec 2021