Attribution in Scale and Space

Shawn Xu, Subhashini Venugopalan, Mukund Sundararajan

Abstract

Explainable AI (XAI) aims to identify which input features drive neural network predictions. Traditional attribution methods like Integrated Gradients (IG) often rely on arbitrary baselines and ignore the multi-scale nature of visual recognition. We present Blur Integrated Gradients (BlurIG), a novel approach that calculates attribution along a "blur path" using Gaussian filters. Grounded in scale-space theory, BlurIG satisfies the Causality Axiom, ensuring that no artificial features are introduced during the attribution process. Our results across image and audio domains demonstrate that BlurIG provides cleaner, more semantically meaningful explanations by capturing both the spatial location and the characteristic scale of recognized objects.

Introduction

In the field of deep learning, "attribution" techniques are essential for understanding why a model makes a specific decision. A widely used method is Integrated Gradients (IG), which highlights important pixels by comparing an input image to a baseline (such as a solid black image) and integrating the gradients along the path between them.

However, IG faces two significant challenges. First, the choice of baseline is often arbitrary and can lead to "ghost" features—spurious highlights caused by high contrast with the baseline rather than the model's internal logic. Second, standard attribution methods focus solely on spatial location, ignoring the "scale" (coarse vs. fine-grained features) at which a model operates. BlurIG addresses these flaws by replacing the intensity-based path with a scale-based path.

The BlurIG Method

Instead of fading an image from a black baseline to full color, BlurIG starts with a completely blurred, information-less version of the image and gradually "un-blurs" it using a Gaussian filter. The attribution is calculated by accumulating gradients as the scale parameter ($\sigma$) moves from high blur to zero blur.

The BlurIG path for a jackfruit image, showing the transition from a highly blurred state (α = 6.45) to the original image (α = 0.3).

This method is mathematically grounded in scale-space theory. Specifically, it satisfies the Causality Axiom, which guarantees that blurring an image only removes information and never creates new structures or local extrema. This prevents the artifacts common in other methods where the transition from a baseline might accidentally introduce high-frequency noise that the model never actually used for its prediction.

Comparison of attribution paths on a 1D function. Gaussian blur (a) preserves the fundamental shape without introducing new extrema, unlike intensity scaling with black (b) or random (c) baselines.

Key Insights and Results

BlurIG reveals that neural networks recognize different objects at different scales. For example, a model might identify a "steel-arch bridge" using coarse, large-scale features, while a specific "dog breed" requires fine-grained, high-frequency textures. BlurIG allows researchers to quantify these differences for the first time.

Domain Versatility

The authors evaluated BlurIG across three distinct domains:

  • ImageNet: BlurIG produced cleaner saliency maps than standard IG, focusing more accurately on the objects themselves rather than background noise.
  • Diabetic Retinopathy (DR): In medical imaging, identifying tiny lesions is critical. BlurIG outperformed GradCAM and standard IG by highlighting clinically relevant features like hemorrhages while ignoring camera artifacts.
  • AudioSet: By treating spectrograms as images, BlurIG identified that models distinguish "Music" from "Violin" by looking at different frequency bands—lower frequencies for general music and higher-frequency harmonics for specific instruments.

Conclusion

Blur Integrated Gradients offers a more robust and theoretically sound approach to attribution. By moving from intensity-space to scale-space, it avoids the pitfalls of arbitrary baselines and provides a multi-dimensional explanation of model behavior. While computationally more expensive than one-shot methods, its ability to identify the characteristic scale of features makes it a powerful tool for high-stakes domains like medical imaging and audio analysis.

Summary updated

BibTeX
@inproceedings{xu2020attribution,
  author = {Shawn Xu and Subhashini Venugopalan and Mukund Sundararajan},
  title = {{Attribution in Scale and Space}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=OUREe2rcnp},
}
Figure