On the Complexity-Faithfulness Trade-off of Gradient-Based Explanations

Amir Mehrpanah, Matteo Gamba, Kevin Smith, Hossein Azizpour

TL;DR

This paper introduces a spectral framework to formally analyze the trade-off between explanation complexity and faithfulness in deep learning models, particularly focusing on ReLU networks. By quantifying "explanation gap" using spectral properties, they offer a principled way to understand and mitigate the inherent compromises made by post-hoc explanation methods.

What Problem Does This Paper Address?

Deep neural networks, especially those using ReLU activations, can be notoriously difficult to interpret. Gradient-based explanation methods, while popular, often suffer from a trade-off: they can be either too complex and noisy (lacking smoothness) or overly simplified by surrogate models (lacking faithfulness to the original network). Existing metrics for complexity and faithfulness are often disjoint and influenced by extraneous factors, making it hard to systematically analyze this crucial trade-off. This paper aims to bridge this gap by providing a unified, spectral framework to quantify and understand this complexity-faithfulness dilemma.

Methods

The core of this paper is a novel spectral framework. They introduce:

  • Expected Frequency (EF): A metric to quantify a network's reliance on high-frequency information. This is derived from the spatial power spectrum of input gradients. A lower EF indicates smoother, less complex explanations.
  • Spectral Connection: They establish a theoretical link (Theorem 1) between the tail of a network's power spectrum (TPS) and the tail of the spatial power spectrum of its input gradient (TSPS). This means a network's inherent "sharpness" is mirrored in the complexity of its gradient-based explanations.
  • Smooth ReLU Parameterization: To control network sharpness, they propose a method of convolving ReLU with a Gaussian function, parameterized by $\beta$. As $\beta$ increases, the network becomes sharper, mimicking standard ReLU.
  • Explanation Gap: They formally define the "explanation gap" as the difference in Expected Frequency between the original model and a surrogate model produced by an explanation method. This gap quantifies the loss of faithfulness due to smoothing.

Datasets

The paper uses the following datasets for training and/or evaluation:

  • Fashion MNIST
  • CIFAR-10
  • Imagenette (112x122 and 224x224)
  • ImageNet (for evaluating pretrained models)

Key Insights and Ideas

  • Network Architecture is Key: The "noisiness" or complexity of gradient-based explanations isn't just random noise; it's fundamentally linked to the network's architecture, specifically its reliance on high-frequency components.
  • Smoothness vs. Faithfulness is a Spectrum: Post-hoc methods don't just create "smooth" or "faithful" explanations; they exist on a continuum. The "explanation gap" provides a way to measure this compromise.
  • Controlling Network Sharpness: By smoothing ReLU activations, one can directly influence the network's power spectrum, leading to simpler explanations without necessarily sacrificing faithfulness.
  • Spectral Analysis Unifies Concepts: The spectral perspective provides a principled way to connect network properties (TPS) to explanation properties (TSPS) and to quantify the trade-off between complexity and faithfulness.

Key Results

  • Empirical results show that as the smoothness parameter $\beta$ of ReLU decreases (making the network smoother), the Expected Frequency (EF) of explanations also decreases, indicating simpler explanations. Conversely, as $\beta$ increases towards standard ReLU, EF increases, signifying more complex explanations.
  • Tables 1 and 2 quantify the explanation gap (ΔEF) for various post-hoc methods across different architectures. Notably, GradCAM consistently introduces a larger explanation gap, suggesting a significant compromise in faithfulness for smoother explanations. VanillaGrad, which doesn't use surrogates, has a zero explanation gap.
  • The study demonstrates that controlling the spectral properties of ReLU networks can lead to smoother explanations and a smaller explanation gap.

Limitations and Future Work

  • Mathematical Theory: The authors acknowledge that a more advanced mathematical theory is needed for a comprehensive analysis of various design decisions in deep networks.
  • Discretization: The current framework assumes continuity in the spatial domain. A suitable discretization is needed for practical analysis across different resolutions.
  • Future Directions: The work lays the foundation for more formal analysis and systematic investigation of potential approaches, such as neural architecture search guided by spectral properties. It reframes the ante-hoc vs. post-hoc debate as orthogonal axes (EF and AEF) with a continuum of behaviors.

Summary updated

BibTeX
@inproceedings{mehrpanah2025complexity,
  author = {Amir Mehrpanah and Matteo Gamba and Kevin Smith and Hossein Azizpour},
  title = {{On the Complexity-Faithfulness Trade-off of Gradient-Based Explanations}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure