Skip to main content
QUICK REVIEW

[Paper Review] Sensitivity based Neural Networks Explanations

Enguerrand Horel, Virgile Mison|arXiv (Cornell University)|Dec 3, 2018
Explainable Artificial Intelligence (XAI)Computer Science11 references11 citations
TL;DR

This paper proposes a fast, sensitivity-based method for explaining neural network predictions by computing gradients of outputs with respect to inputs to assess feature importance. It enables both global and local interpretability across diverse architectures (e.g., fully connected, CNNs, RNNs), outperforms LIME in speed (0.5s vs. 6 hours for 25k samples), and achieves comparable or better interpretability than inherently interpretable models like logistic regression and decision trees.

ABSTRACT

Although neural networks can achieve very high predictive performance on various different tasks such as image recognition or natural language processing, they are often considered as opaque "black boxes". The difficulty of interpreting the predictions of a neural network often prevents its use in fields where explainability is important, such as the financial industry where regulators and auditors often insist on this aspect. In this paper, we present a way to assess the relative input features importance of a neural network based on the sensitivity of the model output with respect to its input. This method has the advantage of being fast to compute, it can provide both global and local levels of explanations and is applicable for many types of neural network architectures. We illustrate the performance of this method on both synthetic and real data and compare it with other interpretation techniques. This method is implemented into an open-source Python package that allows its users to easily generate and visualize explanations for their neural networks.

Motivation & Objective

  • Address the critical need for model interpretability in high-stakes domains like finance and healthcare, where black-box models face regulatory and trust barriers.
  • Overcome limitations of existing explanation methods—especially computational inefficiency and lack of scalability—when applied to deep neural networks.
  • Develop a unified, efficient, and scalable method for generating both global and local feature importance explanations applicable to various neural network architectures.
  • Demonstrate that sensitivity-based explanations are consistent with those from inherently interpretable models (e.g., logistic regression, decision trees) and can guide effective feature selection.
  • Enable practical deployment of interpretability through an open-source Python package for easy explanation generation and visualization.

Proposed method

  • Compute the gradient of the neural network output with respect to each input feature to quantify sensitivity, serving as a proxy for feature importance.
  • Use the L2 norm of the gradient across all input samples to derive a global feature importance ranking, capturing overall influence on predictions.
  • Apply the same gradient computation locally for individual predictions to generate instance-specific explanations, enabling local interpretability.
  • Adapt the method to multiple architectures including fully connected, convolutional, and recurrent neural networks by leveraging backpropagation through the network’s computational graph.
  • Integrate second-order sensitivity (Hessian-based) in future work to capture feature interaction effects.
  • Implement the method in an open-source Python package to support end-to-end explanation generation and visualization for practitioners.

Experimental results

Research questions

  • RQ1Can gradient-based sensitivity provide a fast and reliable alternative to existing feature importance methods like LIME and Shapley values for deep neural networks?
  • RQ2How does the sensitivity-based method compare in accuracy and consistency to explanations from inherently interpretable models such as logistic regression and decision trees?
  • RQ3To what extent can sensitivity-based feature importance be used to identify and remove redundant or non-informative input features without degrading model performance?
  • RQ4How efficiently can the sensitivity method scale to large datasets and complex neural network architectures compared to existing approaches?
  • RQ5Can the method be generalized across different types of neural networks (e.g., fully connected, CNNs, RNNs) without architectural modifications?

Key findings

  • The sensitivity-based method computes global feature importance up to 7200 times faster than LIME, requiring only 0.5 seconds on 25,000 samples compared to 6 hours.
  • The global feature importance ranking from the sensitivity method closely aligns with LIME’s aggregated ranking and matches explanations from logistic regression and decision trees on the credit default dataset.
  • The top five most important features identified—PAY_0, PAY_AMT1, LIMIT_BAL, PAY_AMT2, and PAY_3—were consistently ranked highly across all methods, indicating robustness.
  • Selecting the top 10 features (explaining 90% of importance) from the sensitivity-based ranking yielded a smaller FCN with a testing error rate of 18.47% ± 0.000834, comparable to the original model’s 18.66% ± 0.000484.
  • The performance of the reduced model was statistically indistinguishable from the full model across 30 random weight initializations, confirming that removed features contributed negligible predictive power.
  • The method successfully identifies redundant features, enabling model simplification while preserving predictive accuracy, which supports its use in model compression and feature selection.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.