From global to local MDI variable importances for random forests and when they are Shapley values

Antonio Sutera, Gilles Louppe, Van Anh Huynh-Thu, Louis Wehenkel, Pierre Geurts
11/3/2021
stat.MLcs.LG

Official code: asutera/Local-MDI-importance (4 stars, Jupyter Notebook, BSD-3-Clause, last commit 2021-10-22).

Abstract

Random forests have been widely used for their ability to provide so-called importance measures, which give insight at a global (per dataset) level on the relevance of input variables to predict a certain output. On the other hand, methods based on Shapley values have been introduced to refine the analysis of feature relevance in tree-based models to a local (per instance) level.

Show full abstract

In this context, we first show that the global Mean Decrease of Impurity (MDI) variable importance scores correspond to Shapley values under some conditions. Then, we derive a local MDI importance measure of variable relevance, which has a very natural connection with the global MDI measure and can be related to a new notion of local feature relevance. We further link local MDI importances with Shapley values and discuss them in the light of related measures from the literature. The measures are illustrated through experiments on several classification and regression problems.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Repository for the paper "From global to local MDI variable importances for random forests and when they are Shapley values"

40Jupyter Notebook, PythonOct 22, 20215 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{sutera2021from,
  title  = {From global to local MDI variable importances for random forests and when they are Shapley values},
  author = {Antonio Sutera and Gilles Louppe and Van Anh Huynh-Thu and Louis Wehenkel and Pierre Geurts},
  year   = {2021},
  eprint = {2111.02218},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.02218}
}

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

Discussion