Simple Post-Training Robustness Using Test Time Augmentations and Random Forest
Not on the map. Why?
Abstract (arXiv)
Although Deep Neural Networks (DNNs) achieve excellent performance on many real-world tasks, they are highly vulnerable to adversarial attacks. A leading defense against such attacks is adversarial training, a technique in which a DNN is trained to be robust to adversarial attacks by introducing adversarial noise to its input. This procedure is effective but must be done during the training phase. In this work, we propose Augmented Random Forest (ARF), a simple and easy-to-use strategy for robustifying an existing pretrained DNN without modifying its weights. For every image, we generate randomized test time augmentations by applying diverse color, blur, noise, and geometric transforms. Then we use the DNN's logits output to train a simple random forest to predict the real class label. Our method achieves state-of-the-art adversarial robustness on a diversity of white and black box attacks with minimal compromise on the natural images' classification. We test ARF also against numerous adaptive white-box attacks and it shows excellent results when combined with adversarial training. Code is available at https://github.com/giladcohen/ARF.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 65 of its 91 references that are in the map. First posted on arXiv 16 Sep 2021.
Builds on
65 of 91 references.
References · 65
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2013Intriguing properties of neural networkscited by 5,155
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
38 more
- 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,268
- 2016Adversarial Machine Learning at Scalecited by 936
- 2017Ensemble Adversarial Training: Attacks and Defensescited by 840
- 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
- 2020Fast is better than free: Revisiting adversarial trainingcited by 727
- 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 685
- 2015Distillation as a Defense to Adversarial Perturbations against Deep Neural Networkscited by 678
- 2019Adversarial Training for Free!cited by 643
- 2020On Adaptive Attacks to Adversarial Example Defensescited by 555
- 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 546
- 2017Countering Adversarial Images using Input Transformationscited by 520
- 2017Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Modelscited by 462
- 2019On Evaluating Adversarial Robustnesscited by 447
- 2016Transferability in Machine Learning: from Phenomena to Black-Box Attacks using Adversarial Samplescited by 446
- 2019Unlabeled Data Improves Adversarial Robustnesscited by 416
- 2017Mitigating Adversarial Effects Through Randomizationcited by 383
- 2018Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Modelscited by 362
- 2017Adversarial Examples: Attacks and Defenses for Deep Learningcited by 351
- 2018Feature Denoising for Improving Adversarial Robustnesscited by 314
- 2017Parseval Networks: Improving Robustness to Adversarial Examplescited by 293
- 2018Characterizing Adversarial Subspaces Using Local Intrinsic Dimensionalitycited by 282
- 2017MagNet: a Two-Pronged Defense against Adversarial Examplescited by 269
- 2018Adversarial Attacks and Defences: A Surveycited by 259
- 2017Improving the Adversarial Robustness and Interpretability of Deep Neural Networks by Regularizing their Input Gradientscited by 236
- 2018Adversarial Logit Pairingcited by 224
- 2016A study of the effect of JPG compression on adversarial imagescited by 197
- 2020How Does Mixup Help With Robustness and Generalization?cited by 193
- 2017Formal Guarantees on the Robustness of a Classifier against Adversarial Manipulationcited by 185
- 2018Disentangling Adversarial Robustness and Generalizationcited by 172
- 2018Stochastic Activation Pruning for Robust Adversarial Defensecited by 171
- 2020Adversarial Robustness: From Self-Supervised Pre-Training to Fine-Tuningcited by 153
- 2020Robust Pre-Training by Adversarial Contrastive Learningcited by 144
- 2018Improving DNN Robustness to Adversarial Attacks using Jacobian Regularizationcited by 88
- 2019Adversarially Robust Generalization Just Requires More Unlabeled Datacited by 76
- 2019The Odds are Odd: A Statistical Test for Detecting Adversarial Examplescited by 75
- 2019Detecting Adversarial Samples Using Influence Functions and Nearest Neighborscited by 72
50 most cited of 65 All 65 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 3.
4 papers.
- 20233VL: Using Trees to Improve Vision-Language Models' Interpretabilitycited by 7
- 2025Test-time augmentation improves efficiency in conformal predictioncited by 3
- 2025Test-Time Defense Against Adversarial Attacks via Stochastic Resonance of Latent Ensemblescited by 2
- 2025Instance-Aware Test-Time Segmentation for Continual Domain Shiftscited by 1
- 2025Instance-Aware Test-Time Segmentation for Continual Domain Shifts9 Dec 2025
- 2025Test-Time Defense Against Adversarial Attacks via Stochastic Resonance of Latent Ensembles3 Oct 2025
- 2025Test-time augmentation improves efficiency in conformal prediction28 May 2025
- 20233VL: Using Trees to Improve Vision-Language Models' Interpretability28 Dec 2023