Unifying local and global model explanations by functional decomposition of low dimensional structures

Munir Hiabu, Joseph T. Meyer, Marvin N. Wright
8/12/2022
29 citations
cs.LGmath.STstat.ML

Official code: PlantedML/glex (8 stars, R, last commit 2026-04-22).

Abstract

We consider a global representation of a regression or classification function by decomposing it into the sum of main and interaction components of arbitrary order. We propose a new identification constraint that allows for the extraction of interventional SHAP values and partial dependence plots, thereby unifying local and global explanations.

Show full abstract

With our proposed identification, a feature's partial dependence plot corresponds to the main effect term plus the intercept. The interventional SHAP value of feature $k$ is a weighted sum of the main component and all interaction components that include $k$, with the weights given by the reciprocal of the component's dimension. This brings a new perspective to local explanations such as SHAP values which were previously motivated by game theory only. We show that the decomposition can be used to reduce direct and indirect bias by removing all components that include a protected feature. Lastly, we motivate a new measure of feature importance. In principle, our proposed functional decomposition can be applied to any machine learning model, but exact calculation is only feasible for low-dimensional structures or ensembles of those. We provide an algorithm and efficient implementation for gradient-boosted trees (xgboost) and random planted forest. Conducted experiments suggest that our method provides meaningful explanations and reveals interactions of higher orders. The proposed methods are implemented in an R package, available at \url{https://github.com/PlantedML/glex}.

View on arXivView PDF

Code Implementations(1)

PlantedML/glexOfficial100%

Global explanations for tree-based models

83R, C++Jul 12, 20227 months ago

Similar Papers

Cite this paper

@article{hiabu2022unifying,
  title  = {Unifying local and global model explanations by functional decomposition of low dimensional structures},
  author = {Munir Hiabu and Joseph T. Meyer and Marvin N. Wright},
  year   = {2022},
  eprint = {2208.06151},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.06151}
}

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

Discussion