NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Concise Explanations of Neural Networks using Adversarial Training

Prasad Chalasani, Jiefeng Chen, Amrita Roy Chowdhury, Xi Wu, Somesh JhaICML 2020

While traditionally used to defend models against malicious attacks, adversarial training is also a powerful tool for making AI more interpretable. This research demonstrates that training models to be robust against small perturbations (specifically, $\ell_\infty$-bounded attacks) naturally forces them to produce "sparse" and "stable" explanations. This makes it significantly easier for humans to identify which features actually drive a model's decision.

The Explainability Problem

Deep Neural Networks (DNNs) are notoriously opaque "black boxes." To peek inside, researchers often use feature attribution—a technique that assigns a score to each input feature (like a pixel in an image) to show how much it contributed to the final prediction.

However, these explanations face two major hurdles:

  1. Lack of Sparsity: Explanations are often "noisy." Even irrelevant features receive tiny attribution scores, resulting in a cluttered "saliency map" that is hard for a human to interpret. Ideally, we want concise explanations where only the truly important features stand out.
  2. Instability: Small, imperceptible changes to an input can wildly change the explanation, even if the model's prediction stays the same. This fragility severely undermines user trust.

The authors investigate whether adversarial training—the process of training a model on examples intentionally perturbed to fool it—can solve these explainability problems.

Methodology

The researchers approach the problem through both theoretical analysis and empirical experiments:

  • Theoretical Analysis: They prove that for 1-layer networks (like logistic regression), $\ell_\infty$-adversarial training acts as a selective pruner. It aggressively shrinks the weights of "weak" or irrelevant features toward zero.
  • The Stability Link: They provide a mathematical proof showing that training a model to have stable explanations is mathematically equivalent to standard adversarial training for a broad class of models.
  • Attribution Techniques: They test their hypotheses using two popular explanation methods: Integrated Gradients (IG) and DeepSHAP.
  • Measuring Sparsity: To quantify "conciseness," they use the Gini Index, a statistical measure of inequality. A higher Gini Index means the "wealth" of attribution is concentrated in just a few highly important features.

They evaluated their approach on a mix of image datasets (MNIST, Fashion-MNIST, CIFAR-10) and tabular datasets (Mushroom and Spambase from the UCI Machine Learning Repository).

Key Insights and Results

The "Aha" Moment on Stability

The most striking theoretical finding is that robustness and explanation stability are two sides of the same coin. If you want a model whose explanations don't flip-flop when the input changes slightly, you are essentially asking for an adversarially robust model.

Cleaner Saliency Maps

Visually, the difference between standard and adversarial training is stark.

Comparison of saliency maps for natural vs. adversarial training.

As seen in the image of a bird above, a naturally trained model produces "noise" across the entire background. In contrast, an adversarially trained model focuses its attribution almost entirely on the bird itself, yielding a much more intuitive explanation.

Quantifiable Sparsity

The visual improvements are backed by rigorous metrics. Across all tested datasets, adversarial training consistently increased the Gini Index (sparseness) of the feature attributions.

Gini index comparisons across multiple datasets.

For example, on the MNIST dataset, adversarial training increased the Gini Index by 0.06 with less than a 1% drop in accuracy.

Adversarial Training vs. $\ell_1$-Regularization

Typically, if you want a sparse model, you use $\ell_1$-regularization (adding a penalty for large weights). However, the authors found that for deep networks, adversarial training is significantly better at producing sparse explanations than $\ell_1$-regularization while maintaining higher accuracy. You get clearer explanations for a lower "price" in performance.

Limitations and Future Work

While the results are promising, the paper notes a few limitations:

  • Theoretical Gap: The rigorous mathematical proofs are currently limited to 1-layer/linear models. While the sparsification effects are clearly observed in deep networks, the underlying theory for why it works so well in non-linear, deep architectures is still being developed.
  • Computational Cost: Adversarial training is significantly more computationally expensive than natural training, as it requires generating "adversarial examples" for every batch during the training process.
  • Scope of Perturbations: The study focuses on $\ell_\infty$-bounded perturbations. It remains to be seen if training for other types of robustness (like $\ell_2$ norms or spatial rotations) yields similarly concise explanations.

Summary updated

BibTeX
@inproceedings{chalasani2020concise,
  author = {Prasad Chalasani and Jiefeng Chen and Amrita Roy Chowdhury and Xi Wu and Somesh Jha},
  title = {{Concise Explanations of Neural Networks using Adversarial Training}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=V3ohbWRWIB8},
}
Figure