Hierarchical Variable Importance with Statistical Control for Medical Data-Based Prediction

Joseph Paillard, Antoine Collas, Denis A. Engemann, Bertrand Thirion

In medical imaging and neurosciences, machine learning models are increasingly used to predict clinical outcomes, such as diagnosing Alzheimer’s Disease from MRI scans. However, these models often function as "black boxes." For clinicians, understanding why a model made a specific prediction—identifying the specific brain regions involved—is as critical as the prediction itself.

A new framework, Hierarchical-CPI (HCPI), addresses this need by providing a model-agnostic method to pinpoint important features in highly correlated datasets while maintaining strict statistical "guardrails."

The Challenge: Correlated Data and Vanishing Importance

The primary hurdle in interpreting medical data is conditional variable importance: determining if a feature provides unique information not already captured by others. In MRI or EEG data, features are often highly correlated. For instance, adjacent brain voxels might share 95% of their variance.

Standard methods often suffer from "vanishing importance," where the model fails to flag any individual feature as important because each can be "explained away" by its neighbor. Furthermore, existing solutions like SAGE (Shapley Additive Global Importance) are computationally prohibitive and lack formal guarantees against false discoveries (Type I errors).

The HCPI Framework

HCPI solves these issues through a structured, hierarchical approach:

  1. Hierarchical Clustering: Variables are grouped into a tree (dendrogram) based on their correlations using Ward’s method.
  2. Multi-level Testing: Instead of testing individual variables in isolation, HCPI tests every node in the tree using Conditional Permutation Importance (CPI). This allows the identification of important groups of regions even when individual pixels are indistinguishable.
  3. Importance Conservation: To prevent predictive signals from disappearing in dense clusters, HCPI introduces a "conservation" mechanism. If a parent node is significant but its children are too correlated to show individual importance, the parent's importance is distributed down the tree.
HCPI vs. HCPI with importance conservation. The conservation mechanism (right) prevents important signals from vanishing in highly correlated clusters, allowing for better identification of significant features (red dashed lines).

Statistical Rigor and Computational Efficiency

A key contribution of HCPI is its formal control of the Family-Wise Error Rate (FWER). By constraining a node's p-value by its parent's, the method ensures that the probability of making even one false discovery is kept below a predefined threshold (e.g., $\alpha=0.05$).

In comparative simulations, HCPI demonstrated superior reliability over existing methods. While SAGE often failed to control FWER (frequently reaching 1.0), HCPI maintained strict control across various signal-to-noise ratios and correlation levels. Additionally, HCPI is orders of magnitude faster than Shapley-based methods, making it viable for high-dimensional medical datasets.

Performance comparison of CPI, HCPI, and SAGE. HCPI (blue) maintains strict FWER control (b, e) and offers significantly faster computation times (c, f) compared to SAGE, while maintaining competitive AUC (a, d).

Real-World Validation: MRI and EEG

The researchers validated HCPI on two major medical datasets:

  • ADNI (Alzheimer’s): Analyzing MRI data from 1,616 patients, HCPI successfully identified the hippocampi and orbitofrontal cortex as primary markers for Alzheimer’s, aligning with established clinical literature.
  • TDBRAIN (EEG): In a task detecting the "Berger effect" (alpha-wave changes), HCPI-IC recovered 96% of the full model's performance using only 12% of the variables, succeeding where standard methods failed due to extreme feature correlation (>0.9).

Conclusion

Hierarchical-CPI represents a significant step forward in making machine learning for healthcare both interpretable and statistically sound. By navigating the trade-off between feature resolution and statistical power, it provides clinicians with a reliable map of the features driving predictive models, even in the most challenging, highly correlated data environments.

Summary updated

BibTeX
@inproceedings{paillard2025hierarchical,
  author = {Joseph Paillard and Antoine Collas and Denis A. Engemann and Bertrand Thirion},
  title = {{Hierarchical Variable Importance with Statistical Control for Medical Data-Based Prediction}},
  booktitle = {IPMI},
  year = {2025},
}
Figure