NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Explainable Artificial Intelligence: Understanding, Visualizing and Interpreting Deep Learning Models

Wojciech Samek, Thomas Wiegand, Klaus-Robert MüllerarXiv 2017

Introduction

Deep learning models have achieved superhuman performance in fields ranging from medical diagnosis to autonomous systems. However, these models typically function as "black boxes"—complex, non-linear structures that provide predictions without explaining the underlying reasoning. This lack of transparency is a significant barrier in high-stakes environments. For instance, in healthcare, a model might rely on spurious correlations within a biased dataset, leading to potentially fatal clinical decisions if doctors trust the output blindly.

Beyond safety, explainability is increasingly mandated by legal frameworks, such as the European Union’s "right to explanation." There is also a fundamental scientific need to extract new knowledge from AI systems. This paper addresses these challenges by proposing and evaluating methods to visualize and interpret deep learning predictions.

Methodology: SA vs. LRP

The researchers focus on two primary post-hoc explanation techniques:

  1. Sensitivity Analysis (SA): This method uses partial derivatives to measure how small changes in input variables (e.g., pixels) affect the output. While intuitive, SA often produces noisy heatmaps because it highlights what would change the prediction rather than what actually supports it.
  2. Layer-Wise Relevance Propagation (LRP): This is the authors' preferred approach. LRP operates by redistributing the final prediction score backward through the network layers to the individual inputs. It adheres to a "relevance conservation" principle, ensuring that the total importance assigned to the input layer matches the model's final output score.
Overview of the Explainable AI framework comparing Sensitivity Analysis (SA) and Layer-Wise Relevance Propagation (LRP).

To objectively evaluate these methods, the authors utilize Perturbation Analysis. By ranking input features by their importance and iteratively removing the most "relevant" ones, they can measure how quickly the model's confidence drops. A superior explanation method will identify features whose removal causes the sharpest decline in performance.

Experimental Evaluation

The methods were tested across three distinct domains:

  • Image Classification: Using GoogleNet on the ImageNet (ILSVRC2012) dataset.
  • Text Classification: Using a CNN with word embeddings on the 20Newsgroup dataset.
  • Video Action Recognition: Using a Fisher Vector/SVM classifier on the HMDB51 dataset.

Key Results and Insights

The experiments demonstrated that LRP consistently outperforms SA in providing accurate and interpretable explanations.

Qualitative Superiority

Visually, LRP produces cleaner heatmaps that align with human intuition. In image tasks, LRP accurately outlines objects (like a coffee cup), whereas SA often highlights irrelevant background features like the sky. In text classification, LRP can distinguish between positive evidence (words supporting a class) and negative evidence (words contradicting it), a distinction SA cannot make.

Quantitative Performance

The perturbation tests confirmed LRP's accuracy. As shown in the performance curves, removing features identified as important by LRP led to a much faster decline in prediction scores and accuracy compared to those identified by SA.

Spatiotemporal Explanations in Video

LRP's utility extends to temporal data. In video classification (e.g., "sit-up" recognition), LRP successfully localized both the spatial regions (the person's body) and the specific frames where the defining motion occurred.

Conclusion

This work highlights that AI explanations must be mathematically grounded rather than just visually appealing. LRP provides a robust framework for decomposing predictions into meaningful input contributions. While this study focuses on post-hoc explanations for existing black-box models, future research will explore incorporating explainability directly into model architectures and investigating the trade-offs between model complexity, generalizability, and interpretability.

Summary updated

BibTeX
@misc{samek2017explainable,
  author = {Wojciech Samek and Thomas Wiegand and Klaus-Robert Müller},
  title = {{Explainable Artificial Intelligence: Understanding, Visualizing and Interpreting Deep Learning Models}},
  year = {2017},
  eprint = {1708.08296},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.08296},
}
Figure