Bridging Adversarial Robustness and Gradient Interpretability

Beomsu Kim, Junghoon Seo, Taegyun JeonarXiv 2019

Abstract

Adversarial training is a training scheme designed to counter adversarial attacks by augmenting the training dataset with adversarial examples. Surprisingly, several studies have observed that loss gradients from adversarially trained DNNs are visually more interpretable than those from standard DNNs. Although this phenomenon is interesting, there are only few works that have offered an explanation. In this paper, we attempted to bridge this gap between adversarial robustness and gradient interpretability. To this end, we identified that loss gradients from adversarially trained DNNs align better with human perception because adversarial training restricts gradients closer to the image manifold. We then demonstrated that adversarial training causes loss gradients to be quantitatively meaningful. Finally, we showed that under the adversarial training framework, there exists an empirical trade-off between test accuracy and loss gradient interpretability and proposed two potential approaches to resolving this trade-off.

Introduction

Deep Neural Networks (DNNs) are often criticized as "black boxes." Saliency maps—visualizations of the loss gradient with respect to the input—are a common tool used to interpret model logic. While standard models typically produce noisy, unintuitive saliency maps, adversarially trained models (trained on perturbed images) yield remarkably human-interpretable gradients that highlight salient object features like edges and textures. This paper investigates why this alignment occurs, whether it is quantitatively significant, and the nature of the trade-off between accuracy and interpretability.

Theoretical Framework: The Boundary Tilting Conjecture

Standard models often achieve high accuracy by exploiting low-variance, non-robust features in the data. This leads to "tilted" decision boundaries that are highly sensitive to small perturbations. Adversarial training acts as a regularizer, forcing the model to ignore these high-frequency noise patterns and instead rely on robust features that exist on the natural image manifold.

Visualization of decision boundaries on a 2D toy dataset. Standard training results in tilted boundaries that exploit noise, while adversarial training "straightens" these boundaries to align with robust data clusters.

Methodology

The authors evaluated models across MNIST, Fashion-MNIST (FMNIST), and CIFAR-10 datasets using several techniques:

  • Manifold Analysis: Using VAE-GANs to approximate the natural image manifold and measuring the L2 distance of adversarial examples to this manifold.
  • Quantitative Interpretability (ROAR & KAR): Metrics like Remove and Retrain (ROAR) and Keep and Retrain (KAR) were used to verify if the "interpretable" pixels are actually the ones the model relies on for classification.
  • Gradient Visualization: Comparing raw gradients and "Gradient × Input" across different training regimes.

Key Insights and Results

The study confirms that the visual clarity of robust gradients is not merely a cosmetic effect but reflects a fundamental change in model behavior.

Visual Interpretability

As shown in Figure 3, gradients from adversarially trained models are significantly cleaner and more aligned with human-recognizable features compared to standard models.

Comparison of gradients across different training methods and datasets. Adversarially trained models (L2 XEnt) produce gradients that clearly highlight object features compared to the noisy gradients of standard models.

Manifold Proximity and Quantitative Meaning

Adversarial examples from robust models stay closer to the natural image manifold. Furthermore, ROAR/KAR tests demonstrate that these gradients are quantitatively more meaningful; removing the "important" pixels identified by robust gradients degrades model performance significantly more than removing pixels identified by standard gradients.

The Accuracy-Interpretability Trade-off

A key finding is the existence of a "tax" on interpretability. As models become more robust and their gradients more interpretable, their standard test accuracy tends to decline. For instance, on CIFAR-10, improving interpretability metrics often coincided with a drop in accuracy from approximately 74% to 60%.

Conclusion and Future Directions

While adversarial training bridges the gap between robustness and interpretability, the associated accuracy trade-off remains a challenge. Future research may focus on combining adversarial training with global attribution methods like Integrated Gradients or exploring different norm constraints (e.g., $\ell_2$ vs $\ell_\infty$) to optimize the balance between performance and transparency.

Summary updated

BibTeX
@misc{kim2019bridging,
  author = {Beomsu Kim and Junghoon Seo and Taegyun Jeon},
  title = {{Bridging Adversarial Robustness and Gradient Interpretability}},
  year = {2019},
  eprint = {1903.11626},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.11626},
}
Figure