Deep learning models are often treated as "black boxes." To trust them in critical fields like medicine or autonomous driving, researchers rely on input attribution—heatmaps that highlight exactly which input features (like pixels in an image) contributed most to a model's decision.
Currently, there are two main approaches to generating these explanations, but both have significant flaws:
- Global Methods (e.g., Integrated Gradients): These methods track how a model's output changes as an image transitions from a "blank" baseline to the actual input. However, they often produce noisy results and are highly sensitive to the arbitrary choice of the baseline image.
- Local Methods (e.g., FullGrad): These evaluate the model's sensitivity at a single point. While precise, they are notoriously "brittle"—a tiny amount of random noise in the image can completely derail the explanation.
To bridge this gap, researchers have developed Distilled Gradient Aggregation (DGA), a novel method designed to be as precise as local methods while remaining as robust as global ones.
How DGA Works: Sequential Feature Distillation
The core innovation of DGA is Sequential Feature Distillation. Instead of drawing a straight line from a generic black image to the input, DGA creates a sequence of "anchor points" by gradually removing irrelevant information from the image itself.
As illustrated above, the DGA pipeline relies on a few key components:
- Uniform FullGrad (UFG): A refined version of the FullGrad algorithm that better handles bias gradients in deep layers, preventing the over-estimation of certain features.
- Dual Masking: To decide what to "distill" (remove) at each step, DGA uses two distinct masks. The Weak Contributor (WC) Mask identifies and removes pixels with low attribution. Meanwhile, the Extreme Positive Contributor (EPC) Mask filters out pixels with "extremely" high attribution. This prevents the explanation from "saturating" or focusing too narrowly on a single noisy super-pixel, forcing the model to find the rest of the object.
- Aggregation: The algorithm calculates the local attribution at every step of this distillation process and sums them up (using a ReLU filter to keep only positive contributions) to create the final, purified heatmap.
By generating its own sequence of distilled images, DGA is completely baseline independent, avoiding the arbitrary choice of whether a "blank" image should be black, white, or blurred.
Key Results and Performance
The researchers evaluated DGA across diverse pre-trained architectures (VGG-16, ResNet-18, Inception-V3) using ImageNet and CIFAR-10 datasets. DGA consistently outperformed competing methods across several rigorous metrics.
- Robustness to Noise: As seen in the qualitative comparisons above, when random noise ($\sigma$) is added to the input image, local methods like FullGrad (FG) degrade quickly. DGA (Ours) maintains a tightly bound, object-aligned heatmap that clearly highlights the subject.
- Pixel Perturbation (MoRF/LeRF): In quantitative tests where the most important pixels are removed (MoRF, where lower is better) or the least important are kept (LeRF, where higher is better), DGA proved that its heatmaps are more "meaningful" to the model's actual logic than those of Integrated Gradients (IG) or FullGrad.
- ROAR Benchmark: When the "top" pixels identified by DGA were removed and the model was retrained, the model's accuracy dropped faster than with any other method, proving DGA truly identifies the most critical features.
Limitations and Future Work
While DGA provides vastly superior visual and quantitative explanations, it does come with a higher computational cost. Because DGA requires a sequence of $N$ steps (the paper uses $N=30$), it is more computationally expensive than single-pass local methods.
Future work will likely focus on optimizing the number of steps required to reduce this overhead, as well as developing stronger theoretical justifications for the distillation sequence. Nonetheless, DGA represents a major step forward in creating clean, trustworthy, and robust explanations for deep neural networks.
Summary updated