Layer-wise Relevance Propagation (LRP) is a decomposition technique that explains a deep neural network's prediction by redistributing its output score backwards through the network's layers using a local conservation property. Unlike gradient-based methods, LRP treats the prediction as a total quantity of relevance that must be fully decomposed and allocated to the input features, ensuring that the sum of the relevance scores across all input dimensions exactly equals the model's output score for the target class.
Glossary
Layer-wise Relevance Propagation

What is Layer-wise Relevance Propagation?
A deterministic explanation method that redistributes a neural network's prediction score backwards, layer by layer, using a strict conservation principle to assign relevance scores to individual input features.
The redistribution is governed by specific propagation rules, such as the LRP-ε or LRP-αβ rules, which dictate how relevance is divided among neurons in the preceding layer based on their relative contributions. This process produces a relevance heatmap that identifies which input features (e.g., pixels or words) provided positive evidence for the prediction and which spoke against it, offering a highly interpretable and faithful explanation of the model's decision-making process.
Key Characteristics of LRP
Layer-wise Relevance Propagation (LRP) is defined by a set of strict mathematical properties that distinguish it from standard gradient-based methods. These characteristics ensure the explanation is a faithful, pixel-wise decomposition of the model's actual decision function.
The Conservation Axiom
LRP is fundamentally governed by a conservation of evidence property. The total relevance score assigned to the output neuron is redistributed backwards without loss or gain. This means the sum of the relevance scores of the input features exactly equals the model's output score for the target class, satisfying the Completeness Axiom by construction.
Deep Taylor Decomposition Framework
LRP is theoretically grounded in Deep Taylor Decomposition. It explains a neuron's activation by performing a Taylor expansion at a functionally relevant root point in the input space where the neuron's activation is zero. This avoids the shattered gradient problem and provides a more faithful decomposition than simple gradient×input methods.
Propagation Rules
LRP uses specific rules to handle non-linearities and prevent noise. Key rules include:
- LRP-0: Basic rule, redistributes based on activation weights.
- LRP-ε: Adds a small constant to the denominator to absorb weak or contradictory relevance, improving numerical stability.
- LRP-αβ: Separates positive and negative contributions to control the influence of inhibitory evidence, often using LRP-α1β0 to focus purely on positive relevance.
Contrastive Explanations
Unlike methods that only explain 'why class A,' LRP can explain 'why class A and not class B' through contrastive relevance. By propagating the difference between the target and competitor logits, LRP identifies the unique features that discriminate between two specific classes, providing a much sharper diagnostic tool for model debugging.
Structural Fidelity
Because LRP operates layer-by-layer using the network's own weights and activations, it respects the structural topology of the deep model. It does not rely on local approximations or surrogate models. This ensures that the explanation is a true function of the model's internal architecture, satisfying the Implementation Invariance axiom for functionally equivalent networks.
Composite Strategy
In practice, a composite LRP strategy is used for deep networks like VGG or ResNet. Convolutional layers typically use LRP-αβ, while the final dense classification layers use LRP-ε. This hybrid approach ensures that high-level semantic relevance is preserved while low-level spatial noise is filtered out, producing crisp, interpretable heatmaps.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about the Layer-wise Relevance Propagation (LRP) decomposition technique, its mechanisms, and its role in the explainability ecosystem.
Layer-wise Relevance Propagation (LRP) is a decomposition technique that redistributes a neural network's prediction score backwards through its layers using a strict conservation property, assigning a relevance score to each input feature. Unlike standard backpropagation, LRP does not compute a gradient. Instead, it takes the model's output for a specific class and treats it as the total amount of relevance to be redistributed. It then applies a set of handcrafted, layer-specific propagation rules that operate on the activations and weights of each neuron. The fundamental constraint is that the sum of relevance arriving at a layer must equal the sum of relevance sent to the preceding layer. This process continues until the input layer is reached, producing a heatmap where each pixel or feature's relevance quantifies its exact contribution to the final prediction.
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
Layer-wise Relevance Propagation (LRP) relies on a specific set of propagation rules and conservation principles. These related concepts define the mathematical backbone of the technique and distinguish it from other gradient-based attribution methods.
Deep Taylor Decomposition
The foundational mathematical framework underpinning many LRP rules. It explains a model's prediction by performing a Taylor expansion of the output function at a carefully chosen root point—an input where the function value is zero. The first-order terms of this expansion are then redistributed backward through the layers. This provides a theoretical justification for why LRP's redistribution rules produce meaningful heatmaps, linking the heuristic propagation directly to functional decomposition.
Completeness Axiom
A critical conservation property that LRP strictly enforces. The axiom states that the sum of all relevance scores assigned to the input features must exactly equal the model's output prediction score for the target class. This is not an approximation; LRP's propagation rules are designed so that no relevance is created or destroyed during redistribution. This property ensures that the explanation is a true decomposition of the evidence, not just a vague indication of importance.
Propagation Rules (Alpha-Beta & Epsilon)
LRP is not a single algorithm but a family of rules dictating how relevance flows through different layer types. The most common rules include:
- LRP-ε: Adds a small constant to the denominator to absorb weak or contradictory relevance, improving numerical stability.
- LRP-αβ: Separates positive and negative activations, allowing the user to control the influence of inhibitory evidence (typically α=1, β=0 to focus on positive contributions).
- LRP-γ: A rule preferred for deep networks that adds a positive term to bias relevance towards positive contributions, often producing sharper, less noisy heatmaps.
Attribution Flow
A theoretical framework that views the backward pass of LRP as a continuous, conservative flow of a quantity through the network's computational graph. It unifies various decomposition methods by showing that they correspond to different choices of how to route the flow at network junctions. This perspective helps engineers design new propagation rules by defining specific flow constraints, ensuring that the resulting attributions satisfy the conservation law by construction.
Gradient × Input vs. LRP
A simple baseline attribution method that multiplies the input-gradient by the input value itself. While computationally cheap, it often produces noisy, visually incoherent saliency maps due to shattered gradients. LRP fundamentally differs by using a deep redistribution process that leverages the network's learned weights and activations to filter noise. Unlike Gradient × Input, LRP satisfies the completeness axiom by design, providing a true decomposition of the output score rather than a first-order Taylor approximation.
Guided Backpropagation
A visualization technique that modifies the standard backward pass by only allowing positive gradients and positive activations to flow through ReLU layers. While it produces very sharp, high-contrast saliency maps, it violates the sensitivity-n axiom and does not satisfy completeness. LRP is generally preferred for quantitative analysis because its conservation property ensures the relevance scores are a true decomposition of the prediction, whereas Guided Backpropagation is a heuristic that highlights detected features regardless of their actual contribution to the output.

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