Abstract
Deep neural networks are notoriously susceptible to adversarial examples—carefully crafted inputs designed to provoke incorrect classifications. This paper proposes a novel defense strategy that treats the base model as an "intuitive" System 1 and introduces a "deliberative" System 2 layer. By employing attribution-driven causal analysis, the system identifies and masks the most influential features contributing to a prediction. We demonstrate that adversarial perturbations are inherently more fragile than the redundant features of benign objects. Our method achieves high detection rates across various digital and physical attacks on ImageNet and MNIST without requiring model retraining.
Introduction
Despite their state-of-the-art performance, deep learning models remain brittle. Small, often imperceptible perturbations can trick these models into making confident but erroneous predictions. Current defenses typically fall into two categories: adversarial training, which is computationally expensive, or specialized detectors that often fail against unseen attack types.
This research addresses the fundamental gap between adversarial robustness and interpretability. The authors hypothesize that by using interpretability tools to examine which features a model prioritizes, one can distinguish between a legitimate decision based on object semantics and an exploit triggered by adversarial noise.
Methodology: System 1 and System 2 Reasoning
Drawing inspiration from Daniel Kahneman’s dual-process theory, the authors propose a framework where a standard neural network acts as "System 1" (fast, intuitive). A "System 2" (slow, deliberate) layer is then added to perform a causal sanity check on the prediction.
Attribution and Masking
The System 2 check follows a three-step process:
- Attribution (Integrated Gradients): For any given prediction, the system uses Integrated Gradients to assign an "importance score" to every input pixel, identifying which features most strongly influenced the label.
- Causal Neighborhood Definition: The system defines a "causal neighborhood" by incrementally masking (deactivating) the pixels with the highest positive attribution scores.
- Robustness Analysis: The model's decision stability is tested within this neighborhood. In benign images, the "concept" of an object (e.g., a boat) is distributed across many redundant features (hull, sails, mast). Masking a small percentage of top pixels should not immediately flip the label. Conversely, adversarial attacks often rely on concentrated, "load-bearing" perturbations. Masking these specific pixels causes the adversarial logic to collapse.
Experimental Results
The researchers evaluated the method on MNIST and ImageNet against a variety of attacks, including digital (FGSM, PGD, DeepFool, CW) and physical (Adversarial Patch, LaVAN).
Digital Attack Detection
On ImageNet, masking just the top 0.4% of high-attribution pixels caused adversarial labels to flip between 71% and 97% of the time, depending on the attack type. In contrast, benign images remained correctly classified 82% of the time under the same masking conditions. This clear divergence in "attribution robustness" allows for effective detection.
Physical Attack Detection
The method proved exceptionally effective against physically realizable attacks. Because patches (like a "banana" sticker used to spoof a "toaster" label) are highly concentrated in the attribution space, they are easily identified. Dropping the top 0.4% of attribution pixels detected 99.71% of "banana" patches and 98.14% of "toaster" patches on ImageNet.
Discussion and Limitations
A key advantage of this approach is that it is attack-agnostic and data-independent; it requires no knowledge of the specific attack method or access to the original training data. However, the reliance on Integrated Gradients introduces significant computational overhead, as it requires multiple forward and backward passes (e.g., 50 steps) per inference. This latency may limit its use in real-time safety-critical systems like autonomous driving.
Furthermore, while the defense is robust against current attacks, the authors note the potential for "adaptive attacks." A sophisticated adversary might attempt to spread their perturbation across the image to mimic the distributed attribution of natural objects, potentially bypassing the masking-based check.
Conclusion
By integrating interpretability into the defense pipeline, this work provides a powerful tool for detecting adversarial exploits. The distinction between the "brittle" nature of adversarial features and the "redundant" nature of benign features offers a promising path toward more transparent and robust machine learning systems.
Summary updated