[Paper Review] Bandlimiting Neural Networks Against Adversarial Attacks
This paper proposes a simple post-averaging defense method that bandlimits deep ReLU neural networks by smoothing high-frequency components in their Fourier spectrum, significantly improving robustness against adversarial attacks without retraining. The method defends over 95% of adversarial samples from FGSM, PGD, DeepFool, and C&W attacks on ImageNet with less than 1% accuracy drop on clean images.
In this paper, we study the adversarial attack and defence problem in deep learning from the perspective of Fourier analysis. We first explicitly compute the Fourier transform of deep ReLU neural networks and show that there exist decaying but non-zero high frequency components in the Fourier spectrum of neural networks. We demonstrate that the vulnerability of neural networks towards adversarial samples can be attributed to these insignificant but non-zero high frequency components. Based on this analysis, we propose to use a simple post-averaging technique to smooth out these high frequency components to improve the robustness of neural networks against adversarial attacks. Experimental results on the ImageNet dataset have shown that our proposed method is universally effective to defend many existing adversarial attacking methods proposed in the literature, including FGSM, PGD, DeepFool and C&W attacks. Our post-averaging method is simple since it does not require any re-training, and meanwhile it can successfully defend over 95% of the adversarial samples generated by these methods without introducing any significant performance degradation (less than 1%) on the original clean images.
Motivation & Objective
- To investigate the root cause of adversarial vulnerability in deep neural networks using Fourier analysis.
- To demonstrate that non-zero high-frequency components in the Fourier spectrum underlie model susceptibility to adversarial perturbations.
- To develop a simple, retraining-free defense mechanism effective against diverse adversarial attacks.
- To evaluate the robustness and efficiency of the proposed method across multiple attack types and evaluation criteria on ImageNet.
Proposed method
- The authors derive the explicit Fourier transform of fully-connected ReLU neural networks, revealing decaying but non-zero high-frequency components.
- They identify that these high-frequency components make models sensitive to small, imperceptible perturbations, leading to adversarial vulnerability.
- A post-averaging technique is proposed to smooth out these high-frequency components by averaging network outputs over a spherical neighborhood in input space.
- Two sampling strategies—random and approximate sampling—are used to efficiently compute the averaging, with the latter enabling faster inference.
- The method is applied as a post-processing step, requiring no model retraining or architectural changes.
- Defensive performance is evaluated using both top-1 and top-5 accuracy criteria under various attack settings.
Experimental results
Research questions
- RQ1Why are deep ReLU networks inherently vulnerable to adversarial attacks from a spectral perspective?
- RQ2To what extent do non-zero high-frequency components in the Fourier spectrum contribute to adversarial vulnerability?
- RQ3Can a simple, retraining-free post-processing technique effectively defend against diverse adversarial attacks?
- RQ4How does the choice of sampling strategy and radius affect the defense performance and inference efficiency?
- RQ5Does the method maintain high accuracy on clean images while achieving strong robustness across multiple attack types?
Key findings
- The proposed post-averaging method defends over 95% of adversarial samples generated by FGSM, PGD, DeepFool, and C&W attacks on ImageNet with less than 1% performance degradation on clean images.
- Using random sampling with K=60 and radius r=30, the method achieves a defense rate of 95.65% under the top-5-miss criterion for FGSM attacks.
- For PGD attacks under the top-5-miss criterion, the method achieves a defense rate of 97.68% with random sampling and K=60.
- The method maintains strong performance even with only K=6 sampling directions, reducing computation to 37 samples per image and enabling fast GPU inference.
- Approximate sampling shows slightly lower defense performance than random sampling but offers better computational efficiency.
- The defense performance is stable and robust across different attack types and evaluation metrics, indicating broad-spectrum effectiveness.
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.