Robust Ranking Explanations

Chao Chen, Chenghua Guo, Guixiang Ma, Ming Zeng, Xi Zhang, Sihong Xie

Abstract

Robust explanations of machine learning models are critical to establish human trust in the models. Due to limited cognition capability, most humans can only interpret the top few salient features. It is critical to make top salient features robust to adversarial attacks, especially those against the more vulnerable gradient-based explanations. Existing defense measures robustness using $\ell_p$-norms, which have weaker protection power. We define explanation thickness for measuring salient features ranking stability, and derive tractable surrogate bounds of the thickness to design the \textit{R2ET} algorithm to efficiently maximize the thickness and anchor top salient features. Theoretically, we prove a connection between R2ET and adversarial training. Experiments with a wide spectrum of network architectures and data modalities, including brain networks, demonstrate that R2ET attains higher explanation robustness under stealthy attacks while retaining accuracy.

Introduction: The Fragility of Interpretability

Deep learning models are often criticized as "black boxes." To mitigate this, researchers use saliency maps—gradient-based explanations—to highlight input features (e.g., specific pixels) most influential to a prediction. However, these explanations are notoriously fragile. Subtle, "unnoticeable" perturbations can be applied to an input that leave the classification unchanged but completely scramble the explanation, causing the model to appear to rely on irrelevant features.

Traditional defenses attempt to minimize the $\ell_p$ distance between original and perturbed explanations. This paper argues that this approach is flawed: human trust depends on the ranking of the top few salient features, not the exact numerical values of every pixel. A small $\ell_p$ change can still result in a total reordering of the "top" features, rendering the explanation useless for human interpretation.

The R2ET Framework

To address this, the authors propose a shift toward ranking-based robustness. They introduce Ranking Explanation Thickness, defined as the probability that the relative ranking of two features remains stable within a neighborhood of the input. Intuitively, if feature A is significantly more important than feature B, the "gap" between them is "thick," making it difficult for an attacker to flip their order.

Overview of the R2ET training and explanation pipeline.

The proposed R2ET (Robust Ranking Explanation via Thickness) algorithm optimizes this thickness using a tractable surrogate regularizer. This regularizer performs two simultaneous actions:

  1. Maximizes the gap between the importance scores of the top-$k$ features and the remaining features.
  2. Minimizes the Hessian norm (the derivative of the gradient) to smooth the model's curvature.

Theoretically, R2ET is shown to be equivalent to a form of Adversarial Training (AT) but is significantly more efficient as it avoids the costly inner loop of generating adversarial examples during the training phase.

Experimental Evaluation and Key Insights

The authors evaluated R2ET across diverse modalities, including tabular data (Bank, Adult, COMPAS), image data (CIFAR-10, MNIST), and brain network graphs (BP, ADHD).

A critical finding is that the "thickness" metric is a far superior proxy for robustness than the commonly used Hessian norm. As shown in the correlation analysis, thickness has a high correlation (0.89) with the number of iterations an attacker needs to flip a feature ranking, whereas the Hessian norm shows almost no correlation (0.06).

Correlation analysis showing that explanation thickness is a much stronger predictor of attack resistance than the Hessian norm.

Results and Conclusion

R2ET consistently achieved the highest Precision at k (P@k) scores under specialized ranking attacks (ERAttack). For instance, on the ADHD dataset, R2ET maintained a P@k of ~71.6%, significantly outperforming the vanilla model's ~45.5%. Beyond robustness, visualizations on MNIST and CIFAR-10 demonstrated that R2ET produces more "faithful" explanations, highlighting recognizable spatial patterns that align with human intuition.

While R2ET shows some sensitivity to dataset size—where maximizing the feature gap alone sometimes suffices for very small datasets—it provides a robust and efficient solution for anchoring top salient features. Future work will explore extending R2ET to Natural Language Processing and Large Language Models.

Summary updated

BibTeX
@inproceedings{chen2023robust,
  author = {Chao Chen and Chenghua Guo and Guixiang Ma and Ming Zeng and Xi Zhang and Sihong Xie},
  title = {{Robust Ranking Explanations}},
  booktitle = {IMLH @ ICML},
  year = {2023},
  url = {https://openreview.net/forum?id=kyLjxxGDtd},
}
Figure