Skip to main content
QUICK REVIEW

[Paper Review] Interpretation of multi-label classification models using shapley values

Shikun Chen|arXiv (Cornell University)|Apr 21, 2021
Text and Document Classification TechnologiesComputer Science17 references14 citations
TL;DR

This paper proposes a SHAP-based framework to interpret multi-label classification models, extending Shapley values to explain feature contributions across multiple labels. It demonstrates that SHAP effectively reveals global feature importance, local prediction forces, and label-specific impacts across BR, CC, and MLKNN algorithms on real-world datasets like foodtruck, water quality, and yeast.

ABSTRACT

Multi-label classification is a type of classification task, it is used when there are two or more classes, and the data point we want to predict may belong to none of the classes or all of them at the same time. In the real world, many applications are actually multi-label involved, including information retrieval, multimedia content annotation, web mining, and so on. A game theory-based framework known as SHapley Additive exPlanations (SHAP) has been applied to explain various supervised learning models without being aware of the exact model. Herein, this work further extends the explanation of multi-label classification task by using the SHAP methodology. The experiment demonstrates a comprehensive comparision of different algorithms on well known multi-label datasets and shows the usefulness of the interpretation.

Motivation & Objective

  • To extend SHAP interpretation to multi-label classification, where data points can belong to multiple classes simultaneously.
  • To evaluate how SHAP explains feature contributions across different multi-label learning algorithms (BR, CC, MLKNN).
  • To provide global and local interpretability of model predictions, enabling trust and transparency in real-world ML applications.
  • To compare the interpretability performance of SHAP across diverse multi-label datasets and model architectures.
  • To identify limitations in current interpretation methods and guide future research in model interpretability for multi-label tasks.

Proposed method

  • Adapts the SHAP framework to multi-label classification by computing Shapley values for each feature across all labels independently.
  • Uses the SHAP equation: $\phi_i = \frac{1}{|N|!} \sum_{S \subseteq N \setminus \{i\}} |S|! (|N| - |S| - 1)! [f(S \cup \{i\}) - f(S)] $, where $f(S)$ is the model output using feature subset $S$.
  • Employs kernel SHAP for local explanation, estimating feature attributions by perturbing input features and measuring prediction changes.
  • Visualizes results using SHAP summary plots (feature effects across instances), feature importance plots (global feature ranking), and force plots (local prediction decomposition).
  • Applies the method to three real-world datasets: foodtruck (12 labels), water quality (14 labels), and yeast (14 labels) with three algorithms: BR, CC, and MLKNN.
  • Uses baseline prediction (mean of all training predictions) as the starting point for local explanations, with Shapley values representing feature contributions as forces pushing prediction up or down.

Experimental results

Research questions

  • RQ1How can SHAP be effectively extended to interpret multi-label classification models across multiple labels?
  • RQ2How do feature importance rankings differ across BR, CC, and MLKNN algorithms when using SHAP?
  • RQ3What insights does SHAP provide on the local contribution of features to individual label predictions?
  • RQ4How consistent are SHAP interpretations across different multi-label datasets and model architectures?
  • RQ5What are the limitations of current SHAP-based interpretation in multi-label settings, particularly regarding feature correlation and computational cost?

Key findings

  • SHAP feature importance plots show that averageincome is the most influential feature in the foodtruck dataset when using BR, followed by scholarity and agegroup.
  • The top four most important features in BR and CC models are nearly identical, but MLKNN exhibits a completely different feature importance ranking.
  • SHAP summary plots reveal that high std_temp has a strong positive impact on water quality prediction, while high co2 levels have a negative impact—aligning with human intuition.
  • For local interpretation, force plots show that specific features like Att54, Att26, and Att79 increase the prediction for label 13 in the yeast dataset, while others like Att99 and Att34 decrease it.
  • The interpretation patterns across BR, CC, and MLKNN are largely consistent in summary plots, indicating robustness of SHAP across different model types.
  • Despite its effectiveness, kernel SHAP is computationally slow on large datasets, and feature correlations are not explicitly modeled, potentially affecting interpretation fidelity.

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.