A Rate-Distortion Framework for Explaining Neural Network Decisions

Jan MacDonald, Stephan Wäldchen, Sascha Hauch, Gitta KutyniokarXiv 2019

Abstract

This research introduces a formal mathematical framework for neural network interpretability by framing "relevance" as a rate-distortion problem. The authors demonstrate that finding the optimal minimal set of features to explain a decision is $NP^{PP}$-complete. To overcome this complexity, they propose Rate-Distortion Explanation (RDE), which employs Assumed Density Filtering to efficiently find sparse, high-quality explanations through continuous relaxation.

Introduction

While deep learning models have achieved remarkable performance, understanding the rationale behind their predictions remains difficult. Existing interpretability methods often lack a rigorous, unified definition of "relevance." This paper addresses this gap by proposing that a feature is relevant if its preservation—while randomizing all other features—maintains the model's original prediction. This perspective treats explanation as an optimization problem: finding the smallest subset of features (the "rate") that minimizes the change in prediction (the "distortion").

The Rate-Distortion Explanation (RDE) Method

The authors propose a framework that views an explanation as a "lossy compression" of the input that must preserve the classification signal.

Theoretical Complexity

The authors prove that the discrete version of the rate-distortion problem is $NP^{PP}$-complete. This complexity class is significantly harder than NP, providing a formal justification for the field's reliance on heuristic methods.

Practical Implementation

To make the framework practical, the authors introduce RDE, which relaxes discrete feature selection into a continuous mask. To handle the computationally expensive task of calculating expected distortion, they utilize Assumed Density Filtering (ADF). ADF propagates the mean and variance of randomized inputs through the network's ReLU layers, allowing for analytical approximation of the output distribution and enabling efficient gradient-based optimization.

Experimental Results

The RDE method was evaluated against several state-of-the-art baselines, including SmoothGrad, LRP, SHAP, and LIME, using the MNIST and STL-10 datasets.

Comparison of RDE with various interpretability baselines on an MNIST digit. RDE (diagonal and low-rank) produces significantly sparser and more focused explanations compared to traditional heatmaps.

Qualitative and Quantitative Performance

  • Sparsity and Focus: Unlike many methods that produce noisy heatmaps across the entire image, RDE identifies the minimal set of pixels necessary for a decision. For example, on MNIST, RDE highlights the specific curves that distinguish a '6' from a '0'.
  • Relevance Ordering: In quantitative tests where pixels are added back based on importance, RDE showed the fastest reduction in distortion, indicating it more accurately identifies truly critical features than SHAP or LIME.
  • Low-Rate Regime: RDE particularly excels when explanations are restricted to a very small fraction of the input, maintaining high fidelity to the model's decision process where other methods fail.

Conclusion and Future Directions

The rate-distortion framework provides a solid theoretical foundation for neural network interpretability. While RDE offers superior sparsity, it currently requires an optimization loop for each image, making it slower than one-pass methods. Future work includes extending the ADF derivations to non-ReLU architectures and exploring the impact of different reference distributions for feature obfuscation.

Summary updated

BibTeX
@misc{macdonald2019rate,
  author = {Jan MacDonald and Stephan Wäldchen and Sascha Hauch and Gitta Kutyniok},
  title = {{A Rate-Distortion Framework for Explaining Neural Network Decisions}},
  year = {2019},
  eprint = {1905.11092},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.11092},
}
Figure