Skip to main content
QUICK REVIEW

[Paper Review] How explainable are adversarially-robust CNNs?

Mehdi Nourelahi, Lars Kotthoff|arXiv (Cornell University)|May 25, 2022
Adversarial Robustness in Machine LearningComputer Science6 citations
TL;DR

This study conducts the first large-scale evaluation of the interplay between test accuracy, out-of-distribution (OOD) robustness, and explainability in 12 ImageNet-trained CNNs across five architectures and three training methods. It finds that adversarially robust CNNs are significantly more explainable under gradient-based attribution methods (e.g., GradCAM), while AdvProp models—though highly accurate—do not outperform robust models in explainability, and GradCAM and RISE consistently rank as the top-performing attribution methods across all metrics and models.

ABSTRACT

Three important criteria of existing convolutional neural networks (CNNs) are (1) test-set accuracy; (2) out-of-distribution accuracy; and (3) explainability. While these criteria have been studied independently, their relationship is unknown. For example, do CNNs that have a stronger out-of-distribution performance have also stronger explainability? Furthermore, most prior feature-importance studies only evaluate methods on 2-3 common vanilla ImageNet-trained CNNs, leaving it unknown how these methods generalize to CNNs of other architectures and training algorithms. Here, we perform the first, large-scale evaluation of the relations of the three criteria using 9 feature-importance methods and 12 ImageNet-trained CNNs that are of 3 training algorithms and 5 CNN architectures. We find several important insights and recommendations for ML practitioners. First, adversarially robust CNNs have a higher explainability score on gradient-based attribution methods (but not CAM-based or perturbation-based methods). Second, AdvProp models, despite being highly accurate more than both vanilla and robust models alone, are not superior in explainability. Third, among 9 feature attribution methods tested, GradCAM and RISE are consistently the best methods. Fourth, Insertion and Deletion are biased towards vanilla and robust models respectively, due to their strong correlation with the confidence score distributions of a CNN. Fifth, we did not find a single CNN to be the best in all three criteria, which interestingly suggests that CNNs are harder to interpret as they become more accurate.

Motivation & Objective

  • To investigate the relationship between test-set accuracy, out-of-distribution (OOD) accuracy, and explainability in CNNs.
  • To evaluate how well nine state-of-the-art feature attribution methods generalize across diverse CNN architectures and training algorithms.
  • To assess whether adversarially robust models are more explainable than standard (vanilla) models, and whether AdvProp-trained models offer improved explainability.
  • To identify biases in common evaluation metrics like Insertion and Deletion, particularly their correlation with model confidence scores.
  • To provide actionable recommendations for practitioners on selecting robust, accurate, and explainable CNNs and attribution methods.

Proposed method

  • Evaluated nine feature attribution methods—GradCAM, RISE, GradCAM++, SmoothGrad, Integrated Gradients, CAM, Grad-CAM, SmoothGrad, and Integrated Gradients—on 12 ImageNet-trained CNNs.
  • Used five CNN architectures (ResNet, DenseNet, EfficientNet, MobileNet, Wide ResNet) and three training algorithms: vanilla, adversarially robust (PGD-1), and AdvProp (PGD-1 with data mixtures).
  • Applied four evaluation metrics: Pointing Game (PG), Weakly Supervised Localization (WSL), Insertion, and Deletion to assess attribution map quality.
  • Performed hyperparameter tuning via coarse grid search for each attribution method on each model to ensure fair comparison.
  • Analyzed correlations between attribution scores and model confidence distributions, particularly for score-based metrics (Insertion/Deletion).
  • Compared explainability performance across models using statistical analysis and visualized results across architectures and training methods.

Experimental results

Research questions

  • RQ1Do adversarially robust CNNs exhibit higher explainability than vanilla models across different attribution methods?
  • RQ2How do AdvProp-trained models compare to vanilla and robust models in terms of explainability, despite their superior test and OOD accuracy?
  • RQ3Which feature attribution method performs consistently best across diverse architectures and training methods?
  • RQ4To what extent are Insertion and Deletion metrics biased toward specific model types due to their correlation with model confidence scores?
  • RQ5Is there a single CNN architecture or model that excels in all three criteria: test accuracy, OOD accuracy, and explainability?

Key findings

  • Adversarially robust CNNs show significantly higher explainability scores than vanilla models when evaluated with gradient-based attribution methods, particularly GradCAM and RISE.
  • AdvProp models, despite achieving high test-set and OOD accuracy, do not demonstrate superior explainability compared to adversarially robust models across any of the four evaluation metrics.
  • GradCAM and RISE are consistently among the top three attribution methods across all 12 models and all four evaluation metrics, suggesting they remain the most reliable choices.
  • Insertion and Deletion metrics are strongly biased: Insertion favors vanilla models due to higher confidence scores, while Deletion favors robust models, which output more conservative predictions.
  • No single CNN model achieves the best performance across all three criteria—test accuracy, OOD accuracy, and explainability—indicating a fundamental trade-off between performance and explainability.
  • ResNet-50 is the top-performing architecture on average across all metrics, even though DenseNet-161 has the highest test-set accuracy, indicating that higher accuracy does not imply better explainability.

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.