[Paper Review] Exploiting the Relationship Between Kendall's Rank Correlation and Cosine Similarity for Attribution Protection
This paper proposes an integrated gradients regularizer (IGR) that enhances attribution robustness by maximizing cosine similarity between natural and perturbed attributions, leveraging a theoretical positive correlation between cosine similarity and Kendall’s rank correlation. Experiments show IGR improves both attribution and adversarial robustness across multiple models and datasets, outperforming state-of-the-art methods.
Model attributions are important in deep neural networks as they aid practitioners in understanding the models, but recent studies reveal that attributions can be easily perturbed by adding imperceptible noise to the input. The non-differentiable Kendall's rank correlation is a key performance index for attribution protection. In this paper, we first show that the expected Kendall's rank correlation is positively correlated to cosine similarity and then indicate that the direction of attribution is the key to attribution robustness. Based on these findings, we explore the vector space of attribution to explain the shortcomings of attribution defense methods using $\ell_p$ norm and propose integrated gradient regularizer (IGR), which maximizes the cosine similarity between natural and perturbed attributions. Our analysis further exposes that IGR encourages neurons with the same activation states for natural samples and the corresponding perturbed samples, which is shown to induce robustness to gradient-based attribution methods. Our experiments on different models and datasets confirm our analysis on attribution protection and demonstrate a decent improvement in adversarial robustness.
Motivation & Objective
- To address the vulnerability of model attributions to imperceptible input perturbations that disrupt rank-order relationships.
- To overcome the limitations of ℓp-norm regularizers in preserving Kendall’s rank correlation, which is non-differentiable and critical for attribution robustness.
- To establish a geometric connection between cosine similarity and Kendall’s rank correlation for improved attribution defense.
- To develop a differentiable regularizer that encourages consistent neuron activation patterns between natural and perturbed inputs.
- To empirically validate that the proposed IGR regularizer enhances both attribution and adversarial robustness in deep neural networks.
Proposed method
- Theoretical analysis proves a positive correlation between Kendall’s rank correlation and cosine similarity under certain assumptions, providing a differentiable surrogate for attribution robustness.
- The integrated gradients regularizer (IGR) is proposed to maximize cosine similarity between attribution vectors of natural and perturbed inputs during training.
- IGR is integrated into adversarial training frameworks, jointly optimizing for attribution robustness and standard adversarial robustness.
- The method encourages neurons to maintain the same activation states (signs) for both natural and perturbed samples, enhancing stability.
- The regularizer is applied during backpropagation using integrated gradients to compute attribution vectors, ensuring gradient flow through the attribution mechanism.
- Experiments evaluate IGR across multiple datasets (MNIST, Fashion-MNIST, CIFAR-10) and models, comparing with baseline and state-of-the-art defense methods.
Experimental results
Research questions
- RQ1Is there a reliable differentiable proxy for Kendall’s rank correlation in attribution robustness, and does cosine similarity serve as such a proxy?
- RQ2Why do ℓp-norm based regularizers fail to preserve attribution robustness despite maintaining small input perturbations?
- RQ3Can a geometric perspective based on vector angles explain the robustness of attribution methods?
- RQ4Does optimizing for cosine similarity between attributions lead to consistent neuron activation patterns across natural and perturbed inputs?
- RQ5Can the proposed IGR regularizer simultaneously improve both attribution and adversarial robustness?
Key findings
- IGR significantly improves attribution robustness, with TRADES+IGR achieving the highest Kendall’s rank correlation (0.945) on CIFAR-10 under PGD20 attack.
- The activation consistency of IGR models is consistently higher than baselines, with MART+IGR achieving 0.69 in Fashion-MNIST compared to 0.67 in the baseline.
- IGR improves adversarial robustness across all datasets: AT+IGR achieves 99.45% FGSM accuracy on MNIST, up from 99.39% in the baseline.
- On CIFAR-10, MART+IGR achieves 79.93% PGD20 accuracy, a 2.02% improvement over MART baseline (77.91%).
- The method maintains or improves natural accuracy in 7 out of 9 evaluations, indicating no degradation in generalization.
- Theoretical and empirical results confirm that IGR encourages neurons to activate with the same sign in both natural and perturbed inputs, supporting the proposed geometric interpretation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.