Variable Importance on Medical Images and Socio-Demographic Data

Ahmad Chamma, Denis Alexander Engemann, Bertrand Thirion

TL;DR

This paper tackles the challenge of reliably identifying which features (like brain scans or demographic data) are most important for predicting health outcomes. They systematically compare popular variable importance methods, finding that Deep Neural Networks (DNNs) generally perform best but struggle with correlated data, and highlighting the trade-offs between accuracy, computational cost, and statistical guarantees.

What Problem Does This Paper Address?

As we gather vast amounts of diverse data – from brain imaging to social and biological samples – the goal is to use this information to predict health outcomes and understand disease mechanisms. This is particularly relevant in mental health research, where complex factors contribute to outcomes. Machine learning models can predict these outcomes, but understanding why a model makes a certain prediction is crucial for developing effective interventions and establishing causal links. This requires accurately identifying which input features are truly driving the predictions. However, a wide array of methods exist for assessing "variable importance," and it's unclear which ones are most reliable across different data types (linear vs. non-linear) and prediction tasks (classification vs. regression). Previous comparisons have been fragmented, leaving a gap in our understanding of how these methods stack up against each other.

Methods

The authors conducted a comprehensive benchmark study comparing several popular variable importance methods. They simulated data with varying degrees of correlation between predictors and evaluated methods on both classification and regression tasks. The methods compared include:

  • Marginal Effects: Fitting a separate model for each variable to assess its individual impact.
  • Knockoffs: A statistical framework that generates "knockoff" variables to control for false discoveries.
  • Shapley Values (SHAP): An instance-based method that attributes the contribution of each feature to a specific prediction, then aggregated for population-level importance.
  • Mean Decrease Impurity (MDI): A tree-based method that measures how much a feature reduces impurity across nodes.
  • doCRT (Conditional Randomization Test): A permutation-based test for feature importance.
  • BART (Bayesian Additive Regression Trees): A sum-of-trees model that uses Bayesian priors.
  • Deep Neural Network (DNN): Importance is assessed by measuring the change in prediction when a variable is permuted.

They evaluated these methods based on AUC score (for ranking consistency), Type I error (for false positive control), power (for detecting true signals), and computation time.

Datasets

The study utilized two main types of data:

  • Simulated Data: Generated under scenarios with both correlated and independent predictors. The data had 50 variables and 1000 samples, with 5 different models used to generate the outcome variable (classification, simple regression, regression with ReLU, interactions only, and main effects with interactions).
  • Real Dataset: A subset of the UK Biobank dataset, including MRI scans and sociodemographic data from 8360 individuals, used to predict chronological age. This dataset contained 2155 variables.

Key Insights and Ideas

  • Correlation is a Major Hurdle: Many methods, particularly Marginal Effects and Knockoffs (with L1 regularization), perform poorly when predictors are correlated. This highlights a critical limitation for real-world datasets where features are often interdependent.
  • DNNs Lead the Pack (with caveats): Deep Neural Networks consistently showed the best performance in terms of AUC score and power, indicating their ability to capture complex relationships. However, they struggled to control Type I errors in the presence of correlated variables.
  • Statistical Guarantees are Rare: Only a few methods, like doCRT, provided reliable control of Type I errors. Many popular methods either don't provide p-values or their p-values are not well-calibrated, making it difficult to assess statistical significance.
  • Trade-offs are Inevitable: There's a clear trade-off between computational time and reliability. DNNs are computationally expensive, while simpler methods are faster but less accurate or statistically sound. BART and MDI offer a reasonable balance.
  • Instance vs. Population Level: Methods like SHAP, while excellent for explaining individual predictions, may not always provide reliable population-level importance scores.

Key Results

  • AUC Score: DNNs outperformed all other methods. Marginal Effects, SHAP, and Knockoff with L1 regularization performed poorly, especially with correlated data.
  • Type I Error: In correlated settings, only doCRT effectively controlled Type I errors.
  • Power: DNNs demonstrated superior power in detecting informative variables.
  • Computation Time: DNNs were significantly slower than most other methods, with computation time being a major bottleneck.
  • Real-world Prediction (UK Biobank): When predicting age from brain imaging and sociodemographic data, both DNNs and BART identified important predictors such as employment status, brain volume, and household income. However, the exact rankings differed between the two methods.

Limitations and Future Work

The authors acknowledge that DNNs, while powerful, fail to control Type I errors when variables are correlated. The current DNN implementation is also orders of magnitude slower than others, suggesting a need for more efficient implementations. They also note that SHAP, despite being a strong instance-level method, doesn't always yield reliable population-level importance scores. Marginal selection and knockoffs struggle with non-linear relationships and correlated data. doCRT, while good at controlling Type I errors, had difficulties with interaction effects. Future work could focus on developing more robust and computationally efficient methods that can handle correlated data and provide reliable statistical guarantees across various model types.

Summary updated

BibTeX
@inproceedings{chamma2021variable,
  author = {Ahmad Chamma and Denis Alexander Engemann and Bertrand Thirion},
  title = {{Variable Importance on Medical Images and Socio-Demographic Data}},
  booktitle = {SPIRE},
  year = {2021},
}
Figure