Layer-wise Relevance Propagation (LRP) is a post-hoc explainability method that assigns a relevance score to each input feature by performing a controlled backward pass through the network. Unlike gradient-based methods, LRP uses a conservation principle—the total relevance received by a neuron is fully redistributed to its predecessors—ensuring no relevance is lost or artificially created during propagation.
Glossary
Layer-wise Relevance Propagation

What is Layer-wise Relevance Propagation?
A pixel-wise decomposition technique that redistributes a deep neural network's prediction score backwards through its layers using specifically designed propagation rules until it reaches the input, generating a relevance heatmap.
The technique employs distinct propagation rules, such as the LRP-ε or LRP-αβ rules, tailored to different layer types to handle non-linear activations and suppress noise. In medical imaging, LRP produces high-resolution, clinically meaningful heatmaps that allow radiologists to verify whether a diagnostic model's decision is based on actual pathological structures rather than confounding artifacts or background pixels.
Key Properties of LRP
Layer-wise Relevance Propagation (LRP) is defined by a set of mathematical properties that ensure its explanations are conservative, consistent, and computationally tractable for deep neural networks.
The Conservation Principle
LRP's foundational axiom is relevance conservation. The total relevance assigned to the input must equal the model's output prediction score. At each layer, the sum of relevance scores received by neurons equals the sum redistributed to the layer below. This ensures no relevance is created or destroyed during backpropagation, providing a complete accounting of the prediction's evidence.
Deep Taylor Decomposition
LRP rules are theoretically grounded in Deep Taylor Decomposition (DTD). This framework views relevance propagation as a series of Taylor expansions applied at each neuron. By decomposing the function of a neuron around a root point, DTD provides a principled way to derive propagation rules that satisfy the conservation axiom while minimizing approximation error.
Composite Propagation Strategy
A single propagation rule is insufficient for deep networks. LRP employs a composite strategy that applies different rules to different layer types:
- LRP-ε: Stabilizes division for layers with high activation variance
- LRP-γ: Enhances positive contributions in fully-connected layers
- LRP-αβ: Separates positive and negative influences in convolutional layers
- LRP-0: A baseline rule for layers with ReLU activations
Positive and Negative Evidence
LRP explicitly separates positive relevance (evidence for a class) from negative relevance (evidence against it). The αβ-rule achieves this by treating positive and negative weighted activations asymmetrically. This dual-channel attribution is critical in medical imaging, where both the presence of a lesion and the absence of healthy tissue patterns contribute to a diagnosis.
Pixel-Level Resolution
Unlike gradient-based methods that produce coarse localization maps, LRP propagates relevance all the way to the input pixel space. Each pixel receives a signed relevance score, producing a fine-grained heatmap. This property makes LRP particularly suitable for identifying the exact boundaries of small pathologies in high-resolution medical images.
Computational Efficiency
LRP requires a single forward pass to compute the prediction and a single backward pass to redistribute relevance. This linear complexity with respect to network depth makes it feasible for real-time clinical applications. Implementations in libraries like iNNvestigate and Zennit provide optimized LRP backpropagation hooks for PyTorch and TensorFlow.
LRP vs. Other Explainability Methods
A technical comparison of Layer-wise Relevance Propagation against other widely used post-hoc feature attribution techniques for deep neural networks.
| Feature | LRP | Grad-CAM | Integrated Gradients | SHAP |
|---|---|---|---|---|
Attribution Granularity | Pixel-wise | Coarse region | Pixel-wise | Pixel-wise |
Conservation Property | ||||
Implementation Complexity | High | Low | Medium | High |
Computational Cost | 1 backward pass | 1 backward pass | 50-200 forward/backward passes | 200+ model evaluations |
Model Architecture Support | Any feed-forward DNN | CNN only | Any differentiable model | Any model |
Positive/Negative Relevance | ||||
Layer-wise Relevance Conservation | ||||
Noise Sensitivity | Low | Medium | Medium | High |
Frequently Asked Questions
Clear, technically precise answers to the most common questions about Layer-wise Relevance Propagation (LRP), its mechanisms, and its role in making deep neural network decisions interpretable for medical imaging and diagnostic applications.
Layer-wise Relevance Propagation (LRP) is a pixel-wise decomposition technique that redistributes the prediction score of a deep neural network backwards through the network's layers using a set of purposely designed propagation rules until it reaches the input, creating a relevance heatmap. The core mechanism operates on the principle of relevance conservation, where the total relevance assigned to a neuron in a given layer is fully redistributed to the neurons in the preceding layer that contributed to its activation. Unlike gradient-based methods, LRP does not rely on computing partial derivatives of the output with respect to the input. Instead, it defines specific propagation rules—such as the LRP-0, LRP-ε, and LRP-αβ rules—that dictate how relevance flows backward through different layer types, including linear layers, convolutional layers, and activation functions. The result is a signed heatmap where each input pixel receives a relevance score indicating its contribution to the model's final decision, with positive values supporting the prediction and negative values opposing it.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Core feature attribution and saliency mapping techniques that make diagnostic model decisions auditable and clinically trustworthy.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us