[Paper Review] Defending against Adversarial Images using Basis Functions Transformations
This paper evaluates multiple test-time defenses based on basis-function manipulations (JPEG, DCT/wavelet-like methods, PCA, soft-thresholding) against black, gray, and white-box adversarial attacks, and introduces a novel white-box attack called Filtered Gradient Attack.
We study the effectiveness of various approaches that defend against adversarial attacks on deep networks via manipulations based on basis function representations of images. Specifically, we experiment with low-pass filtering, PCA, JPEG compression, low resolution wavelet approximation, and soft-thresholding. We evaluate these defense techniques using three types of popular attacks in black, gray and white-box settings. Our results show JPEG compression tends to outperform the other tested defenses in most of the settings considered, in addition to soft-thresholding, which performs well in specific cases, and yields a more mild decrease in accuracy on benign examples. In addition, we also mathematically derive a novel white-box attack in which the adversarial perturbation is composed only of terms corresponding a to pre-determined subset of the basis functions, of which a "low frequency attack" is a special case.
Motivation & Objective
- Motivate and assess defense strategies that operate in the basis-function space to mitigate adversarial perturbations.
- Compare performance of several pre-processing defenses across black-box, gray-box, and white-box threat models.
- Identify defenses that preserve accuracy on benign images while reducing adversarial success.
- Provide a new white-box attack (Filtered Gradient Attack) that targets only a subset of basis functions.
Proposed method
- Apply each defense as a test-time pre-processing step on benign and adversarial images.
- Evaluate defenses under FGSM, I-FGSM, and C&W attacks.
- Use low-pass Fourier filtering, PCA (image-wise and patch-wise), wavelet approximation, soft-thresholding, and JPEG compression.
- Propose and formalize Filtered Gradient Attack (FGA) and discuss Backward Pass Differentiable Approximation (BPDA) within white-box settings.
Experimental results
Research questions
- RQ1Which basis-function based pre-processing defenses most effectively mitigate adversarial perturbations across black-box, gray-box, and white-box settings?
- RQ2How do these defenses trade off robustness to adversarial examples against accuracy on benign images?
- RQ3What is the impact of a novel white-box attack that constrains perturbations to a predetermined subset of basis functions?
- RQ4Does JPEG compression consistently outperform other basis-based defenses across threat models?
Key findings
- JPEG compression generally outperforms other defenses in black-box and gray-box settings and in two white-box schemes examined.
- Soft-thresholding provides strong defense in certain cases and causes milder accuracy loss on benign images.
- Wavelet-based methods (level-1 approximation and soft-thresholding) yield smaller benign accuracy penalties than some alternatives.
- Other methods like low-pass filtering and PCA-based denoising show weaker or mixed effectiveness against adversarial attacks.
- A novel white-box attack, Filtered Gradient Attack, targets only retained basis functions, enabling attacks that align with low-frequency or other chosen subsets.
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.