Abstract
Deep neural networks (DNNs) are highly susceptible to adversarial examples (AEs)—inputs modified with imperceptible perturbations designed to cause misclassification. This paper introduces the Sensitivity Inconsistency Detector (SID), a novel framework that identifies AEs by exploiting their geometric fragility. By comparing the outputs of a standard primal classifier with a dual classifier trained in a wavelet-transform domain, SID detects the inherent instability of AEs near highly curved regions of the decision boundary. Our method achieves state-of-the-art performance on CIFAR-10 and SVHN benchmarks, demonstrating superior robustness against stealthy, low-perturbation attacks and excellent generalization across unseen attack types.
Introduction
Adversarial attacks represent a critical security vulnerability for real-world AI systems, such as autonomous vehicles and biometric authentication. Most existing defenses either attempt to increase model robustness—often at the cost of accuracy on clean data—or focus on detecting attacks post-hoc.
The authors observe a fundamental geometric property: AEs are typically crafted to target highly curved regions of a model's decision boundary, allowing them to cross into an incorrect class with minimal perturbation. In contrast, normal examples (NEs) tend to reside in regions where the decision boundary is relatively flat and stable. The challenge lies in exploiting this geometric fragility without compromising the model's performance on legitimate data.
Methodology
The proposed Sensitivity Inconsistency framework utilizes a dual-classifier approach to expose the instability of adversarial inputs.
Primal and Dual Classifiers
- Primal Classifier ($F$): A standard, pre-trained DNN architecture.
- Dual Classifier ($G$): A classifier designed to mimic the primal model's behavior on normal data but diverge significantly in the high-curvature regions where AEs are found.
To create this divergence, the authors employ a Weighted Average Wavelet Transform (WAWT). Training the dual classifier in this transform domain reduces dimensionality and introduces specific structural distortions. This process effectively "fluctuates" the decision boundary, making it a sensitive probe for adversarial instability.
The Detection Pipeline
When an input is processed, it is fed into both the Primal and Dual classifiers. The difference between their prediction confidences is extracted as a Sensitivity Inconsistency Feature. A compact, three-class detector is then trained on these features to categorize the input as a Normal Example (NE), an Adversarial Example (AE), or an "Inconsistent" example.
Geometric Intuition
The core innovation of SID is its reliance on geometric properties rather than specific pixel-level attack signatures. Normal images are stable because they are distant from the volatile parts of the decision boundary. AEs, however, are specifically optimized to sit near these curved regions. By perturbing the boundary via the WAWT transform, AEs are much more likely to be "flipped" back to their correct class or into an inconsistent state compared to normal images.
Experimental Results
The authors validated SID using CIFAR-10 and SVHN datasets against prominent attack methods including FGSM, BIM, DeepFool, and C&W across ResNet34 and VGG19 architectures.
- Superior Detection Accuracy: SID consistently outperformed state-of-the-art detectors such as Local Intrinsic Dimensionality (LID) and Mahalanobis Distance (MD), often achieving Area Under the Curve (AUC) scores exceeding 98-99%.
- Effectiveness Against Stealthy Attacks: SID is particularly adept at catching AEs with very low perturbation levels, which typically bypass other detection methods.
- Generalization: The method demonstrates strong cross-attack generalization. When trained on one attack type (e.g., DeepFool) and tested on another (e.g., C&W), SID maintains high performance, indicating it detects a fundamental property of adversariality rather than memorizing specific patterns.
Conclusion and Future Work
SID provides a robust and generalizable defense against adversarial attacks by leveraging sensitivity inconsistency in the spatial-transform domain. While highly effective, the dual-classifier approach effectively doubles inference latency, presenting a trade-off for real-time applications. Future research will focus on optimizing computational overhead and evaluating the framework on higher-resolution datasets like ImageNet to ensure real-world scalability.
Summary updated