Abstract
An emerging problem in trustworthy machine learning is to train models that produce robust interpretations for their predictions. We take a step towards solving this problem through the lens of axiomatic attribution of neural networks. Our theory is grounded in the recent work, Integrated Gradients (IG), in axiomatically attributing a neural network’s output change to its input change. We propose training objectives in classic robust optimization models to achieve robust IG attributions. Our objectives give principled generalizations of previous objectives designed for robust predictions, and they naturally degenerate to classic soft-margin training for one-layer neural networks. We also generalize previous theory and prove that the objectives for different robust optimization models are closely related. Experiments demonstrate the effectiveness of our method, and also point to intriguing problems which hint at the need for better optimization techniques or better neural network architectures for robust attribution training.
Introduction
As deep learning models are increasingly deployed in high-stakes domains like healthcare and autonomous driving, the need for interpretability becomes paramount. We rely on "attribution" methods, such as saliency maps, to understand which input features drive a model's decision. However, these explanations are notoriously fragile. A malicious actor can introduce imperceptible noise to an input that leaves the prediction unchanged but completely shifts the explanation—for instance, moving a saliency map from a tumor to a random corner of a medical scan. This paper introduces Robust Attribution Regularization (RAR) to address this vulnerability.
Methodology
The core of RAR is a training objective built upon Integrated Gradients (IG). IG is a mathematically principled attribution method that satisfies the "Axiom of Completeness," ensuring the sum of attributions equals the total change in output. The authors propose two primary training variants:
- IG-NORM: Adds a penalty to the training loss based on the maximum possible change in the IG attribution within a small neighborhood of the input. This encourages the model to maintain stable explanations under small input perturbations.
- IG-SUM-NORM: Combines standard adversarial training (robust prediction) with the IG-NORM penalty.
Training involves a min-max optimization strategy. An inner attacker uses Projected Gradient Descent (PGD) to find perturbations that maximize explanation shift, while the outer training step updates model weights to minimize both prediction error and this shift. This process requires calculating second-order derivatives (Hessian-vector products), which are handled via modern auto-differentiation tools.
Experimental Results
The researchers evaluated RAR on MNIST, Fashion-MNIST, GTSRB, and the Oxford 102 Flowers dataset. The results demonstrate that RAR significantly stabilizes model interpretations while maintaining or even improving predictive robustness.
Attribution Stability and Alignment
Models trained with RAR produce saliency maps that are much more aligned with human intuition, focusing on the actual object of interest rather than background noise. Quantitatively, on the Flower dataset, the "Top-k Intersection" (measuring explanation consistency under attack) rose from 8.12% in natural models to 66.33% with IG-SUM-NORM. Similarly, rank correlation scores (Kendall’s Tau) often doubled or tripled compared to naturally trained models.
Discussion and Future Work
RAR provides a principled generalization of previous work, showing that for simple one-layer networks, robust prediction and robust attribution are mathematically equivalent. However, in deep networks, these goals diverge, necessitating the specialized objectives proposed here.
Despite its success, RAR faces challenges. The attribution penalty remains high even after convergence, suggesting that current optimization techniques or neural architectures may not be perfectly suited for second-order derivative landscapes. Additionally, the computational cost of second-order gradients is significant. Future research will explore whether robust attribution can help models ignore spurious correlations, such as identifying a bird solely by the presence of a blue sky.
Summary updated