Introduction
The purported "black box" nature of deep neural networks remains a significant barrier to their adoption in domains where interpretability is essential, such as medicine and genomics. Understanding why a model made a specific prediction is just as critical as the prediction itself.
To address this, researchers have introduced DeepLIFT (Deep Learning Important FeaTures), a novel backpropagation-based algorithm. DeepLIFT explains neural network predictions by decomposing the output into contribution scores for each input feature. By comparing activations to a "reference" state rather than relying solely on local gradients, DeepLIFT successfully overcomes the "saturation problem" that plagues traditional gradient-based attribution methods.
The Flaws of Existing Attribution Methods
Existing methods for assigning "importance scores" to inputs—such as standard gradients or perturbation-based approaches—have significant limitations:
- The Saturation Problem: In many activation functions (like ReLUs or Sigmoids), the gradient can become zero even if the input is highly influential. For example, if a ReLU is "very on," its gradient flattens out, masking the input's true contribution.
- Discontinuities: Gradients can jump suddenly due to bias terms, leading to misleading importance scores.
- Computational Inefficiency: Perturbation-based methods, which involve changing one pixel or feature at a time and observing the output, are computationally prohibitive for large models.
- Cancellation Effects: Standard methods often struggle when positive and negative signals cancel each other out, hiding underlying dependencies.
The DeepLIFT Methodology
DeepLIFT's core philosophy is to explain the difference in output from a "reference" output in terms of the difference in inputs from a "reference" input.
Key Technical Components
- Summation-to-Delta Property: DeepLIFT ensures that the sum of all input contribution scores perfectly equals the total difference between the actual output and the reference output.
- Multipliers and the Chain Rule: The authors define "multipliers"—analogous to partial derivatives but calculated over finite differences. These multipliers can be backpropagated through the network just like gradients, making the process highly efficient, requiring only a single backward pass.
- The RevealCancel Rule: This specialized rule handles non-linearities by treating positive and negative contributions to a neuron separately. It prevents "cancellation" issues where a strong positive and strong negative signal might otherwise result in a zero-importance score.
- Reference Selection: The user chooses a "neutral" baseline (e.g., an all-black image for MNIST or a background frequency sequence for DNA) to measure against, making the importance scores context-aware.
Key Insights and Results
DeepLIFT shifts the paradigm from local gradients to comparative differences. Gradients only indicate how the output changes for an infinitesimal change in input at the current state. DeepLIFT, however, reveals how the input contributed to the change from a baseline, which is far more robust for saturated neurons.
Furthermore, through the RevealCancel rule, DeepLIFT can identify dependencies in logic-gate-like structures (such as a min(i1, i2) operation) where gradient-based methods typically assign all importance to only one of the inputs.
The paper evaluates DeepLIFT on two primary domains:
- MNIST Pixel Erasure: In a task designed to convert one digit to another by erasing pixels, DeepLIFT (using RevealCancel) significantly outperformed Gradient×Input, Integrated Gradients, and Guided Backpropagation. It accurately identified the "defining" pixels of a class.
- Genomics Accuracy (TAL-GATA): On a synthetic genomic dataset where specific DNA motifs are embedded in sequences, DeepLIFT-RevealCancel was the only method that consistently identified both motifs in a cooperative pair without producing significant false positives or missing relevance due to saturation.
Because it utilizes a backpropagation-like mechanism, DeepLIFT is orders of magnitude faster than perturbation-based methods and comparable in speed to standard gradient saliency maps.
Limitations and Future Work
While powerful, DeepLIFT has a few limitations. The results are highly dependent on the choice of the reference input; a poorly chosen reference could lead to unhelpful scores. Additionally, the current rules for "max" operations (like Max-Pooling or Maxout layers) are still being refined, with the authors noting that simply using the gradient for these layers is a placeholder. Finally, DeepLIFT currently provides local interpretability (explaining individual predictions), and extending this to understand a model's global behavior across an entire dataset remains an ongoing challenge.
Summary updated