Interpreting Deep Neural Networks Through Variable Importance

Jonathan Ish-Horowicz, Dana Udwin, Seth R. Flaxman, Sarah Filippi, Lorin CrawfordarXiv 2019

Introduction

Deep Neural Networks (DNNs) have achieved state-of-the-art performance across diverse domains, yet they remain largely "black boxes." While local interpretability methods explain individual predictions, scientific applications—such as genomics or medicine—require global interpretability. Researchers need to identify which input features are the primary drivers of model behavior across an entire population. This paper introduces a framework for global variable importance by extending the RelATive cEntrality (RATE) measure to Bayesian models, providing a principled, information-theoretic approach to understanding complex model decisions.

Methodology: Bayesian RATE

The proposed framework combines Bayesian Deep Learning with information theory to quantify feature importance without the need for computationally expensive "mimic models."

Bayesian Neural Network Architecture

The authors utilize a Bayesian Neural Network (BNN) where the weights of the final layer are treated as random variables. This allows the model to quantify uncertainty and provides a probabilistic basis for importance measures.

Schematic of the Bayesian Neural Network architecture used for RATE, highlighting the input features, hidden layers, and probabilistic weights in the final layer.

The RATE Criterion

Importance is determined using the Kullback-Leibler Divergence (KLD). The RATE criterion measures the information loss when a specific feature's effect is removed from the model's posterior distribution. If removing a feature significantly alters the posterior, it is deemed highly important. To handle high-dimensional data, the authors use Variational Bayes to approximate the posterior distribution, ensuring the method remains scalable.

A key innovation is the use of covariance-based projections. Standard linear projections often fail in the presence of collinearity (highly correlated inputs). By leveraging partial covariance structures, RATE remains stable and accurately captures non-linear interactions between variables. The framework also extends to groupRATE, which assesses the collective importance of sets of variables, such as groups of genetic markers.

Experimental Validation

The framework was validated across several diverse datasets:

  • Simulated Data: RATE successfully identified true causal variables in synthetic regression and classification tasks, even with complex pairwise interactions.
  • MNIST Digit Classification: The method provided visual intuition by identifying the central pixels of the digit '1' and the circular structure of '0' as the most critical features.
  • Sentiment Analysis (IMDB): In natural language processing, RATE identified key sentiment-bearing words across 50,000 movie reviews.
  • Genetics (Mice GWAS): Applying groupRATE to a dataset of ~10,000 genetic markers, the authors identified biologically relevant genes associated with Body Mass Index (BMI), such as the Sgcz gene, outperforming traditional methods like the group lasso.

Key Insights

  • Interaction Awareness: RATE is specifically designed to account for how variables work together, rather than evaluating them in isolation.
  • Hyperparameter-Free: Unlike mimic models (e.g., Random Forests) that require extensive cross-validation and tuning, RATE is a direct calculation derived from the trained BNN.
  • Efficiency: Once the base BNN is trained, calculating RATE is often two orders of magnitude faster than training a separate interpretability model.

Conclusion and Future Work

The RATE framework offers a robust, computationally efficient path toward global interpretability in deep learning. While currently limited by computational complexity relative to the number of features, it provides a powerful tool for scientific discovery in fields where understanding variable importance is as critical as predictive accuracy. Future research will focus on optimizing these calculations for ultra-high-dimensional data and applying RATE to hidden layers to interpret the internal "concepts" learned by neural networks.

Summary updated

BibTeX
@misc{ishhorowicz2019interpreting,
  author = {Jonathan Ish-Horowicz and Dana Udwin and Seth R. Flaxman and Sarah Filippi and Lorin Crawford},
  title = {{Interpreting Deep Neural Networks Through Variable Importance}},
  year = {2019},
  eprint = {1901.09839},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.09839},
}
Figure