On adversarial training and the 1 Nearest Neighbor classifier
Not on the map. Why?
Abstract (arXiv)
The ability to fool deep learning classifiers with tiny perturbations of the input has lead to the development of adversarial training in which the loss with respect to adversarial examples is minimized in addition to the training examples. While adversarial training improves the robustness of the learned classifiers, the procedure is computationally expensive, sensitive to hyperparameters and may still leave the classifier vulnerable to other types of small perturbations. In this paper we compare the performance of adversarial training to that of the simple 1 Nearest Neighbor (1NN) classifier. We prove that under reasonable assumptions, the 1NN classifier will be robust to em any small image perturbation of the training images. In experiments with 135 different binary image classification problems taken from CIFAR10, MNIST and Fashion-MNIST we find that 1NN outperforms TRADES (a powerful adversarial training algorithm) in terms of average adversarial accuracy. In additional experiments with 69 robust models taken from the current adversarial robustness leaderboard, we find that 1NN outperforms almost all of them in terms of robustness to perturbations that are only slightly different from those used during training. Taken together, our results suggest that modern adversarial training methods still fall short of the robustness of the simple 1NN classifier. our code can be found at urlhttps://github.com/amirhagai/On-Adversarial-Training-And-The-1-Nearest-Neighbor-Classifier keywordsAdversarial training
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 33 of its 42 references that are in the map. First posted on arXiv 9 Apr 2024.
Builds on
33 of 42 references.
References · 33
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 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
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
- 2020RobustBench: a standardized adversarial robustness benchmarkcited by 659
- 2022Diffusion Models for Adversarial Purificationcited by 469
- 2016Transferability in Machine Learning: from Phenomena to Black-Box Attacks using Adversarial Samplescited by 439
- 2020Uncovering the Limits of Adversarial Training against Norm-Bounded Adversarial Examplescited by 275
21 more
- 2020Attacks Which Do Not Kill Training Make Adversarial Learning Strongercited by 242
- 2023Better Diffusion Models Further Improve Adversarial Trainingcited by 207
- 2021Fixing Data Augmentation to Improve Adversarial Robustnesscited by 201
- 2020Bag of Tricks for Adversarial Trainingcited by 199
- 2020Geometry-aware Instance-reweighted Adversarial Trainingcited by 198
- 2021On the Robustness of Vision Transformers to Adversarial Examplescited by 167
- 2020Self-Adaptive Training: beyond Empirical Risk Minimizationcited by 126
- 2016Technical Report on the CleverHans v2.1.0 Adversarial Examples Librarycited by 123
- 2020Boosting Adversarial Training with Hypersphere Embeddingcited by 97
- 2022LAS-AT: Adversarial Training with Learnable Attack Strategycited by 94
- 2020Learnable Boundary Guided Adversarial Trainingcited by 93
- 2021Stable Neural ODE with Lyapunov-Stable Equilibrium Points for Defending Against Adversarial Attackscited by 91
- 2020Do Wider Neural Networks Really Help Adversarial Robustness?cited by 79
- 2021Exploring Architectural Ingredients of Adversarially Robust Deep Neural Networkscited by 73
- 2023Decoupled Kullback-Leibler Divergence Losscited by 58
- 2023Robust Principles: Architectural Design Principles for Adversarially Robust CNNscited by 46
- 2022Efficient and Effective Augmentation Strategy for Adversarial Trainingcited by 43
- 2017Analyzing the Robustness of Nearest Neighbors to Adversarial Examplescited by 36
- 2022Revisiting Residual Networks for Adversarial Robustness: An Architectural Perspectivecited by 28
- 2021Improving Neural Network Robustness via Persistency of Excitationcited by 14
- 2021LTD: Low Temperature Distillation for Gradient Masking-free Adversarial Trainingcited by 13
Built on by
Not cited yet.