[Paper Review] Interpreting the Predictions of Complex ML Models by Layer-wise Relevance Propagation
This paper introduces Layer-wise Relevance Propagation (LRP), a method for interpreting deep neural network predictions by decomposing classification outputs into input feature contributions. Using a backward propagation of relevance scores through layers with conservation constraints, LRP produces pixel-wise attribution maps that highlight which input features most influence the model's decision, outperforming sensitivity analysis in both qualitative and quantitative evaluations on image classification tasks.
Complex nonlinear models such as deep neural network (DNNs) have become an important tool for image classification, speech recognition, natural language processing, and many other fields of application. These models however lack transparency due to their complex nonlinear structure and to the complex data distributions to which they typically apply. As a result, it is difficult to fully characterize what makes these models reach a particular decision for a given input. This lack of transparency can be a drawback, especially in the context of sensitive applications such as medical analysis or security. In this short paper, we summarize a recent technique introduced by Bach et al. [1] that explains predictions by decomposing the classification decision of DNN models in terms of input variables.
Motivation & Objective
- To address the lack of interpretability in complex machine learning models, especially deep neural networks (DNNs), which make decisions in a 'black-box' manner.
- To develop a method that explains DNN predictions by decomposing the output function into contributions from individual input features, such as pixels in images.
- To provide a faithful and intuitive explanation of why a DNN assigns a particular prediction to a given input, beyond local sensitivity to perturbations.
- To enable model comparison, validation, and visualization by quantifying the relevance of input features and contextual information in classification decisions.
- To establish a general framework applicable across diverse models and tasks, including image classification, text analysis, and EEG signal processing.
Proposed method
- LRP redistributes the prediction score backward through the network layers using local redistribution rules, ensuring conservation of relevance at each layer.
- The core mechanism uses the 'alpha-beta' rule to propagate relevance from neurons in layer l+1 to neurons in layer l, defined by R_i = Σ_j [α·(x_i w_ij)^+ / Σ_i (x_i w_ij)^+ - β·(x_i w_ij)^- / Σ_i (x_i w_ij)^- ] · R_j.
- The parameters α and β are chosen such that α - β = 1 to maintain layer-wise relevance conservation, with α=2, β=1 producing sharp and interpretable heatmaps.
- The method is applied in a layer-by-layer backward pass, starting from the output layer and propagating relevance down to the input layer, resulting in pixel-wise relevance scores.
- The approach is grounded in deep Taylor decomposition, allowing it to be extended to various activation functions and network architectures.
- LRP can be applied to non-convolutional models such as Bag-of-Words and Fisher Vector/SVM classifiers, demonstrating broad applicability.
Experimental results
Research questions
- RQ1How can we explain the prediction of a deep neural network by attributing relevance to individual input features such as pixels?
- RQ2What distinguishes a faithful explanation of a DNN’s decision from a sensitivity-based explanation that only measures local response to perturbations?
- RQ3To what extent does context (e.g., background or surrounding objects) contribute to image classification decisions, as revealed by LRP?
- RQ4How do different deep neural network architectures (e.g., CaffeNet vs. GoogleNet) distribute relevance across input features, and what does this reveal about their decision-making strategies?
- RQ5Can LRP provide more reliable and quantitatively meaningful explanations than sensitivity analysis, as measured by perturbation-based evaluation?
Key findings
- LRP produces significantly sharper and more intuitive attribution maps than sensitivity analysis, which often highlights irrelevant background regions due to high gradient sensitivity.
- In perturbation analysis, LRP-identified relevant regions caused a faster drop in classification score (higher AOPC value), indicating better alignment with actual model behavior.
- For object categories like 'airplane' and 'sheep', most relevance was localized within the object’s bounding box, indicating minimal contextual influence.
- For indoor scene categories like 'chair' and 'sofa', LRP revealed that context plays a significant role in classification, with substantial relevance assigned to surrounding areas.
- GoogleNet produced sparser and more focused relevance maps centered on the animal’s face, compared to BVLC CaffeNet, which distributed relevance more broadly across the body and fur.
- The alpha-beta rule with α=2, β=1 consistently generated high-quality heatmaps across diverse models and datasets, demonstrating robustness and generalizability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.