Saliency maps promise a clear window into the "black box" of deep neural networks by highlighting the input features that drive a model's prediction. Ideally, a gradient-based attribution map should cleanly outline the semantic boundaries of an object. In practice, however, raw gradients frequently produce a pixelated mess of "salt-and-pepper" noise, highlighting irrelevant background pixels and obscure artifacts.
As Nalini Singh et al. observed in Agreement Between Saliency Maps and Human-Labeled Regions of Interest: Applications to Skin Disease Classification, this inherent noise makes it incredibly difficult to distinguish between a model's genuine reasoning and artifacts of the visualization technique itself. To eliminate this noise, we must understand why it arises. It is not a random glitch; it is the mathematical byproduct of network architecture, decision boundary geometry, and path choices.
Architectural Artifacts and High-Frequency Contamination
Why do fast, white-box gradient methods look so much grainier than slow, black-box perturbation methods? The answer lies in the operations used during the forward pass. Standard convolutional networks use layers like max-pooling and strided convolutions to discard spatial information and achieve translation invariance. While this helps classification accuracy, it creates a major problem for backpropagation.
In Saliency strikes back: How filtering out high frequencies improves white-box explanations, Sabine Muzellec et al. discovered that these architectural operations inject high-frequency artifacts into the gradient signal. When we visualize a raw gradient map, we are often looking at this structural noise rather than the model's actual semantic focus. The authors demonstrated that by applying an adaptive low-pass filter (FORGrad) to strip away these high-frequency architectural artifacts, fast white-box methods can finally achieve the clarity and faithfulness of computationally expensive black-box alternatives.
The Geometry of Jagged Decision Boundaries
Another fundamental source of noise is geometric. Standard deep learning models have highly convoluted, jagged decision boundaries in high-dimensional space. Because a raw gradient is simply a vector perpendicular to the local decision boundary, a tiny "jag" in the boundary causes the gradient vector to point in a wild, nonsensical direction.
This geometric reality explains a famous machine learning curiosity: why do adversarially robust models naturally produce beautifully clean saliency maps? Christian Etmann et al. demonstrated in On the Connection Between Adversarial Robustness and Saliency Map Interpretability that adversarial training smooths out these decision boundaries. When the boundary is smooth, the local gradient naturally aligns with the actual structural shapes of objects. Similarly, Prasad Chalasani et al. showed in Concise Explanations of Neural Networks using Adversarial Training that regularizing models against small perturbations forces them to produce sparse, stable, and concise explanations.
When a model's decision boundary is jagged, its gradients point off the data manifold—into the space of unnatural, noisy images. To resolve this without retraining the model, Eslam Zaher et al. introduced Manifold Integrated Gradients: Riemannian Geometry for Feature Attribution. Instead of computing gradients along a straight line, their method routes the integration path along the curved Riemannian geometry of the natural data manifold, bypassing the noisy off-manifold space entirely.
Path Integration and the Saturation Trap
Path-based attribution methods like Integrated Gradients (IG) try to bypass local gradient noise by integrating gradients along a path from a neutral baseline (like a black image) to the input image. However, this introduces a new dilemma: the choice of path is arbitrary, and standard straight-line paths often cross regions where the model's internal logic is saturated or completely unresponsive, creating stray highlights.
To eliminate these artifacts, Binghui Wang et al. developed IDGI: A Framework to Eliminate Explanation Noise from Integrated Gradients, which mathematically isolates the specific gradient directions that actively drive changes in the prediction. Taking this a step further, Chase Walker et al. proposed Integrated Decision Gradients: Compute Your Attributions Where the Model Makes Its Decision. Their framework dynamically weights gradients based on how rapidly the model's confidence shifts, ensuring that the explanation is computed exactly where the internal logic transitions from uncertainty to a final decision.
Furthermore, straight-line paths tend to diffuse credit across irrelevant background pixels. In Path Choice Matters for Clear Attributions in Path Methods, Borui Zhang introduced the Concentration Principle. By optimizing the path choice to focus strictly on features that are mathematically indispensable to the model's prediction, this approach yields highly concentrated, sparse, and clear attributions.
Test-Time Smoothing via Adaptive Sampling
If modifying the architecture, retraining the model, or optimizing complex paths is too computationally expensive, practitioners often turn to test-time smoothing. The classic approach, SmoothGrad, adds random Gaussian noise to an image and averages the resulting gradients to cancel out local fluctuations.
However, uniform noise injection has a major flaw: it samples blindly, often pushing pixel values out of their valid ranges and introducing artificial distortions. To solve this, Linjiang Zhou et al. developed AdaptGrad: Adaptive Sampling to Reduce Noise. Instead of applying a blanket noise level, AdaptGrad adaptively adjusts the noise variance for every individual pixel to prevent out-of-range sampling. This simple geometric adjustment eliminates the artifacts introduced by traditional smoothing, producing sharp, high-fidelity saliency maps at virtually no extra computational cost.