Abstract
Deep Neural Networks (DNNs) have recently led to significant improvements in many fields. However, DNNs are vulnerable to adversarial examples which are samples with imperceptible perturbations while dramatically misleading the DNNs. Moreover, adversarial examples can be used to perform an attack on various kinds of DNN based systems, even if the adversary has no access to the underlying model. Many defense methods have been proposed, such as obfuscating gradients of the networks or detecting adversarial examples. However it is proved out that these defense methods are not effective or cannot resist secondary adversarial attacks. In this paper, we point out that steganalysis can be applied to adversarial examples detection, and propose a method to enhance steganalysis features by estimating the probability of modifications caused by adversarial attacks. Experimental results show that the proposed method can accurately detect adversarial examples. Moreover, secondary adversarial attacks cannot be directly performed to our method because our method is not based on a neural network but based on high-dimensional artificial features and FLD (Fisher Linear Discriminant) ensemble.
Introduction
Deep Neural Networks (DNNs) are notoriously fragile. An attacker can add "adversarial noise"—perturbations so small they are invisible to humans—to an image, causing a state-of-the-art model to misclassify a "panda" as a "gibbon." Existing defenses generally fall into two camps: robustness-based (adversarial training) and detection-based (spotting the "fake" image). However, many detection methods are themselves neural networks, creating a "cat-and-mouse" game where attackers perform "secondary attacks" to fool the detector. Furthermore, many defenses fail against strong, optimization-based attacks like the Carlini & Wagner (C&W) attack.
Methodology
The proposed defense is inspired by steganalysis—the science of detecting hidden messages in digital media. The core idea is to treat adversarial noise as a form of "accidental steganography."
Steganalysis Foundation
Natural images have strong dependencies between adjacent pixels. Adversarial attacks break these dependencies. The authors utilize two classic steganalysis feature sets:
- SPAM (Subtractive Pixel Adjacency Matrix): Models pixel differences using Markov chains (686 features).
- SRM (Spatial Rich Model): A high-dimensional model using 45 different pixel predictors to capture noise residuals (34,671 features).
The Modification Probability Map (MPM)
Standard steganalysis assumes any pixel could be changed. However, adversarial attacks are targeted; they tend to modify pixels where the network's gradient is highest. The authors propose the MPM to estimate which pixels are most likely to have been tampered with. By calculating gradients across several random target classes, they build a map that highlights suspicious regions.
Feature Enhancement and Classification
The statistical features are weighted by the MPM to create Enhanced SPAM (ESPAM) and Enhanced SRM (ESRM). This forces the detector to prioritize areas where adversarial noise is likely to hide. Instead of a neural network, the system uses an FLD (Fisher Linear Discriminant) ensemble. Because this classifier is not gradient-based, it is significantly harder for an attacker to calculate a bypass strategy.
Experimental Results
The researchers evaluated their method using the ImageNet-1000 dataset against four major attack types: FGSM, IGSM, Deepfool, and the C&W attack. A pretrained VGG-16 model served as the target classification network.
The proposed ESRM outperformed existing state-of-the-art detection methods across the board. Against FGSM and IGSM, ESRM achieved over 98% detection accuracy. Notably, against the sophisticated C&W attack—where previous methods like RBF-SVM were essentially guessing (accuracy ~51-53%)—ESRM reached 93.4% accuracy. The "Enhanced" versions consistently outperformed their baseline counterparts, validating the effectiveness of the MPM.
Conclusion
By viewing adversarial noise as a hidden signal detectable through digital forensics, this method provides a robust defense that breaks the gradient chain used in secondary attacks. While highly effective on large images, the method faces challenges with small images (like MNIST) due to insufficient spatial data and carries a higher computational cost due to the high-dimensional feature extraction required by SRM.
Summary updated