Conditional Feature Importance for Mixed Data

Kristin Blesch, David S. Watson, Marvin N. Wright
10/6/2022
stat.MLcs.LG

Official code: bips-hb/CFI_mixedData (2 stars, R, last commit 2023-02-22).

Abstract

Despite the popularity of feature importance (FI) measures in interpretable machine learning, the statistical adequacy of these methods is rarely discussed. From a statistical perspective, a major distinction is between analyzing a variable's importance before and after adjusting for covariates - i.e., between $\textit{marginal}$ and $\textit{conditional}$ measures.

Show full abstract

Our work draws attention to this rarely acknowledged, yet crucial distinction and showcases its implications. Further, we reveal that for testing conditional FI, only few methods are available and practitioners have hitherto been severely restricted in method application due to mismatching data requirements. Most real-world data exhibits complex feature dependencies and incorporates both continuous and categorical data (mixed data). Both properties are oftentimes neglected by conditional FI measures. To fill this gap, we propose to combine the conditional predictive impact (CPI) framework with sequential knockoff sampling. The CPI enables conditional FI measurement that controls for any feature dependencies by sampling valid knockoffs - hence, generating synthetic data with similar statistical properties - for the data to be analyzed. Sequential knockoffs were deliberately designed to handle mixed data and thus allow us to extend the CPI approach to such datasets. We demonstrate through numerous simulations and a real-world example that our proposed workflow controls type I error, achieves high power and is in line with results given by other conditional FI measures, whereas marginal FI metrics result in misleading interpretations. Our findings highlight the necessity of developing statistically adequate, specialized methods for mixed data.

View on arXivView PDF

Code Implementations(1)

Code for paper "Conditional Variable Importance for Mixed Data" by Kristin Blesch, David S. Watson, Marvin N. Wright (2022)

21R, PostScriptOct 5, 20223 years ago

Similar Papers

Cite this paper

@article{blesch2022conditional,
  title  = {Conditional Feature Importance for Mixed Data},
  author = {Kristin Blesch and David S. Watson and Marvin N. Wright},
  year   = {2022},
  eprint = {2210.03047},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.03047}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.03047.svg)](https://codeofpaper.com/paper/2210.03047)

Discussion