Introduction
As deep neural networks (DNNs) are increasingly deployed in high-stakes domains such as medicine, finance, and law, the demand for interpretability has grown. Attribution methods, such as Integrated Gradients (IG), aim to provide transparency by identifying the input features most influential to a model's decision. However, these explanations are notoriously fragile. Recent research has demonstrated that imperceptible perturbations to an input—which do not alter the model's final prediction—can drastically manipulate the resulting attribution map. This vulnerability undermines the trust necessary for human-AI collaboration.
This paper addresses the challenge of "attribution protection" by establishing a theoretical and practical link between geometric similarity and rank correlation. By leveraging cosine similarity as a differentiable proxy for Kendall’s rank correlation, the authors introduce the Integrated Gradient Regularizer (IGR), a method that stabilizes feature importance rankings and enhances overall adversarial robustness.
The Problem: Brittle Explanations
The standard metric for assessing the similarity between two feature rankings is Kendall’s rank correlation ($\tau$). In the context of model explanations, a high $\tau$ between the attributions of a natural image and its perturbed version indicates that the model's "logic" remains consistent. Unfortunately, $\tau$ is a non-differentiable function, making it impossible to use directly as a loss function in gradient-based training.
Previous attempts to regularize attributions often relied on $\ell_p$ distances (e.g., Mean Squared Error). However, these metrics focus on absolute pixel values rather than the relative importance of features. Two attribution vectors can be close in Euclidean distance yet produce entirely different rankings of feature importance, failing to provide true interpretability protection.
Methodology
The Cosine-Kendall Connection
The core contribution of this work is the theoretical bridge between "hard-to-optimize" rank correlation and "easy-to-optimize" angular geometry. Through Theorem 1, the authors prove that the expected Kendall’s rank correlation is positively correlated with cosine similarity. This justifies the use of the angle between attribution vectors as a reliable proxy for the stability of feature rankings. By focusing on the direction of the attribution vector rather than its magnitude, the model preserves the relative ordering of influential features.
Integrated Gradient Regularizer (IGR)
Building on this connection, the authors propose the Integrated Gradient Regularizer (IGR). This training objective maximizes the cosine similarity between the attribution of a natural input ($x$) and its adversarial counterpart ($\tilde{x}$). The total loss function is defined as:
$$L_{igr} = L_{robust} + \lambda (1 - \cos(IG(x), IG(\tilde{x})))$$
Where $L_{robust}$ represents a standard adversarial training loss (like TRADES), and $\lambda$ is a hyperparameter controlling the strength of the attribution regularization.
Activation Consistency and Neuron Stability
The paper further explores why this regularization works through the lens of internal network dynamics. Proposition 1 links attribution robustness to "activation consistency." By maximizing cosine similarity, the IGR forces the network's neurons (specifically ReLU activations) to maintain the same state (active or inactive) for both clean and noisy inputs. This stability in the internal "logic gates" of the model prevents the flickering of feature importance that typically occurs under attack.
Experimental Results
The researchers evaluated IGR by integrating it into state-of-the-art adversarial training frameworks, including TRADES and MART, across three benchmarks: MNIST, Fashion-MNIST, and CIFAR-10.
Attribution Robustness
The impact on explanation stability was significant. On the Fashion-MNIST dataset, a model trained with standard TRADES exhibited a Kendall correlation of only 0.2582 under attack. The addition of IGR increased this correlation to 0.6565, representing a substantial improvement in the reliability of the model's heatmaps.
Classification Robustness
Interestingly, protecting the attributions also benefited the model's primary task. On CIFAR-10, the TRADES+IGR configuration improved PGD20 adversarial accuracy compared to standard TRADES. This suggests that forcing a model to maintain a consistent internal logic for its decisions naturally leads to more robust classification boundaries.
Visual Consistency
Qualitative analysis of saliency maps confirmed these findings. While baseline models produced noisy or entirely different heatmaps when presented with perturbed images, IGR-trained models generated heatmaps that remained visually consistent, ensuring that the "explanation" provided to a human user remains trustworthy even in the presence of noise.
Limitations and Conclusion
While IGR provides a powerful tool for attribution protection, it comes with a computational cost. Calculating Integrated Gradients requires multiple gradient computations (approximating a Riemann sum) at every training step, making the training process significantly slower than standard adversarial training. Additionally, the theoretical proofs rely on certain assumptions regarding the distribution of attribution vectors that may vary across different architectures.
In conclusion, this paper demonstrates that the "angular perspective"—optimizing for cosine similarity—is a mathematically sound and effective way to protect the integrity of deep learning explanations. By aligning the geometry of the loss function with the rank-based nature of human interpretation, IGR moves us closer to deep learning models that are not only accurate but consistently interpretable.
Summary updated