Model-agnostic Feature Importance and Effects with Dependent Features -- A Conditional Subgroup Approach

Christoph Molnar, Gunnar König, Bernd Bischl, Giuseppe Casalicchio
6/8/2020
stat.MLcs.LG

Official code: christophM/paper_conditional_subgroups (3 stars, R, last commit 2021-06-14).

Abstract

The interpretation of feature importance in machine learning models is challenging when features are dependent. Permutation feature importance (PFI) ignores such dependencies, which can cause misleading interpretations due to extrapolation.

Show full abstract

A possible remedy is more advanced conditional PFI approaches that enable the assessment of feature importance conditional on all other features. Due to this shift in perspective and in order to enable correct interpretations, it is therefore important that the conditioning is transparent and humanly comprehensible. In this paper, we propose a new sampling mechanism for the conditional distribution based on permutations in conditional subgroups. As these subgroups are constructed using decision trees (transformation trees), the conditioning becomes inherently interpretable. This not only provides a simple and effective estimator of conditional PFI, but also local PFI estimates within the subgroups. In addition, we apply the conditional subgroups approach to partial dependence plots (PDP), a popular method for describing feature effects that can also suffer from extrapolation when features are dependent and interactions are present in the model. We show that PFI and PDP based on conditional subgroups often outperform methods such as conditional PFI based on knockoffs, or accumulated local effect plots. Furthermore, our approach allows for a more fine-grained interpretation of feature effects and importance within the conditional subgroups.

View on arXivView PDF

Code Implementations(1)

Code for the paper: Model-agnostic Feature Importance and Effects with Dependent Feature -- A Conditional Subgroup Approach

32R, TeXJun 14, 20215 years ago

Similar Papers

Cite this paper

@article{molnar2020modelagnostic,
  title  = {Model-agnostic Feature Importance and Effects with Dependent Features -- A Conditional Subgroup Approach},
  author = {Christoph Molnar and Gunnar König and Bernd Bischl and Giuseppe Casalicchio},
  year   = {2020},
  eprint = {2006.04628},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.04628}
}

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/2006.04628.svg)](https://codeofpaper.com/paper/2006.04628)

Discussion