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

Learning Important Features Through Propagating Activation Differences

DeepLIFT explains network predictions by comparing each neuron to a reference

  • Problem Gradient-based explanations give zero or jumping credit to features that still change the output. Outputs saturate and ReLU thresholds create discontinuities, so the gradient misses them.
  • Method DeepLIFT runs a reference input through the network and scores each neuron by its difference from that reference. It passes these contributions backward in one pass, using Linear, Rescale and RevealCancel rules.
  • Results On MNIST pixel erasure, DeepLIFT with RevealCancel outperformed the other backpropagation-based methods. The network reached 99.2% test-set accuracy.

Where gradient-based attribution breaks

Perturbation methods explain an input by changing it and rerunning the network, which costs one forward pass per perturbation. Backpropagation methods avoid that cost by sending one importance signal from the output back to the inputs, but plain gradients and gradient×input inherit a different weakness.

In the saturation example, once the two inputs pass a threshold together, the output stops responding to either one, and the gradients drop to zero with it, so features that shaped the output on the way up receive no credit. Guided Backpropagation and deconvolutional networks have a related gap, because they zero out negative signals and so miss inputs that push the output down.

Gradient×input also jumps when a ReLU input crosses its threshold, so a tiny change in the input can move a large share of credit onto the input and off the bias term.

Difference-from-reference and multiplier composition

DeepLIFT starts by choosing a reference input and passing it through the network to get a reference activation for every neuron. For a target neuron t with reference value t0, the explained quantity is \(\Delta t = t - t_0\), and the contributions \(C_{\Delta x_i \Delta t}\) to the inputs must sum to this difference. \[ \sum_{i=1}^{n} C_{\Delta x_i \Delta t} = \Delta t \]

Contributions are summarised by multipliers. A multiplier is the contribution of an input difference divided by that input difference, so it behaves like a partial derivative computed over a finite change instead of an infinitesimal one. \[ m_{\Delta x \Delta t} = \frac{C_{\Delta x \Delta t}}{\Delta x} \]

Multipliers are composed one layer at a time. The multiplier from an input to the target is the sum, over the intermediate neurons, of the product of the input-to-intermediate multiplier and the intermediate-to-target multiplier. \[ m_{\Delta x_i \Delta t} = \sum_j m_{\Delta x_i \Delta y_j}\, m_{\Delta y_j \Delta t} \] Because this is the same backward accumulation used for gradients, one backward pass gives the scores for all inputs after a prediction is made.

Linear and single-input nonlinear rules

For a linear neuron \(y = b + \sum_i w_i x_i\), the change \(\Delta y\) equals \(\sum_i w_i \Delta x_i\). The Linear rule splits this change into a positive and a negative part according to the sign of each term \(w_i \Delta x_i\). Each input's contribution to a part is then weighted by the weight \(w_i\) when the term has the matching sign, and it is zero otherwise.

When \(\Delta x_i\) is zero, the rule gives each part a multiplier of 0.5 times \(w_i\), so an input whose positive and negative parts cancel still receives credit.

For a nonlinearity with a single input, the Rescale rule takes the output change and sets the multiplier to the output change divided by the input change, so every part of the input shares that one multiplier. \[ m_{\Delta x \Delta y} = \frac{\Delta y}{\Delta x} \] As the input approaches its reference this ratio approaches the ordinary derivative, so the gradient can replace it near the reference and avoid dividing by a very small \(\Delta x\).

Because the multiplier is a difference rather than a derivative, a nonzero \(\Delta h\) can carry importance even where the gradient of the output is zero. Near a ReLU threshold the contribution changes continuously, and the bias term receives no credit.

Why RevealCancel separates positive and negative terms

Take the min of two inputs with both references at zero. Rescale concentrates credit on whichever input is smaller, because the other input's effect is cancelled inside the later neuron. Gradients, gradient×input, Guided Backpropagation and integrated gradients also put all credit on one input here, since at any given input one of the two gradients is zero.

RevealCancel handles the positive and negative parts of \(\Delta y\) separately. Its positive part averages the effect of \(\Delta x^{+}\) with no negative terms present and with them added, and the negative part is handled the same way with the roles swapped. This averaging is what lets each input keep its own effect, and for the min operation it assigns 0.5 min(i1, i2) to both inputs.

The authors note a trade-off. In a thresholded ReLU where small input changes are noise, Rescale assigns zero to both parts, whereas RevealCancel can still give nonzero credit by considering \(\Delta x^{+}\) without \(\Delta x^{-}\). For that case they suggest Rescale may be the better choice.

Choosing the reference and the explained neuron

The reference should encode what differences are measured against. For MNIST the all-zeros image matches the background, while for DNA sequences expected base frequencies or averaged shuffled sequences gave sensible results. On CIFAR10 a blurred version of the image highlighted object outlines, whereas an all-zeros reference highlighted background pixels, and the CIFAR10 results appear in the appendix.

Gradient×input behaves as if it used an all-zeros reference, since it is a first-order Taylor approximation of gradient×∆input measured against zeros. Gradients and Guided Backprop have no reference, which the authors count as a limitation, because they describe the output only at one input value.

For softmax or sigmoid outputs, contributions are computed to the linear layer before the final nonlinearity, because the nonlinearity attenuates the contributions as its output saturates. In the sigmoid example, inputs of 50 and 0 give contributions of 0.5 and 0, while inputs of 100 and 100 give 0.25 each, although the output is close to 1 in both cases.

For softmax, the linear layer's contributions are then centred by subtracting the mean contribution across the classes. \[ C'_{\Delta x \Delta c_i} = C_{\Delta x \Delta c_i} - \frac{1}{n}\sum_{j=1}^{n} C_{\Delta x \Delta c_j} \] This centring leaves the softmax output unchanged, since subtracting a fixed value from all softmax inputs does not change the output.

Pixel-erasure results on MNIST

The network is a convolutional model with two convolutional layers, a fully connected layer and a softmax output, reaching 99.2% test-set accuracy, and it uses convolutions with stride greater than 1 in place of pooling. For an image of original class c_o, pixels are ranked by \(S_{\Delta} = S_{c_o} - S_{c_t}\) for a target class \(c_t\), and up to 157 pixels, which is 20% of the image, are erased in descending order where that difference is positive.

The change in log-odds between \(c_o\) and \(c_t\) is measured for the original and the erased image, and the boxplots summarise 1K test images from the original class. Under this protocol DeepLIFT with RevealCancel outperformed the other backpropagation-based methods.

Integrated gradients computed over 5 or 10 intervals gave comparable results, which the authors take to mean more intervals would not change the result. Integrated gradients also performed comparably to gradient×input, which the authors read as a sign that saturation and thresholding failures were not common on this data.

Replacing RevealCancel with Rescale on various layers degraded the pixel-erasure performance. The authors suggest that Guided Backprop, which discards negative gradients, may explain its weak discrimination between classes.

Simulated regulatory DNA design

Background sequences are 200 letters long, with A, C, G and T sampled at probabilities 0.3, 0.2, 0.2 and 0.3. Instances of a GATA1 motif model and a TAL1 motif model are inserted at random non-overlapping positions, with 0-3 instances of each motif per sequence.

The three tasks are positive when both motifs are present, when only GATA1 is present, and when only TAL1 is present.

DeepLIFT, integrated gradients, gradient×input and Guided Backprop×input all use the expected ACGT frequencies as reference, so the comparison shares one reference. Guided Backprop×input was used instead of vanilla Guided Backprop because it performed better on DNA.

For each motif and sequence in the test set, the top 5 matches ranked by log-odds score are taken, and the total importance assigned to each match is compared across methods and tasks.

Whether scores follow motifs and cooperativity

An ideal method should give a motif high scores on tasks that need it and low scores on tasks that do not, should rise with match strength, and should show more credit when both motifs are present than when only one is.

Guided Backprop×input assigns positive importance to TAL1 on a task where TAL1 is not needed. It also fails to separate the joint-motif regions from the single-motif regions, so it does not show the cooperativity pattern.

Guided Backprop×input and gradient×input show a sudden rise in importance when the log-odds score is around 7, with little differentiation above that point. Because of this, they can assign high importance to weak motif matches, which the authors connect to the thresholding problem and the large discontinuous jumps in gradient that inflate their scores.

DeepLIFT-fc-RC-conv-RS reduced noise relative to pure RevealCancel in this simulation, which differs from the MNIST result. The authors attribute this to the noise-suppression property, since convolutional units that do not fire should not pass importance back. Gradient×input, integrated gradients and DeepLIFT-Rescale occasionally miss the TAL1 credit on the joint task, and RevealCancel on the fully connected layer corrects this.

RevealCancel scores appear tiered, which the authors relate to multiple instances of a motif sharing the credit for the presence of TAL1.

Limits of the evidence

The quantitative evidence covers one MNIST convolutional network and one simulated DNA setting with 200-letter sequences. The CIFAR10 reference observations are given only in the appendix.

The MNIST comparison uses one pixel-erasure protocol, with erasure capped at 157 pixels, which is 20% of the image. No statistical test accompanies the MNIST boxplots.

Integrated gradients can still give misleading results, and computing it requires numerical integration with added overhead. RevealCancel may assign nonzero contributions in a thresholded ReLU where the input change is only noise, which is why the authors sometimes prefer Rescale.

Paper info

Authors
Avanti Shrikumar, Peyton Greenside, Anshul Kundaje
Venue
arXiv · Preprint
First published
2017-4-10
Added
2026-11-12
Updated
2019-10-12
Version
v2
arXiv
1704.02685
Category
cs.CV · cs.LG · cs.NE
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

Avanti Shrikumar, Peyton Greenside, Anshul Kundaje (2017). Learning Important Features Through Propagating Activation Differences. arXiv:1704.02685v2. https://arxiv.org/abs/1704.02685v2

BibTeX
@misc{shrikumar2017learning,
  title = {{Learning Important Features Through Propagating Activation Differences}},
  author = {Avanti Shrikumar and Peyton Greenside and Anshul Kundaje},
  year = {2017},
  eprint = {1704.02685},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1704.02685v2}
}

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