Smoothed Geometry for Robust Attribution

Zifan Wang, Haofan Wang, Shakul Ramkumar, Matt Fredrikson, Piotr Mardziel, Anupam Datta

Introduction

Deep Neural Networks (DNNs) have become integral to high-stakes decision-making, yet they remain largely "black boxes." To bridge this gap, researchers employ feature attribution methods—such as Saliency Maps and Integrated Gradients—to visualize which input features drive a model's predictions. However, these explanations are notoriously fragile. Recent studies demonstrate that imperceptible input perturbations can drastically alter an attribution map without changing the model's classification, a phenomenon known as an "attribution attack."

This paper, presented at NeurIPS 2020, addresses this vulnerability by examining the underlying "geometry" of the model's decision surface. The authors argue that the fragility of explanations stems from the jagged, highly non-linear nature of standard DNN decision surfaces, which causes gradients to fluctuate wildly under minor input changes.

Methodology: Enforcing Smooth Geometry

The core insight of this work is that attribution robustness is tied to the Lipschitz continuity of the model's gradients. To ensure that gradients change slowly across the input space, the authors propose two distinct approaches:

  1. Smooth Surface Regularization (SSR): This training-time technique penalizes the curvature of the decision surface. Rather than employing computationally expensive second-order optimization, SSR uses a closed-form approximation of the input Hessian (the matrix of second derivatives). By minimizing the largest eigenvalue of this Hessian, the model is forced to learn a smoother geometry where gradients are more stable.
  2. Uniform Gradient (UG): A post-hoc smoothing method that can be applied to pre-trained models. Similar to SmoothGrad, which averages gradients over Gaussian noise, UG averages gradients over a uniform distribution within a small radius. This stochastic approach effectively "blurs" the jagged edges of the decision surface during the attribution process.
The geometry of the decision surface significantly impacts gradient stability. This visualization shows how different attribution methods (SM, IG, SG) behave at various points on a non-linear surface.

Experimental Results

The authors evaluated their methods on CIFAR-10, Flower, and ImageNet datasets. The results indicate that smoothing the model's geometry provides substantial gains in explanation reliability.

  • Robustness to Perturbation: Models trained with SSR maintained high similarity between original and attacked attributions, as measured by Top-k intersection and Cosine Distance. This suggests that the "explanation-tripping" seen in naturally trained models is mitigated when the decision surface is regularized.
  • Visual Consistency: Qualitatively, attributions for SSR-trained models remain focused on relevant objects (e.g., the petals of a flower) even when the input is subjected to adversarial noise. In contrast, naturally trained models often produce noisy, nonsensical heatmaps under the same conditions.
  • Efficiency: SSR is significantly faster to train than previous robust attribution methods like IG-NORM, making it a more practical choice for large-scale architectures like ResNet-50.
Quantitative and qualitative evaluation of SSR. (a) Shows the decay of an attribution similarity metric as perturbation epsilon increases. (b) Compares saliency maps for naturally trained (NAT) vs. SSR models, highlighting the visual stability of SSR under input noise.

Discussion and Limitations

While SSR and UG offer a path toward more trustworthy AI, some challenges remain. The SSR Hessian approximation is specifically tailored for ReLU networks, and its efficacy on newer activation functions like Swish or GELU requires further study. Additionally, there is a delicate balance in hyperparameter tuning: excessive smoothing can lead to "darker" attribution maps that lose fine-grained details. Finally, while SSR improves empirical robustness, achieving "certified" or provable defenses that scale to ImageNet-level models remains an open research problem.

Conclusion

By formalizing the link between decision surface curvature and attribution stability, this paper provides a principled geometric framework for robust interpretability. Smoothing the model's internal geometry not only makes explanations more resilient to adversarial manipulation but also brings us closer to deploying deep learning models safely in critical real-world applications.

Summary updated

BibTeX
@inproceedings{wang2020smoothed,
  author = {Zifan Wang and Haofan Wang and Shakul Ramkumar and Matt Fredrikson and Piotr Mardziel and Anupam Datta},
  title = {{Smoothed Geometry for Robust Attribution}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=Xr7i1zk-wKM},
}
Figure