TLDR: This research paper introduces a novel spectral analysis of gradient-based AI explanation methods, revealing that they act as “band-pass filters” that highlight features within specific frequency ranges, leading to inconsistencies. The authors propose two solutions: an optimal perturbation scale and an aggregation method called SpectralLens, which significantly improve the reliability and consistency of AI explanations by considering a broader spectrum of feature contributions.
Understanding how artificial intelligence models make decisions is becoming increasingly important, especially as these models are used in critical applications like healthcare and finance. However, deep learning models are often referred to as “black boxes” because their internal workings are complex and opaque. To address this, researchers have developed various “explanation methods” that aim to shed light on why a model made a particular prediction. Unfortunately, many of these methods have faced reliability issues, often producing inconsistent explanations when minor changes are made to their settings.
A new research paper, titled “On Spectral Properties of Gradient-based Explanation Methods,” delves into these reliability problems by adopting a fresh perspective: analyzing explanation methods through the lens of probability and spectral analysis. This approach, which draws parallels to how signals are analyzed in terms of their frequencies, offers a formal way to understand the behavior of these AI explanation tools.
The Hidden “Spectral Bias”
The core discovery of the paper is a pervasive “spectral bias” in gradient-based explanation methods. Imagine a complex image, like a photograph, composed of many different visual “frequencies”—sharp edges and fine details represent high frequencies, while broad, smooth areas represent low frequencies. The researchers found that the gradient operator, a fundamental component in many explanation methods, acts like a “high-pass filter.” This means it tends to amplify the importance of high-frequency features in an image, making fine details seem more significant than they might be.
Conversely, when these explanation methods introduce “perturbations” (like adding small amounts of noise to the input image), these perturbations act as “low-pass filters.” They effectively smooth out the high-frequency noise, mitigating its influence. The fascinating insight is that when you combine the gradient (a high-pass filter) with perturbation (a low-pass filter), the result is a “band-pass filter.” This means the explanation method ends up highlighting features only within a specific range of frequencies, rather than providing a holistic view of all contributing features.
This “band-pass” behavior is precisely why explanations can be inconsistent. If you change the hyperparameters—the settings that control the amount or type of perturbation—you effectively shift the band-pass filter, causing the explanation to focus on different frequency ranges. This can lead to contradictory explanations for the same input, a phenomenon sometimes referred to as the “Rashomon effect.” The paper also provides theoretical justification for why using “squared gradients” is often preferable to simple gradients, as squared gradients offer a more stable and non-negative measure of feature contribution.
Also Read:
- Designing Understandable AI: A Human-Centered Approach to Explanations
- Making AI Accountable: Falsifying and Quantifying Explanations in Deep Learning
Towards More Consistent Explanations
To tackle these inconsistencies, the authors propose two innovative solutions:
- Optimal Perturbation Scale: Instead of guessing the right amount of noise, the paper introduces a method to automatically determine an “optimal” perturbation scale. This is done by finding the scale that maximizes the similarity between the model’s internal frequency characteristics and the frequency characteristics of the perturbation. This standardization helps ensure that explanations are more consistent and reliable across different inputs and datasets.
- SpectralLens: Recognizing that a single frequency band might not capture the full picture, SpectralLens is an aggregation method that combines information from multiple frequency bands. By essentially taking an “ensemble” approach, it provides a more comprehensive and robust explanation. The paper also introduces “ArgLens,” a complementary tool that helps visualize the specific frequency band at which a pixel’s contribution is maximized, offering deeper insights into feature robustness.
The effectiveness of these proposed solutions was rigorously evaluated using standard metrics on large datasets like ImageNet and Food101. The results confirm that using squared gradients, an optimal perturbation scale, and the SpectralLens aggregation method significantly improves the consistency and quantitative performance of AI explanations. While the current framework focuses on specific types of perturbations and has some computational considerations, this research marks a significant step towards making AI explanations more trustworthy and interpretable.
For more in-depth technical details, you can read the full research paper available at On Spectral Properties of Gradient-based Explanation Methods.


