Skip to main content
QUICK REVIEW

[Paper Review] Concise Explanations of Neural Networks using Adversarial Training

Prasad Chalasani, Jiefeng Chen|arXiv (Cornell University)|Oct 15, 2018
Adversarial Robustness in Machine LearningComputer Science23 references11 citations
TL;DR

This paper demonstrates that adversarial training with ℓ∞-bounded perturbations induces sparser, more concise feature attributions in deep neural networks, improving model explainability without sacrificing accuracy. Theoretical analysis and empirical results show that ℓ∞-adversarial training naturally promotes sparsity in Integrated Gradients and DeepSHAP attributions—outperforming ℓ1-regularization—while also enhancing explanation stability.

ABSTRACT

We show new connections between adversarial learning and explainability for deep neural networks (DNNs). One form of explanation of the output of a neural network model in terms of its input features, is a vector of feature-attributions. Two desirable characteristics of an attribution-based explanation are: (1) $ extit{sparseness}$: the attributions of irrelevant or weakly relevant features should be negligible, thus resulting in $ extit{concise}$ explanations in terms of the significant features, and (2) $ extit{stability}$: it should not vary significantly within a small local neighborhood of the input. Our first contribution is a theoretical exploration of how these two properties (when using attributions based on Integrated Gradients, or IG) are related to adversarial training, for a class of 1-layer networks (which includes logistic regression models for binary and multi-class classification); for these networks we show that (a) adversarial training using an $\ell_\infty$-bounded adversary produces models with sparse attribution vectors, and (b) natural model-training while encouraging stable explanations (via an extra term in the loss function), is equivalent to adversarial training. Our second contribution is an empirical verification of phenomenon (a), which we show, somewhat surprisingly, occurs $ extit{not only}$ $ extit{in 1-layer networks}$, $ extit{but also DNNs}$ $ extit{trained on }$ $ extit{standard image datasets}$, and extends beyond IG-based attributions, to those based on DeepSHAP: adversarial training with $\ell_\infty$-bounded perturbations yields significantly sparser attribution vectors, with little degradation in performance on natural test data, compared to natural training. Moreover, the sparseness of the attribution vectors is significantly better than that achievable via $\ell_1$-regularized natural training.

Motivation & Objective

  • Address the lack of concise and stable explanations in deep neural networks, which hinders trust and interpretability in high-stakes applications.
  • Investigate whether adversarial training, traditionally used for robustness, also improves the sparsity and stability of feature attribution methods like Integrated Gradients and DeepSHAP.
  • Explore theoretical and empirical connections between adversarial robustness and explainability, particularly in terms of feature attribution sparsity.
  • Demonstrate that adversarial training leads to more human-friendly, interpretable models by focusing on only the most relevant input features.
  • Compare the effectiveness of adversarial training against ℓ1-regularization in achieving sparse attributions while maintaining test accuracy.

Proposed method

  • Theoretical analysis of 1-layer neural networks (including logistic regression) with convex loss functions under ℓ∞-bounded adversarial training to derive conditions for weight shrinkage.
  • Use of Integrated Gradients (IG) and DeepSHAP as attribution methods to compute feature importance vectors for model inputs.
  • Formulate adversarial training as a robust optimization problem, where each training example is perturbed by the worst-case δ within an ℓ∞-ball of radius ε to maximize loss.
  • Introduce a stability regularization term in the loss function that is mathematically equivalent to adversarial training, linking explanation stability to adversarial robustness.
  • Empirically evaluate attribution sparsity using Gini index and visual saliency maps on MNIST, Fashion-MNIST, and CIFAR-10 datasets across three model types: natural, ℓ1-regularized, and ℓ∞-adversarially trained.
  • Compare attribution sparsity and model accuracy across models using metrics like Gini index and prediction confidence on natural test data.

Experimental results

Research questions

  • RQ1Does ℓ∞-adversarial training lead to sparser feature attribution vectors in deep neural networks compared to natural training?
  • RQ2Can adversarial training improve the stability of feature attributions within a local neighborhood of the input?
  • RQ3Is the sparsity induced by ℓ∞-adversarial training superior to that achieved via ℓ1-regularization in natural training?
  • RQ4To what extent does adversarial training enhance the conciseness of explanations without degrading model performance?
  • RQ5Are the theoretical connections between adversarial training and sparsity in 1-layer networks extendable to deeper DNNs on standard vision benchmarks?

Key findings

  • ℓ∞-adversarial training significantly increases the sparsity of Integrated Gradients and DeepSHAP attribution vectors across MNIST, Fashion-MNIST, and CIFAR-10 datasets.
  • Adversarially trained models achieve higher Gini indices (a measure of sparsity) than both natural and ℓ1-regularized models—e.g., Gini index of 0.9728 for adversarial MNIST vs. 0.9271 for natural training.
  • The sparsity improvement from adversarial training is visually and quantitatively more pronounced with DeepSHAP than with Integrated Gradients, especially on MNIST and Fashion-MNIST.
  • Adversarial training maintains high test accuracy on natural data, with minimal performance degradation compared to natural training, indicating no trade-off between robustness and accuracy.
  • Theoretical analysis confirms that ℓ∞-adversarial training shrinks weights of weak features more aggressively than natural training, leading to sparser attributions.
  • Stability of attributions is inherently improved through adversarial training, as the method implicitly regularizes local behavior around inputs, reducing sensitivity to small perturbations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.