[Paper Review] Detecting Adversarial Perturbations with Saliency
This paper proposes a saliency-based binary classifier to detect adversarial examples by leveraging the discrepancy between true and adversarial saliency maps. The method trains on clean and perturbed images using gradient-based saliency, achieving 100% detection accuracy on MNIST and over 90% on CIFAR-10 and ImageNet subsets across diverse attacks, with strong generalization from strong to weak adversaries.
In this paper we propose a novel method for detecting adversarial examples by training a binary classifier with both origin data and saliency data. In the case of image classification model, saliency simply explain how the model make decisions by identifying significant pixels for prediction. A model shows wrong classification output always learns wrong features and shows wrong saliency as well. Our approach shows good performance on detecting adversarial perturbations. We quantitatively evaluate generalization ability of the detector, showing that detectors trained with strong adversaries perform well on weak adversaries.
Motivation & Objective
- To address the vulnerability of deep neural networks to adversarial examples that are imperceptible yet cause misclassification.
- To improve detection robustness by exploiting intrinsic model behavior differences in saliency maps between clean and adversarial inputs.
- To develop a detector that generalizes well across varying attack strengths and types, especially from strong to weak adversaries.
- To evaluate the detector’s resilience against adaptive, second-round attacks that bypass existing detection methods.
Proposed method
- The method trains a binary classifier using both original images and their adversarial counterparts, with input features derived from gradient-based saliency maps.
- Saliency maps are computed as the gradient of the model’s output with respect to the input image, highlighting pixels most influential for classification.
- The detector is trained to distinguish between clean samples (with correct saliency) and adversarial samples (with distorted saliency), exploiting that adversarial examples induce incorrect feature attention.
- The approach uses standard deep learning training with Adam optimizer on MNIST, CIFAR-10, and ImageNet subsets, with hyperparameters tuned per dataset.
- The detector is evaluated under multiple attack types: FGSM, iterative FGSM (l∞ and l2), JSMA, and C&W, using varying perturbation bounds (ε).
- Generalization is tested by training on strong adversaries (e.g., high ε) and evaluating on weaker ones (e.g., low ε), and vice versa.
Experimental results
Research questions
- RQ1Can saliency maps effectively expose adversarial perturbations by revealing incorrect feature attention in DNNs?
- RQ2Does a detector trained on strong adversaries generalize well to weaker adversaries, indicating robustness and transferability?
- RQ3Can the proposed method resist second-round attacks that target existing detection mechanisms?
- RQ4How does the detector perform across diverse datasets (MNIST, CIFAR-10, ImageNet) and attack types?
Key findings
- The detector achieved 100% detection accuracy on the MNIST dataset across all tested adversarial attacks.
- On CIFAR-10, the detector maintained over 90% accuracy across FGSM, iterative (l∞ and l2), JSMA, and C&W attacks.
- On the ImageNet subset, the detector achieved 89.83% test accuracy and maintained over 80% detection performance across all attack types and perturbation levels.
- Detectors trained on strong adversaries (e.g., high ε) generalized well to weaker adversaries, but not vice versa, confirming strong generalization capacity.
- The detector remained effective against second-round attacks, as existing adaptive attacks failed to generate effective adversaries that bypass it.
- Saliency-based detection outperformed standard N+1 detection methods in generalization and robustness, particularly under transferability and adaptive attack settings.
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.