A Rate-Distortion Framework for Explaining Black-Box Model Decisions

Stefan Kolek, Duc Anh Nguyen, Ron Levie, Joan Bruna, Gitta Kutyniok

TL;DR

The Rate-Distortion Explanation (RDE) framework provides a mathematically rigorous way to explain black-box model decisions by finding the most "relevant" parts of an input signal. By generalizing the framework to different representation domains—like wavelets for images or Fourier transforms for audio—the authors produce explanations that are not only more efficient but also far more intuitive for humans than traditional pixel-based methods.

What Problem Does This Paper Address?

Deep neural networks are notoriously "opaque"—we know they work, but we often don't know why they make specific decisions. While many explanation methods exist (like LIME, SHAP, or Integrated Gradients), they often face three major hurdles:

  1. Lack of Mathematical Rigor: Some methods are heuristic and lack a solid theoretical foundation.
  2. The "Jittery" Pixel Problem: Explanations often highlight individual, disconnected pixels that don't correspond to recognizable objects or features.
  3. Out-of-Distribution (OOD) Issues: Many methods test models by "masking" parts of an image with noise or blur. This creates synthetic inputs that the model never saw during training, potentially leading to unreliable explanations.

The authors tackle these by refining the RDE framework to be model-agnostic, mathematically grounded, and adaptable to human-interpretable domains.

Methods

The core idea of RDE is a "deletion game." To find what is relevant in an input $x$, you try to find the smallest subset of features $S$ such that if you keep $S$ and replace everything else with "noise," the model's output remains roughly the same.

The paper introduces several key technical advancements:

  • Abstract Representations: Instead of just looking at pixels, they define $x = f(h)$, where $h$ is a representation in another domain (like wavelets). They then optimize a sparse mask $s$ on $h$.
  • CartoonX: A specific application of RDE in the wavelet domain. Since wavelets naturally represent "piece-wise smooth" signals, the resulting explanations look like simplified "cartoons" of the original image, which are much easier for humans to parse.
  • In-Distribution Interpretability: To solve the OOD problem, they use in-painting GANs to fill in the "deleted" regions with realistic data rather than just random noise, ensuring the model stays on its "natural data manifold."
  • Optimization Strategies: They discuss three ways to solve the difficult combinatorial problem of finding the best mask: $\ell_1$-relaxation (using a sparsity penalty), Bernoulli relaxation (treating the mask as a random variable), and Matching Pursuit (a greedy approach).

Datasets

The authors demonstrate the framework’s versatility across three distinct modalities:

  • Images: Evaluated on the ImageNet dataset using the MobileNetV3-Small classifier.
  • Audio: Evaluated on the NSynth dataset, a library of short audio samples of musical instruments.
  • Physics/Radio Maps: Evaluated on RadioMapSeer, which contains simulations of signal strength in urban environments (a regression task).

Key Insights and Ideas

  • Domain Choice is Crucial: Explaining an image in the pixel domain is like trying to explain a book by highlighting individual letters. By moving to the wavelet domain (CartoonX), the framework highlights "structures" and "shapes," which align better with how humans perceive objects.
  • Interpretation Queries: The framework allows researchers to ask specific questions. For example, in audio, they asked: "Is the model looking at the magnitude or the phase of the sound wave?" They found that for most instruments, phase information is surprisingly critical for classification.
  • Beyond Post-Hoc Explanations: In the radio map experiment, they used the RDE framework to create "Interpretation-Driven Training." They added a penalty to the training loss to force the model to rely on physically meaningful features (like the presence of buildings) rather than just memorizing patterns.

Key Results

  • Efficiency: Quantitative scatter plots show that wavelet-based masks (CartoonX) achieve lower distortion with fewer coefficients compared to pixel-based masks.
  • Qualitative Superiority: In image tasks, CartoonX clearly identifies the "snail shell" or "airplane fuselage," whereas Pixel RDE often produces a scattered "salt and pepper" mask that is hard to interpret.
  • Audio Insights: The framework revealed that a guitar classifier relies heavily on low-frequency slopes (30Hz-60Hz), while a bass classifier looks at a broader range (100Hz-230Hz).
  • Regression Success: The framework successfully explained signal strength predictions, showing that the model correctly "deduced" the existence of missing buildings by looking at the shadows they cast in the signal data.

Limitations and Future Work

  • Computational Complexity: Finding the optimal mask requires solving a non-convex optimization problem, which can be computationally expensive, especially when using Monte-Carlo estimates for expected distortion.
  • Hyperparameter Sensitivity: The sparsity parameter $\lambda$ needs to be tuned; if it's too high, the explanation is too sparse to be useful; if too low, it doesn't filter out enough noise.
  • Future Directions: The authors suggest that this framework could be extended to even more complex data types and that "Interpretation-Driven Training" could become a standard way to build more robust and trustworthy models from the start.

Summary updated

BibTeX
@inproceedings{kolek2020rate,
  author = {Stefan Kolek and Duc Anh Nguyen and Ron Levie and Joan Bruna and Gitta Kutyniok},
  title = {{A Rate-Distortion Framework for Explaining Black-Box Model Decisions}},
  booktitle = {xxAI @ ICML},
  year = {2020},
  url = {https://openreview.net/forum?id=dD83b2dCEeM},
}

Loading related content...

Figure