Abstract
Deep neural networks (DNNs) are notoriously vulnerable to adversarial attacks and often function as opaque "black boxes." While previous research has demonstrated that adversarially robust models naturally produce more human-interpretable gradients, this study investigates the inverse relationship. By introducing Interpretation Regularization (IR), a technique that explicitly trains models to produce interpretable gradients, the authors demonstrate that forcing a model to rely on human-aligned features significantly enhances its adversarial robustness. This suggests a bidirectional causality between interpretability and security in deep learning.
Introduction
Deep Neural Networks (DNNs) face two critical challenges: they are easily manipulated by imperceptible adversarial perturbations, and their internal decision-making processes remain largely incomprehensible to humans. Recent observations have linked these issues, noting that models trained for robustness (e.g., via adversarial training) tend to exhibit gradients that visually align with intuitive human features.
However, the causality of this relationship has primarily been explored in one direction—from robustness to interpretability. This paper addresses the converse: If we explicitly train a network to ensure its gradients are interpretable, will it naturally become robust against adversarial attacks?
Methodology
To test this hypothesis, the authors propose Interpretation Regularization (IR). Unlike standard training, which minimizes only classification error, IR incorporates two additional penalty terms into the loss function:
- Magnitude Suppression: This term keeps the magnitude of the model's simple gradient salience map small, similar to Jacobian Regularization (JR), to reduce sensitivity to input changes.
- Gradient Alignment: This term forces the direction of the model's gradient to match a predefined "target interpretation" (a high-quality salience map).
Target Interpretations
The target interpretations are extracted from an existing adversarially trained (robust) teacher model. The authors evaluated two types of targets:
- Simple Gradients: Raw gradient maps from the robust model.
- SmoothGrad: A more refined technique that averages gradients over noisy versions of the input to produce cleaner, highly interpretable maps.
To verify that the semantic content of the interpretation is the driver of robustness, the authors conducted an ablation study where the pixels of the target interpretations were randomly permuted (scrambled) before training, destroying spatial patterns while preserving statistical distributions.
Experimental Results
The experiments were conducted on the MNIST and CIFAR-10 benchmarks, comparing IR against standard training and Jacobian Regularization (JR).
Performance on CIFAR-10
Under an $L_\infty$ attack ($\epsilon=4/255$), standard training accuracy collapsed to 0.74%. While Jacobian Regularization improved this to 42.22%, IR using SmoothGrad targets achieved a superior 48.17%. This indicates that guiding the model's attention toward specific semantic features is more effective than broadly suppressing sensitivity.
Surpassing the Teacher
In extreme attack scenarios, such as MNIST $L_\infty$ attacks with a large $\epsilon=0.30$ perturbation, IR with SmoothGrad targets achieved 11.52% accuracy, actually surpassing the 10.94% robustness of the adversarially trained teacher model from which the targets were derived.
The Role of Semantics
The permutation experiment provided a crucial insight: as the probability of permuting the target interpretation increased from 0% to 100%, the model's adversarial robustness steadily declined. This confirms that the semantic layout of the features—the actual "meaning" of the interpretation—is what provides the security benefit, rather than the mere mathematical presence of a regularization term.
Discussion and Key Insights
- Interpretability as a Defense: The research proves that the relationship between explainability and security is a two-way street. Forcing a model to base decisions on "human-like" features makes it inherently harder for attackers to exploit non-semantic noise.
- Quality Matters: Training to mimic SmoothGrad yielded better results than simple gradients. Because SmoothGrad filters visual noise to highlight core features, the resulting model learns a more stable and robust representation.
- Targeted Regularization: While standard JR suppresses the entire input-logits Jacobian matrix, IR only regularizes the gradient slice for the correct class. This targeted approach suggests that where a model looks is as important as how much it reacts to input changes.
Conclusion and Future Work
Interpretation Regularization successfully demonstrates that interpretability can drive robustness. However, the authors note a significant limitation: IR currently functions as a distillation technique, requiring a pre-existing robust model to generate target interpretations. This creates a "chicken-and-egg" problem for standalone deployment.
Future research should focus on generating high-quality, interpretable target maps without the need for an expensive adversarially trained teacher. Solving this could lead to highly efficient training methods that produce models that are both transparent and secure by design.
Summary updated