Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

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

Layer-wise relevance propagation explains image predictions better than sensitivity analysis

  • Problem Accurate deep networks do not show which inputs drove a given prediction. Their nested non-linear structure works as a black box, which is costly in medical diagnosis.
  • Method Layer-wise relevance propagation (LRP) pushes the prediction backwards until each input gets a relevance score. Unlike sensitivity analysis, the scores sum to the prediction.
  • Results On image perturbation tests with GoogleNet, LRP heatmaps made the score fall faster than sensitivity analysis heatmaps.

Why accurate models still get stuck

Deep networks reach high accuracy, but their nested non-linear structure hides what drives a given prediction. That gap matters most where a wrong answer is costly, such as medical diagnosis or self-driving cars. In the pneumonia case, a model learned that asthma patients with heart problems had a lower risk, a pattern that came from biased data rather than from medical fact.

A black box output would hide this kind of error, because nothing in the prediction shows which signal the model relied on. The same concern appears in law, where a right to explanation asks for the reasons behind an algorithmic decision.

Research on opening black boxes has grown along two lines, one showing what a model has learned and one explaining individual predictions. This paper focuses on the second line, explaining one prediction in terms of its input variables.

A relevance score for every input

The key idea is to attach a relevance score to every input variable, so the scores explain the prediction instead of only naming the class. The authors compare two ways to compute those scores. Sensitivity analysis (SA) uses the local gradient, while layer-wise relevance propagation (LRP) pushes the prediction backwards through the network.

Both produce a heatmap in which each pixel or word receives a score.

The running example is a rooster image that a trained network labels correctly, and the heatmap points to the rooster's red comb and wattle. The question left open is how far the two heatmaps can be trusted, which the later experiments test.

What sensitivity analysis measures

Sensitivity analysis takes the magnitude of the partial derivative of the output with respect to each input variable, so the relevance of input i is that magnitude. \[ R_i = \left| \frac{\partial}{\partial x_i} f(x) \right| \] This assumes the most relevant inputs are the ones the output is most sensitive to. The gradient therefore describes how the score would change under a small edit, not how much each input already contributed to it.

The drawback shows up in the rooster example, where the yellow flowers that occlude the bird would be flagged. Reconstructing the hidden parts of the rooster would raise the score, but the flowers are not evidence for a rooster.

How relevance flows backwards

LRP starts from the output f(x) and redistributes it backwards with local rules until every input variable holds a relevance score R_i. The rule that holds throughout is relevance conservation, written as follows. \[ \sum_i R_i = \cdots = \sum_j R_j = \sum_k R_k = \cdots = f(x) \] No relevance is added or removed at any layer, so the input scores sum to the prediction.

The simple LRP rule moves relevance from layer l + 1 to layer l, with x_j the activations at layer l, R_k the relevance at layer l + 1, and w_jk the weight from neuron j to neuron k. \[ R_j = \sum_k \frac{x_j w_{jk}}{\sum_j x_j w_{jk} + \epsilon} R_k \] Each lower neuron gets a share that grows with its activation and with the strength of its connection, and the small term epsilon keeps the division safe.

Conservation holds exactly only when epsilon is 0.

The alpha-beta rule and the toolbox

The alpha-beta rule splits each neuron's contributions into positive and negative parts and weights them with alpha and beta. Conservation is kept by the constraint that alpha minus beta equals 1. For alpha equal to 1, the cited work shows that this rule coincides with a deep Taylor decomposition of a ReLU network.

The LRP toolbox provides Python and Matlab code and connects to Caffe and TensorFlow, so other models can be explained without rebuilding them.

Scoring explanations by perturbation

The authors rank input variables by their relevance and perturb the top ones first. A method that finds the truly relevant inputs should see the prediction score fall more steeply as those inputs are removed. The average decline of the score, or of accuracy, serves as the quality measure. The perturbations are model-independent, such as uniform random values, so that the comparison isn't biased toward one method.

GoogleNet image results

GoogleNet classifies images from ILSVRC2012, and the volcano and coffee cup examples are explained with both methods. The LRP heatmap of the cup highlights its ellipsoidal shape, and the volcano heatmap highlights the mountain's outline. The SA heatmaps are noisier and give large values to pure sky background, so the authors judge LRP's explanations subjectively better.

In the perturbation test, a 9x9 patch is replaced by uniform random values at each step. The score falls much faster when patches follow LRP heatmaps than when they follow SA heatmaps. This averages over the first 5040 images, so the advantage is shown for this GoogleNet setup and patch size.

Word deletion on 20Newsgroup

A word-embedding based convolutional network classifies 20Newsgroup documents, and this document was labelled sci.med. Both methods mark words such as sickness, body and discomfort as the basis of that decision. LRP also marks words such as ride, astronaut and Shuttle as negative evidence, which shows the classifier sees counter-evidence in the text.

SA doesn't separate positive from negative evidence.

The quantitative test sets the most important words to 0, and the accuracy decrease is averaged over 4154 documents. Deleting the words ranked by LRP lowers accuracy more than deleting those ranked by SA.

Frames and blocks in action recognition

A Fisher Vector / SVM classifier is trained on block-wise motion vectors, not on individual pixels, to reduce computation. The evaluation uses HMDB51, and a sit-up video is correctly classified. The heatmaps concentrate on blocks around the upper body, where the up and down motion of a sit-up appears. The relevance over four consecutive frames is larger in the frames that show that movement.

So the heatmaps show both the place and the time of the action within a clip.

Limitations

The quantitative checks use one GoogleNet setup on images and one convolutional network on 20Newsgroup. The image test averages over the first 5040 images with 9x9 patches, and the text test deletes words instead of sampling random values. The video experiment reports relevance over frames and blocks, with no perturbation score. The alpha-beta link to deep Taylor decomposition is stated only for alpha equal to 1 and ReLU networks.

No user study is reported, so the paper doesn't test whether the heatmaps help people validate a model. The authors leave open the theory behind explainability and how post-hoc explanations relate to models built to be interpretable.

Paper info

Authors
Wojciech Samek, Thomas Wiegand, Klaus-Robert Müller
Venue
arXiv · Preprint
First published
2017-8-28
Added
2026-11-12
Updated
2017-8-28
Version
v1
arXiv
1708.08296
Category
cs.AI · cs.CY · cs.NE · stat.ML
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Wojciech Samek, Thomas Wiegand, Klaus-Robert Müller (2017). Explainable Artificial Intelligence: Understanding, Visualizing and Interpreting Deep Learning Models. arXiv:1708.08296v1. https://arxiv.org/abs/1708.08296v1

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

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up