Shield: Fast, Practical Defense and Vaccination for Deep Learning using JPEG Compression
Not on the map. Why?
Abstract (arXiv)
The rapidly growing body of research in adversarial machine learning has demonstrated that deep neural networks (DNNs) are highly vulnerable to adversarially generated images. This underscores the urgent need for practical defense that can be readily deployed to combat attacks in real-time. Observing that many attack strategies aim to perturb image pixels in ways that are visually imperceptible, we place JPEG compression at the core of our proposed Shield defense framework, utilizing its capability to effectively "compress away" such pixel manipulation. To immunize a DNN model from artifacts introduced by compression, Shield "vaccinates" a model by re-training it with compressed images, where different compression levels are applied to generate multiple vaccinated models that are ultimately used together in an ensemble defense. On top of that, Shield adds an additional layer of protection by employing randomization at test time that compresses different regions of an image using random compression levels, making it harder for an adversary to estimate the transformation performed. This novel combination of vaccination, ensembling, and randomization makes Shield a fortified multi-pronged protection. We conducted extensive, large-scale experiments using the ImageNet dataset, and show that our approaches eliminate up to 94% of black-box attacks and 98% of gray-box attacks delivered by the recent, strongest attacks, such as Carlini-Wagner's L2 and DeepFool. Our approaches are fast and work without requiring knowledge about the model.
Key facts. Cited by 74 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 Feb 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 19; 2022: 18; 2023: 7; 2024: 13; 2025: 13; 2026: 4.
74 papers.
Sort:
By area:
- 2023Adversarial Example Does Good: Preventing Painting Imitation from Diffusion Models via Adversarial Examplescited by 163
- 2022Improving Vision Transformers by Revisiting High-frequency Componentscited by 75
- 2021On Generating Transferable Targeted Perturbationscited by 65
- 2021AdvDrop: Adversarial Attack to DNNs by Dropping Informationcited by 55
- 2021Tensor Methods in Computer Vision and Deep Learningcited by 52
- 2021Indicators of Attack Failure: Debugging and Improving Optimization of Adversarial Examplescited by 23
- 2024Watermark-embedded Adversarial Examples for Copyright Protection against Diffusion Modelscited by 22
- 2024MirrorCheck: Efficient Adversarial Defense for Vision-Language Modelscited by 19
- 2021Universal Adversarial Perturbations Through the Lens of Deep Steganography: Towards A Fourier Perspectivecited by 18
- 2021Demiguise Attack: Crafting Invisible Semantic Adversarial Perturbations with Perceptual Similaritycited by 18
- 2023Targeted Attack Improves Protection against Unauthorized Diffusion Customizationcited by 18
- 2024Instant Adversarial Purification with Adversarial Consistency Distillationcited by 14
38 more
- 2021NetFense: Adversarial Defenses against Privacy Attacks on Neural Networks for Graph Datacited by 13
- 2022Illusory Attacks: Information-Theoretic Detectability Matters in Adversarial Attackscited by 12
- 2022Imperceptible Adversarial Attack via Invertible Neural Networkscited by 12
- 2025IAG: Input-aware Backdoor Attack on VLM-based Visual Groundingcited by 11
- 2021Dompteur: Taming Audio Adversarial Examplescited by 10
- 2024Personalized Privacy Protection Mask Against Unauthorized Facial Recognitioncited by 10
- 2021Check Your Other Door! Creating Backdoor Attacks in the Frequency Domaincited by 9
- 2021Impact of Spatial Frequency Based Constraints on Adversarial Robustnesscited by 8
- 2022Practical No-box Adversarial Attacks with Training-free Hybrid Image Transformationcited by 8
- 2023Defense against Adversarial Cloud Attack on Remote Sensing Salient Object Detectioncited by 8
- 2024Imperio: Language-Guided Backdoor Attacks for Arbitrary Model Controlcited by 8
- 2024Scaling Laws for Black box Adversarial Attackscited by 8
- 2025AdPO: Enhancing the Adversarial Robustness of Large Vision-Language Models with Preference Optimizationcited by 8
- 2022MiDAS: Multi-integrated Domain Adaptive Supervision for Fake News Detectioncited by 7
- 2022Efficient Adversarial Training With Data Pruningcited by 7
- 2025AdvAD: Exploring Non-Parametric Diffusion for Imperceptible Adversarial Attackscited by 7
- 2022Self-recoverable Adversarial Examples: A New Effective Protection Mechanism in Social Networkscited by 6
- 2022Scale-free and Task-agnostic Attack: Generating Photo-realistic Adversarial Patterns with Patch Quilting Generatorcited by 5
- 2023Improving Model Generalization by On-manifold Adversarial Augmentation in the Frequency Domaincited by 5
- 2023Adversarial Item Promotion on Visually-Aware Recommender Systems by Guided Diffusioncited by 5
- 2024Invisible Backdoor Attack against Self-supervised Learningcited by 5
- 2025VideoPure: Diffusion-based Adversarial Purification for Video Recognitioncited by 5
- 2025Enhancing Certified Robustness via Block Reflector Orthogonal Layers and Logit Annealing Losscited by 5
- 2021Moir'e Attack (MA): A New Potential Risk of Screen Photoscited by 4
- 2025Exploring Adversarial Transferability between Kolmogorov-arnold Networkscited by 4
- 2021Human Imperceptible Attacks and Applications to Improve Fairnesscited by 3
- 2022Wavelet Regularization Benefits Adversarial Trainingcited by 3
- 2022Hindering Adversarial Attacks with Implicit Neural Representationscited by 3
- 2024PureGen: Universal Data Purification for Train-Time Poison Defense via Generative Model Dynamicscited by 3
- 2025AdvSwap: Covert Adversarial Perturbation with High Frequency Info-swapping for Autonomous Driving Perceptioncited by 3
- 2025Improving Generalization of Universal Adversarial Perturbation via Dynamic Maximin Optimizationcited by 3
- 2026SlowBA: An efficiency backdoor attack towards VLM-based GUI agentscited by 3
- 2021Error Diffusion Halftoning Against Adversarial Examplescited by 2
- 2021Defenses Against Multi-Sticker Physical Domain Attacks on Classifierscited by 2
- 2021Countering Adversarial Examples: Combining Input Transformation and Noisy Trainingcited by 2
- 2021Adversarial Attack across Datasetscited by 2
- 2021Saliency Diversified Deep Ensemble for Robustness to Adversariescited by 2
- 2022Memory Defense: More Robust Classification via a Memory-Masking Autoencodercited by 2
50 most cited of 74 All 74 (JSON)
- 2026ARMOR: Manifold-Oriented Training for Adversarially Robust Aerial Object Detection under Data Scarcity30 Aug 2026
- 2026SoK: A Comprehensive Analysis of the Current Status of Neural Tangent Generalization Attacks with Research Directions12 May 2026
- 2026MetaCloak-JPEG: JPEG-Robust Adversarial Perturbation for Preventing Unauthorized DreamBooth-Based Deepfake Generation20 Apr 2026
- 2026SlowBA: An efficiency backdoor attack towards VLM-based GUI agents9 Mar 2026
- 2025Breaking the Illusion: Consensus-Based Generative Mitigation of Adversarial Illusions in Multi-Modal Embeddings26 Nov 2025
- 2025Concept-SAE: A Controllable and Invertible Concept Interface for Sparse Autoencoders26 Sep 2025
- 2025IAG: Input-aware Backdoor Attack on VLM-based Visual Grounding13 Aug 2025
- 2025DBLP: Noise Bridge Consistency Distillation For Efficient And Reliable Adversarial Purification1 Aug 2025
- 2025Universal and Efficient Detection of Adversarial Data through Nonuniform Impact on Network Layers25 Jun 2025
- 2025Enhancing Certified Robustness via Block Reflector Orthogonal Layers and Logit Annealing Loss21 May 2025
- 2025AdPO: Enhancing the Adversarial Robustness of Large Vision-Language Models with Preference Optimization2 Apr 2025
- 2025Improving Generalization of Universal Adversarial Perturbation via Dynamic Maximin Optimization17 Mar 2025
38 more
- 2025AdvAD: Exploring Non-Parametric Diffusion for Imperceptible Adversarial Attacks12 Mar 2025
- 2025AnywhereDoor: Multi-Target Backdoor Attacks on Object Detection9 Mar 2025
- 2025Exploring Adversarial Transferability between Kolmogorov-arnold Networks8 Mar 2025
- 2025AdvSwap: Covert Adversarial Perturbation with High Frequency Info-swapping for Autonomous Driving Perception12 Feb 2025
- 2025VideoPure: Diffusion-based Adversarial Purification for Video Recognition25 Jan 2025
- 2024Scaling Laws for Black box Adversarial Attacks25 Nov 2024
- 2024AnywhereDoor: Multi-Target Backdoor Attacks on Object Detection21 Nov 2024
- 2024Detecting Adversarial Examples22 Oct 2024
- 2024Instant Adversarial Purification with Adversarial Consistency Distillation30 Aug 2024
- 2024Personalized Privacy Protection Mask Against Unauthorized Facial Recognition19 Jul 2024
- 2024MirrorCheck: Efficient Adversarial Defense for Vision-Language Models13 Jun 2024
- 2024PureGen: Universal Data Purification for Train-Time Poison Defense via Generative Model Dynamics28 May 2024
- 2024Invisible Backdoor Attack against Self-supervised Learning23 May 2024
- 2024Watermark-embedded Adversarial Examples for Copyright Protection against Diffusion Models15 Apr 2024
- 2024PASA: Attack Agnostic Unsupervised Adversarial Detection using Prediction & Attribution Sensitivity Analysis12 Apr 2024
- 2024A Survey of Neural Network Robustness Assessment in Image Recognition12 Apr 2024
- 2024Data-Driven Subsampling in the Presence of an Adversarial Actor7 Jan 2024
- 2024Imperio: Language-Guided Backdoor Attacks for Arbitrary Model Control2 Jan 2024
- 2023Adversarial Item Promotion on Visually-Aware Recommender Systems by Guided Diffusion25 Dec 2023
- 2023Targeted Attack Improves Protection against Unauthorized Diffusion Customization7 Oct 2023
- 2023Defense against Adversarial Cloud Attack on Remote Sensing Salient Object Detection30 Jun 2023
- 2023A Spectral Perspective towards Understanding and Improving Adversarial Robustness25 Jun 2023
- 2023Improving Model Generalization by On-manifold Adversarial Augmentation in the Frequency Domain28 Feb 2023
- 2023Adversarial Example Does Good: Preventing Painting Imitation from Diffusion Models via Adversarial Examples9 Feb 2023
- 2023Towards Large Certified Radius in Randomized Smoothing using Quasiconcave Optimization1 Feb 2023
- 2022Imperceptible Adversarial Attack via Invertible Neural Networks28 Nov 2022
- 2022ATEAM: Knowledge Integration from Federated Datasets for Vehicle Feature Extraction using Annotation Team of Experts16 Nov 2022
- 2022Hindering Adversarial Attacks with Implicit Neural Representations22 Oct 2022
- 2022A Perturbation Resistant Transformation and Classification System for Deep Neural Networks25 Aug 2022
- 2022Learning to Structure an Image with Few Colors and Beyond17 Aug 2022
- 2022Scale-free and Task-agnostic Attack: Generating Photo-realistic Adversarial Patterns with Patch Quilting Generator12 Aug 2022
- 2022FBI: Fingerprinting models with Benign Inputs5 Aug 2022
- 2022Illusory Attacks: Information-Theoretic Detectability Matters in Adversarial Attacks20 Jul 2022
- 2022Efficient Adversarial Training With Data Pruning1 Jul 2022
- 2022Wavelet Regularization Benefits Adversarial Training8 Jun 2022
- 2022FACM: Intermediate Layer Still Retain Effective Features against Adversarial Examples2 Jun 2022
- 2022Constructive Interpretability with CoLabel: Corroborative Integration, Complementary Features, and Collaborative Learning20 May 2022
- 2022MiDAS: Multi-integrated Domain Adaptive Supervision for Fake News Detection19 May 2022
50 newest of 74 All 74 (JSON)
- 2023Adversarial Example Does Good: Preventing Painting Imitation from Diffusion Models via Adversarial Examplescited by 163
- 2024Watermark-embedded Adversarial Examples for Copyright Protection against Diffusion Modelscited by 22
- 2023Targeted Attack Improves Protection against Unauthorized Diffusion Customizationcited by 18
- 2023Adversarial Item Promotion on Visually-Aware Recommender Systems by Guided Diffusioncited by 5
- 2025VideoPure: Diffusion-based Adversarial Purification for Video Recognitioncited by 5
- 2024PureGen: Universal Data Purification for Train-Time Poison Defense via Generative Model Dynamicscited by 3
- 2026MetaCloak-JPEG: JPEG-Robust Adversarial Perturbation for Preventing Unauthorized DreamBooth-Based Deepfake Generationcited by 1
- 2026MetaCloak-JPEG: JPEG-Robust Adversarial Perturbation for Preventing Unauthorized DreamBooth-Based Deepfake Generation20 Apr 2026
- 2025VideoPure: Diffusion-based Adversarial Purification for Video Recognition25 Jan 2025
- 2024PureGen: Universal Data Purification for Train-Time Poison Defense via Generative Model Dynamics28 May 2024
- 2024Watermark-embedded Adversarial Examples for Copyright Protection against Diffusion Models15 Apr 2024
- 2023Adversarial Item Promotion on Visually-Aware Recommender Systems by Guided Diffusion25 Dec 2023
- 2023Targeted Attack Improves Protection against Unauthorized Diffusion Customization7 Oct 2023
- 2023Adversarial Example Does Good: Preventing Painting Imitation from Diffusion Models via Adversarial Examples9 Feb 2023
- 2022Improving Vision Transformers by Revisiting High-frequency Componentscited by 75
- 2021On Generating Transferable Targeted Perturbationscited by 65
- 2021AdvDrop: Adversarial Attack to DNNs by Dropping Informationcited by 55
- 2021Tensor Methods in Computer Vision and Deep Learningcited by 52
- 2021Indicators of Attack Failure: Debugging and Improving Optimization of Adversarial Examplescited by 23
- 2021Universal Adversarial Perturbations Through the Lens of Deep Steganography: Towards A Fourier Perspectivecited by 18
- 2021Demiguise Attack: Crafting Invisible Semantic Adversarial Perturbations with Perceptual Similaritycited by 18
- 2024Instant Adversarial Purification with Adversarial Consistency Distillationcited by 14
- 2021NetFense: Adversarial Defenses against Privacy Attacks on Neural Networks for Graph Datacited by 13
- 2022Illusory Attacks: Information-Theoretic Detectability Matters in Adversarial Attackscited by 12
- 2022Imperceptible Adversarial Attack via Invertible Neural Networkscited by 12
- 2021Dompteur: Taming Audio Adversarial Examplescited by 10
12 most cited of 62 All 62 (JSON)
- 2026ARMOR: Manifold-Oriented Training for Adversarially Robust Aerial Object Detection under Data Scarcity30 Aug 2026
- 2026SoK: A Comprehensive Analysis of the Current Status of Neural Tangent Generalization Attacks with Research Directions12 May 2026
- 2025Breaking the Illusion: Consensus-Based Generative Mitigation of Adversarial Illusions in Multi-Modal Embeddings26 Nov 2025
- 2025Concept-SAE: A Controllable and Invertible Concept Interface for Sparse Autoencoders26 Sep 2025
- 2025DBLP: Noise Bridge Consistency Distillation For Efficient And Reliable Adversarial Purification1 Aug 2025
- 2025Universal and Efficient Detection of Adversarial Data through Nonuniform Impact on Network Layers25 Jun 2025
- 2025Enhancing Certified Robustness via Block Reflector Orthogonal Layers and Logit Annealing Loss21 May 2025
- 2025Improving Generalization of Universal Adversarial Perturbation via Dynamic Maximin Optimization17 Mar 2025
- 2025AdvAD: Exploring Non-Parametric Diffusion for Imperceptible Adversarial Attacks12 Mar 2025
- 2025AnywhereDoor: Multi-Target Backdoor Attacks on Object Detection9 Mar 2025
- 2025Exploring Adversarial Transferability between Kolmogorov-arnold Networks8 Mar 2025
- 2025AdvSwap: Covert Adversarial Perturbation with High Frequency Info-swapping for Autonomous Driving Perception12 Feb 2025
12 newest of 62 All 62 (JSON)