Combating Adversaries with Anti-adversaries
Motasem Alfarra, Juan C. Pérez, Ali K. Thabet, Adel Bibi, Philip H. S. Torr, Bernard Ghanem
Abstract
Deep neural networks are vulnerable to small input perturbations known as adversarial attacks. Inspired by the fact that these adversaries are constructed by iteratively minimizing the confidence of a network for the true class label, we propose the anti-adversary layer, aimed at countering this effect. In particular, our layer generates an input perturbation in the opposite direction of the adversarial one and feeds the classifier a perturbed version of the input. Our approach is trainingfree and theoretically supported. We verify the effectiveness of our approach by combining our layer with both nominally and robustly trained models and conduct large-scale experiments from black-box to adaptive attacks on CIFAR10, CIFAR100, and ImageNet. Our layer significantly enhances model robustness while coming at no cost on clean accuracy. 1
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
18 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Towards Evaluating the Robustness of Neural Networks cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
- Adversarial Purification with the Manifold Hypothesis cites Towards Evaluating the Robustness of Neural Networks
- Adversarial Purification with the Manifold Hypothesis cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- Adversarial Purification with the Manifold Hypothesis cites Evaluating the Adversarial Robustness of Adaptive Test-time Defenses
- Enhancing CLIP Robustness via Cross-Modality Alignment cites Towards Evaluating the Robustness of Neural Networks
- Enhancing CLIP Robustness via Cross-Modality Alignment cites Evaluating the Adversarial Robustness of Adaptive Test-time Defenses
- Adversarial Weight Perturbation Helps Robust Generalization cites Towards Evaluating the Robustness of Neural Networks
- Adversarial Weight Perturbation Helps Robust Generalization cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
- Adversarial Weight Perturbation Helps Robust Generalization cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- Adaptive Randomized Smoothing: Certified Adversarial Robustness for Multi-Step Defences cites On Adaptive Attacks to Adversarial Example Defenses
- Adaptive Randomized Smoothing: Certified Adversarial Robustness for Multi-Step Defences cites Evaluating the Adversarial Robustness of Adaptive Test-time Defenses
- Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks cites Towards Evaluating the Robustness of Neural Networks
- DISCO: Adversarial Defense with Local Implicit Functions cites Towards Evaluating the Robustness of Neural Networks
- DISCO: Adversarial Defense with Local Implicit Functions cites Adversarial Weight Perturbation Helps Robust Generalization
- DISCO: Adversarial Defense with Local Implicit Functions cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- DISCO: Adversarial Defense with Local Implicit Functions cites On Adaptive Attacks to Adversarial Example Defenses
- DISCO: Adversarial Defense with Local Implicit Functions cites Evaluating the Adversarial Robustness of Adaptive Test-time Defenses
- On Adaptive Attacks to Adversarial Example Defenses cites Towards Evaluating the Robustness of Neural Networks
- On Adaptive Attacks to Adversarial Example Defenses cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
- On Adaptive Attacks to Adversarial Example Defenses cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- Evaluating the Adversarial Robustness of Adaptive Test-time Defenses cites Towards Evaluating the Robustness of Neural Networks
- Evaluating the Adversarial Robustness of Adaptive Test-time Defenses cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
- Evaluating the Adversarial Robustness of Adaptive Test-time Defenses cites Adversarial Weight Perturbation Helps Robust Generalization
- Evaluating the Adversarial Robustness of Adaptive Test-time Defenses cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- Evaluating the Adversarial Robustness of Adaptive Test-time Defenses cites On Adaptive Attacks to Adversarial Example Defenses
Cited by top-tier papers18
- Evaluating the Adversarial Robustness of Adaptive Test-time DefensesFrancesco Croce, Sven Gowal, Thomas Brunner, Evan Shelhamer et al.ICML 2022 · 85 citations
- DISCO: Adversarial Defense with Local Implicit FunctionsChih-Hui Ho, Nuno VasconcelosNeurIPS 2022 · 65 citations
- Enhancing CLIP Robustness via Cross-Modality AlignmentXingyu Zhu, Beier Zhu, Shuo Wang, Kesen Zhao et al.NeurIPS 2025 · 17 citations
- Adaptive Randomized Smoothing: Certified Adversarial Robustness for Multi-Step DefencesSaiyue Lyu, Shadab Shaikh, Frederick Shpilevskiy, Evan Shelhamer et al.NeurIPS 2024 · 15 citations
- Adversarial Purification with the Manifold HypothesisZhaoyuan Yang, Zhiwei Xu, Jing Zhang, Richard I. Hartley et al.AAAI 2024 · 12 citations
Builds on9
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
- Distillation as a Defense to Adversarial Perturbations Against Deep Neural NetworksNicolas Papernot, Patrick D. McDaniel, Xi Wu, Somesh Jha et al.S&P 2016 · 3,275 citations
- Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacksFrancesco Croce, Matthias HeinICML 2020 · 2,337 citations
- On Adaptive Attacks to Adversarial Example DefensesFlorian Tramèr, Nicholas Carlini, Wieland Brendel, Aleksander MadryNeurIPS 2020 · 1,026 citations
- Adversarial Weight Perturbation Helps Robust GeneralizationDongxian Wu, Shu-Tao Xia, Yisen WangNeurIPS 2020 · 917 citations
Related papers
- Improving Adversarial Robustness by Putting More Regularizations on Less Robust SamplesDongyoon Yang, Insung Kong, Yongdai KimICML 2023 · 15 citations
- Data-Free Universal Attack by Exploiting the Intrinsic Vulnerability of Deep ModelsYangTian Yan, Jinyu TianAAAI 2025
- Explaining Adversarial Robustness of Neural Networks from Clustering Effect PerspectiveYulin Jin, Xiaoyu Zhang, Jian Lou, Xu Ma et al.ICCV 2023 · 3 citations
- One Man's Trash Is Another Man's Treasure: Resisting Adversarial Examples by Adversarial ExamplesChang Xiao, Changxi ZhengCVPR 2020
- Learn2Perturb: An End-to-End Feature Perturbation Learning to Improve Adversarial RobustnessAhmadreza Jeddi, Mohammad Javad Shafiee, Michelle Karg, Christian Scharfenberger et al.CVPR 2020
