Skip to main content
QUICK REVIEW

[Paper Review] How Much Can We See? A Note on Quantifying Explainability of Machine Learning Models

Gero Szepannek|arXiv (Cornell University)|Oct 29, 2019
Explainable Artificial Intelligence (XAI)Computer Science14 references5 citations
TL;DR

This paper introduces a quantitative framework to assess how well partial dependence plots (PDPs) explain the predictions of black-box machine learning models. By measuring the mean squared difference between model predictions and PDP values, it defines an explainability metric $\Upsilon$ that quantifies up to what degree a PDP captures the model's behavior, enabling researchers to judge whether a visualization is sufficient for interpretability.

ABSTRACT

One of the most popular approaches to understanding feature effects of modern black box machine learning models are partial dependence plots (PDP). These plots are easy to understand but only able to visualize low order dependencies. The paper is about the question 'How much can we see?': A framework is developed to quantify the explainability of arbitrary machine learning models, i.e. up to what degree the visualization as given by a PDP is able to explain the predictions of the model. The result allows for a judgement whether an attempt to explain a black box model is sufficient or not.

Motivation & Objective

  • To address the lack of a standardized way to evaluate the adequacy of partial dependence plots (PDPs) in explaining black-box machine learning models.
  • To develop a quantitative measure that captures the extent to which a PDP reflects the true prediction behavior of a model.
  • To enable researchers to determine whether a PDP-based explanation is sufficient or if higher-order interactions or alternative methods are needed.
  • To provide a data-driven criterion for selecting which variables to include in PDPs to maximize explainability.

Proposed method

  • Define the mean squared difference between model predictions $\hat{f}(x)$ and partial dependence function values $\widehat{PD}_s(x)$ as the basis for explainability quantification.
  • Introduce the explainability metric $\Upsilon = 1 - \frac{\text{ASE}(PD_s)}{\text{ASE}(\text{baseline})}$, where ASE measures the expected squared error between predictions and PDP values.
  • Use empirical estimation of ASE via the sample mean to compute $\Upsilon$ on real and synthetic data.
  • Apply forward variable selection using $\Upsilon$ as the criterion to identify the most informative variable subsets for PDPs.
  • Visualize the match between $\hat{f}(x)$ and $\widehat{PD}_s(x)$ using scatterplots in the $(\hat{f}(x), PD(x))$ plane to assess model-PDP alignment.
  • Extend visualization to 2D PDPs and scatterplot matrices to explore multivariate dependencies, while noting limitations in visualizing higher-order interactions.

Experimental results

Research questions

  • RQ1To what extent can a partial dependence plot (PDP) accurately represent the prediction behavior of a black-box machine learning model?
  • RQ2How can the explainability of a PDP be quantitatively measured in relation to the underlying model’s predictions?
  • RQ3Which subset of input variables, when used in a PDP, maximizes the model's explainability as measured by $\Upsilon$?
  • RQ4Can the match between model predictions and PDP values be visually assessed and interpreted to detect limitations in explanation?
  • RQ5What level of $\Upsilon$ should be considered sufficient for a reliable model explanation, and when is a PDP inadequate?

Key findings

  • The explainability metric $\Upsilon$ effectively quantifies the degree to which a PDP reflects the true predictions of a model, with $\Upsilon = 1$ indicating perfect alignment.
  • For the Boston housing dataset, a $\Upsilon > 0.93$ was achieved with only six variables in the PDP, suggesting that a small subset of features can explain most of the model’s behavior.
  • In the Boston housing data, the variable selection process identified lstat and rm as the most influential predictors, with $\Upsilon$ values reaching 0.986 and 0.993 respectively when included early in the selection process.
  • Even with 14 variables included, $\Upsilon$ reached 1.000, indicating that full variable inclusion in the PDP leads to perfect match with model predictions.
  • Visual inspection of the $(\hat{f}(x), PD(x))$ scatterplot revealed systematic deviations between predictions and PDPs, especially in regions of high nonlinearity or interaction effects.
  • The study highlights that PDPs are limited to visualizing up to two variables at a time, and while scatterplot matrices help, they do not fully capture higher-order interactions, leaving this as an open research challenge.

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.