Attributional Robustness Training Using Input-Gradient Spatial Alignment

Mayank Singh, Nupur Kumari, Puneet Mangla, Abhishek Sinha, Vineeth N. Balasubramanian, Balaji Krishnamurthy · DOI · OpenReview

Introduction: The Fragility of Deep Learning Explanations

Deep learning models are increasingly deployed in high-stakes domains like healthcare and autonomous driving. In these fields, it is not enough for a model to be accurate; its decision-making process must also be interpretable. Attribution methods, such as saliency maps, are commonly used to highlight the input features (e.g., pixels) that most influence a model's prediction.

However, these explanations are notoriously fragile. Recent research has demonstrated "attributional attacks," where an adversary adds imperceptible noise to an image. While the model's prediction remains unchanged (e.g., it still identifies a "Bird"), the corresponding explanation can be drastically altered, pointing to irrelevant regions of the image. This vulnerability undermines the trust placed in these interpretability tools.

Visual comparison of attribution methods under attack. Standard methods like IG, GradCAM+, and GradSHAP show significant shifts in attribution maps between original and perturbed images.

Methodology: Attributional Robustness Training (ART)

To address this, the authors introduce Attributional Robustness Training (ART), a methodology designed to ensure that visually similar inputs yield consistent and meaningful explanations. The core of ART is Input-Gradient Spatial Alignment.

The Training Framework

The ART framework incorporates an attribution-based loss alongside standard classification loss. The process involves several key components:

  1. Mathematical Bound: The authors derive a theoretical upper bound for attributional vulnerability based on the spatial correlation between the input image and its gradient map.
  2. Triplet Loss for Explanations: A soft-margin triplet loss is employed to minimize this bound. The "anchor" is the input image ($x$), the "positive sample" is the gradient of the correct class logit ($g^y$), and the "negative sample" is the gradient of the most confusing incorrect class ($g^{i^*}$).
  3. Smooth Optimization: To facilitate gradient-based optimization, standard ReLU activations are replaced with Softplus during the attribution-specific training phases, ensuring informative second-order derivatives.
The ART training pipeline. It illustrates the flow from input images through the model $f(\theta)$ to produce logits, classification loss ($L_{ce}$), and attribution maps ($g^{i^*}, g^y$) which feed into the attribution loss ($L_{attr}$).

Key Insights and Results

The primary insight of ART is that a robust model's gradients should naturally align with the object's physical structure. By enforcing this alignment, the model is discouraged from relying on non-robust, high-frequency features that are easily manipulated by attackers.

Performance Benchmarks

ART was evaluated across multiple datasets, including CIFAR-10, SVHN, GTSRB, and the Flower dataset. Key findings include:

  • Superior Robustness: ART consistently outperformed existing methods like IG-Norm, showing improvements of 6–18% in heatmap similarity metrics (Top-k intersection and Kendall’s Tau).
  • Enhanced Localization: By forcing the model to focus on object-relevant pixels, ART significantly improves Weakly Supervised Object Localization (WSOL). On the CUB-200 dataset using ResNet50, localization accuracy jumped from 52.93% to 82.65%.
  • Adversarial Synergy: Interestingly, training for attributional robustness also improved the model's resistance to standard adversarial attacks aimed at changing the predicted label.

Conclusion

ART represents a significant step toward making deep learning explanations more reliable. By aligning internal gradients with the spatial structure of inputs, it produces attribution maps that are not only robust to malicious perturbations but also more human-aligned. While the computational cost of the required inner-loop optimization is a factor, the gains in interpretability and localization performance suggest that robust reasoning is deeply linked to robust prediction.

Summary updated

BibTeX
@inproceedings{singh2020attributional,
  author = {Mayank Singh and Nupur Kumari and Puneet Mangla and Abhishek Sinha and Vineeth N. Balasubramanian and Balaji Krishnamurthy},
  title = {{Attributional Robustness Training Using Input-Gradient Spatial Alignment}},
  booktitle = {Lecture Notes in Computer Science},
  year = {2020},
  doi = {10.1007/978-3-030-58583-9\_31},
}
Figure