Skip to main content
QUICK REVIEW

[Paper Review] Unifying local and global model explanations by functional decomposition of low dimensional structures

Munir Hiabu, Joseph T. Meyer|arXiv (Cornell University)|Aug 12, 2022
Scientific Computing and Data ManagementDecision Sciences38 references7 citations
TL;DR

This paper proposes a functional decomposition method that unifies local (SHAP) and global (partial dependence) explanations by expressing any regression or classification function as a sum of main and interaction effects. By introducing a novel identification constraint, it enables exact computation of interventional SHAP values and partial dependence plots, allowing for post-hoc removal of biased components—particularly those involving protected features—while preserving valid, interpretable model explanations in low-dimensional or ensemble-based models.

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. 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}.

Motivation & Objective

  • To unify local (SHAP) and global (partial dependence) model explanations into a single, coherent framework.
  • To develop a functional decomposition that identifies main and interaction effects of arbitrary order in a way compatible with interventional SHAP and partial dependence plots.
  • To enable post-hoc bias reduction by removing components involving protected features without refitting the model.
  • To provide an efficient, exact algorithm for computing q-interaction SHAP values in low-dimensional or ensemble-based models like xgboost and random planted forest.
  • To introduce a new, more nuanced measure of feature importance based on decomposed components.

Proposed method

  • Proposes a functional decomposition of a model function into main and interaction effect components of arbitrary order.
  • Introduces a new identification constraint that ensures the partial dependence plot for a feature equals its main effect plus the intercept.
  • Derives interventional SHAP values as a weighted sum of all components involving a given feature, with weights equal to the reciprocal of the component's dimension.
  • Uses this decomposition to extract global explanations that are observation-specific only for shared feature subsets, enabling both local and global interpretability.
  • Applies the decomposition to tree-based models (xgboost, random planted forest) via an efficient algorithm that computes components exactly when the maximal interaction order q is small.
  • Enables post-hoc feature removal by zeroing out all components containing a protected feature, thus removing its direct effect while preserving indirect effects through correlated features.

Experimental results

Research questions

  • RQ1Can a unified framework be developed that simultaneously supports local (SHAP) and global (partial dependence) model explanations?
  • RQ2How can functional decomposition be constrained to ensure that partial dependence plots correspond exactly to main effects plus intercept?
  • RQ3Can interventional SHAP values be reinterpreted as a weighted sum of main and interaction components, with weights based on component dimension?
  • RQ4To what extent can bias from protected features be removed post-hoc via component deletion without refitting the model?
  • RQ5How does the proposed decomposition reveal higher-order interactions and improve feature importance assessment compared to standard methods?

Key findings

  • The proposed decomposition allows exact computation of q-interaction SHAP values for tree-based models when the maximal interaction order q is small, enabling precise local and global explanations.
  • The partial dependence plot for a feature is exactly equal to its main effect term plus the intercept under the proposed identification constraint.
  • Interventional SHAP values for a feature k are mathematically equivalent to a weighted sum of all main and interaction components involving k, with weights equal to the reciprocal of the component's dimension.
  • In a simulation with salary prediction, post-hoc removal of the sex feature via component deletion reduced the median prediction gap between males and females from 29.79 to 10.57, while refitting the model had no effect due to correlation with hours worked.
  • On the adult dataset, the median difference between male and female predictions was reduced from 0.13 (full model) to 0.05 (decomposed model), demonstrating effective bias mitigation.
  • The method successfully reveals higher-order interactions and provides a more nuanced understanding of feature importance than single-value global measures.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.