Skip to main content
QUICK REVIEW

[Paper Review] Explainable AI for Trees: From Local Explanations to Global Understanding

Scott Lundberg, Gabriel Erion|arXiv (Cornell University)|May 11, 2019
Explainable Artificial Intelligence (XAI)Computer Science68 references262 citations
TL;DR

The paper introduces TreeExplainer, an exact polynomial-time algorithm to compute Shapley-based local explanations for tree models, extends them to capture feature interactions, and shows how to build global understanding from many local explanations. It also demonstrates applications in medical datasets for mortality, kidney disease, and hospital procedure duration, plus model monitoring and subgroup discovery.

ABSTRACT

Tree-based machine learning models such as random forests, decision trees, and gradient boosted trees are the most popular non-linear predictive models used in practice today, yet comparatively little attention has been paid to explaining their predictions. Here we significantly improve the interpretability of tree-based models through three main contributions: 1) The first polynomial time algorithm to compute optimal explanations based on game theory. 2) A new type of explanation that directly measures local feature interaction effects. 3) A new set of tools for understanding global model structure based on combining many local explanations of each prediction. We apply these tools to three medical machine learning problems and show how combining many high-quality local explanations allows us to represent global structure while retaining local faithfulness to the original model. These tools enable us to i) identify high magnitude but low frequency non-linear mortality risk factors in the general US population, ii) highlight distinct population sub-groups with shared risk characteristics, iii) identify non-linear interaction effects among risk factors for chronic kidney disease, and iv) monitor a machine learning model deployed in a hospital by identifying which features are degrading the model's performance over time. Given the popularity of tree-based machine learning models, these improvements to their interpretability have implications across a broad set of domains.

Motivation & Objective

  • Improve interpretability of tree-based models (random forests, gradient boosted trees) by providing exact local explanations with game-theoretic guarantees.
  • Extend local explanations to directly measure feature interactions.
  • Develop tools to infer global model structure by aggregating many local explanations and demonstrate practical medical applications.

Proposed method

  • Develop TreeExplainer to compute SHAP values exactly in polynomial time for tree ensembles.
  • Introduce SHAP interaction values to capture local feature interactions.
  • Propose five methods to combine local explanations into global model understanding while retaining local faithfulness.
  • Evaluate against 21 local explanation metrics across three datasets and models.
  • Provide high-performance implementations integrated with major tree-based ML packages.

Experimental results

Research questions

  • RQ1Can exact Shapley-based local explanations be computed efficiently for tree models?
  • RQ2How can local explanations be extended to quantify feature interactions at a local level?
  • RQ3How can many local explanations be aggregated to reveal global model structure and behavior?
  • RQ4Do SHAP-based explanations align with human intuition in medical decision contexts?
  • RQ5How can local explanations be used to monitor deployed models and detect data drift or issues over time?

Key findings

  • TreeExplainer computes SHAP values exactly in polynomial time, with local accuracy and consistency guarantees.
  • SHAP interaction values enable decomposition of effects into main and interaction components at a local level.
  • Aggregating many local explanations yields richer, more faithful global model representations than traditional global feature importance.
  • TreeExplainer outperforms other local explanation methods across 21 evaluation metrics on CKD, mortality, and hospital duration datasets.
  • Local explanation embeddings support supervised clustering and interpretable dimensionality reduction for population subgroups.

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.