[Paper Review] Heat and Blur: An Effective and Fast Defense Against Adversarial Examples
This paper proposes a novel, fast, and architecture-agnostic defense against adversarial examples by leveraging Layer-wise Relevance Propagation (LRP) to generate saliency heatmaps, which guide a blurring-based input transformation that preserves semantic content while corrupting adversarial perturbations. The method achieves strong robustness on ImageNet using VGG19, with attacks failing in over 99% of attempts when perturbations are constrained to low-activity regions.
The growing incorporation of artificial neural networks (NNs) into many fields, and especially into life-critical systems, is restrained by their vulnerability to adversarial examples (AEs). Some existing defense methods can increase NNs' robustness, but they often require special architecture or training procedures and are irrelevant to already trained models. In this paper, we propose a simple defense that combines feature visualization with input modification, and can, therefore, be applicable to various pre-trained networks. By reviewing several interpretability methods, we gain new insights regarding the influence of AEs on NNs' computation. Based on that, we hypothesize that information about the "true" object is preserved within the NN's activity, even when the input is adversarial, and present a feature visualization version that can extract that information in the form of relevance heatmaps. We then use these heatmaps as a basis for our defense, in which the adversarial effects are corrupted by massive blurring. We also provide a new evaluation metric that can capture the effects of both attacks and defenses more thoroughly and descriptively, and demonstrate the effectiveness of the defense and the utility of the suggested evaluation measurement with VGG19 results on the ImageNet dataset.
Motivation & Objective
- To develop a defense against adversarial examples that is effective, fast, and applicable to already-trained neural networks without architectural or training modifications.
- To explore the interpretability of neural networks through LRP to gain insights into how adversarial examples affect model decisions.
- To design a defense mechanism that leverages feature visualization to identify and preserve semantically relevant image regions while removing subtle adversarial noise.
- To introduce a new evaluation metric that more descriptively captures the impact of both attacks and defenses on model behavior.
Proposed method
- The method uses Layer-wise Relevance Propagation (LRP) to generate pixel-wise relevance heatmaps that highlight the input features most influential in the network’s prediction.
- The top 5% of pixels with highest relevance scores are identified as the primary object region and preserved during input transformation.
- A Gaussian blur is applied to the remaining 95% of pixels to corrupt adversarial perturbations while retaining semantic content.
- The defense is applied at inference time, requiring no retraining or architectural changes, making it compatible with pre-trained models.
- An adaptive attack algorithm is proposed that iteratively updates the adversarial example using the heatmap mask to guide perturbation placement.
- The defense is evaluated using a new metric that quantifies the impact of attacks and defenses on both robustness and clean accuracy.
Experimental results
Research questions
- RQ1Can interpretability methods like LRP reveal preserved semantic information in adversarial examples, even when the input is perturbed?
- RQ2Can a defense based on LRP heatmaps effectively reduce the success rate of adversarial attacks without retraining or architectural changes?
- RQ3How does blurring non-relevant image regions based on LRP heatmaps affect the robustness of pre-trained models against adversarial attacks?
- RQ4To what extent do adversarial attacks fail when constrained to perturb the most relevant image regions identified by LRP?
- RQ5Can a new evaluation metric better capture the nuanced effects of adversarial attacks and defenses than standard accuracy measures?
Key findings
- The defense achieved a success rate of less than 1% in generating successful adversarial examples when attacks were constrained to perturb only the 5% most relevant pixels identified by LRP.
- Adversarial examples that were successfully generated under the constraint were misclassified with low confidence and into semantically related classes, indicating limited attack effectiveness.
- The proposed evaluation metric provided a more descriptive and comprehensive analysis of attack and defense performance compared to standard accuracy metrics.
- The method demonstrated strong robustness on the ImageNet dataset using a pre-trained VGG19 model, with minimal computational overhead during inference.
- The defense remains effective even when attacks attempt to adaptively target the heatmap-guided regions, suggesting resilience to adaptive attack strategies.
- The study highlights that interpretability methods such as LRP can be repurposed not only for explanation but also for defense, offering a new paradigm for robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.