Decomposing Model Predictions via Layer-wise Relevance Propagation

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 2198 papers223 conceptsfrozen 2026-10-04

Deep neural networks are often criticized as "black boxes"—systems that produce highly accurate results without revealing the logic behind them. While standard gradient-based methods can show which inputs a model is sensitive to, they often fail to explain the actual contribution of a feature to a specific decision.

To bridge this gap, researchers led by Wojciech Samek, Grégoire Montavon, and Klaus-Robert Müller developed Layer-wise Relevance Propagation (LRP). This framework, first detailed in Interpreting the Predictions of Complex ML Models by Layer-wise Relevance Propagation, treats a model's output score as a finite resource that must be redistributed backward through the network until it reaches the input features.

The Conservation Principle

The core intuition of LRP is the relevance conservation principle. If a model assigns a score of 0.9 to the "cat" class, LRP assumes that this 0.9 of "evidence" is distributed across the network's neurons. To explain the prediction, we must track how that evidence flows from the output layer back to the input pixels.

In every layer, the total relevance received by a neuron from the layer above must be equal to the total relevance it redistributes to the layer below. This constraint ensures that the resulting explanation is a complete decomposition of the output score, rather than an arbitrary subset of local gradients. As Ameen Ali and Oliver Eberle argue in XAI for Transformers: Better Explanations through Conservative Propagation, enforcing this "conservation axiom" is what makes LRP more faithful to the model's internal logic than standard sensitivity analysis.

Beyond Gradients: Why Redistribution Works

Standard gradients tell us how a small change in the input would change the output. However, in deep networks, neurons often "saturate"—once a feature is detected, increasing its intensity might not change the output further, causing the gradient to vanish.

LRP avoids this by using specific propagation rules. For example, the $\alpha$-$\beta$ rule allows researchers to balance positive evidence (features that support the classification) and negative evidence (features that inhibit it). This produces stable, human-interpretable heatmaps. Farhad Arbabzadah and colleagues demonstrated in Identifying individual facial expressions by deconstructing a neural network that these heatmaps can reveal whether a model is looking at a person's eyes to determine happiness or merely relying on background artifacts.

Other methods like DeepLIFT, introduced by Avanti Shrikumar and Anshul Kundaje in Not Just a Black Box: Learning Important Features Through Propagating Activation Differences, refine this by comparing activations to a "reference" baseline. This ensures that even if a neuron is saturated, its contribution relative to a neutral state is still captured.

Adapting to Modern Architectures

As neural architectures have evolved from simple CNNs to more complex structures, relevance propagation has had to adapt:

  • Transformers and Attention: Standard LRP can "leak" relevance in attention layers. Reduan Achtibat introduced AttnLRP (/work/attnlrp-attention-aware-layer-wise-relevance-propagation), which derives new rules for matrix multiplication to trace decisions back to specific "knowledge neurons" within the Transformer.
  • State Space Models: For newer architectures like Mamba, Farnoush Rezaei Jafari developed MambaLRP (/work/mambalrp-explaining-selective-state-space-sequence-models), which linearizes complex activation functions like SiLU to maintain the conservation property.
  • Unsupervised Learning: The NEON framework by Jacob Kauffmann and Lukas Ruff "neuralizes" clustering models, allowing LRP to explain why a data point belongs to a specific cluster (From Clustering to Cluster Explanations via Neural Networks).

Real-World Impact: From EEG to Cancer Research

The power of LRP lies in its ability to provide "physiologically relevant" explanations. In neuroscience, Irene Sturm and Sebastian Lapuschkin used LRP to visualize spatio-temporal neural patterns in EEG data (Interpretable Deep Neural Networks for Single-Trial EEG Classification). Similarly, Armin W. Thomas applied it to fMRI data to identify which brain regions drive cognitive decoding (Interpretable LSTMs For Whole-Brain Neuroimaging Analyses).

In medicine, LRP has been used to identify genetic markers for drug synergy (Zhang et al.) and to pinpoint microstructural decay in Multiple Sclerosis patients (Lu et al.). By moving from "what" a model predicts to "why" it predicts it, these methods transform deep learning from a predictive tool into a discovery engine.

Papers in this version

Showing 60 of 198 papers.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 148 papers
  2. Version 1 · 2026-10-04 · 198 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_layer_wise_relevance_propagation_0a81e922,
  title = {layer-wise relevance propagation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/layer-wise-relevance-propagation/rdr_0a81e9227a714a3db28d44f52c555455},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_decomposing_model_predictions_via_layer__0a81e922_v1,
  title = {Decomposing Model Predictions via Layer-wise Relevance Propagation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/decomposing-model-predictions-via-layer-wise-relevance-propagation/rdr_0a81e9227a714a3db28d44f52c555455/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}