Skip to main content
QUICK REVIEW

[Paper Review] From SHAP Scores to Feature Importance Scores

Olivier Létoffé, Xuanxiang Huang|arXiv (Cornell University)|May 20, 2024
Explainable Artificial Intelligence (XAI)Computer Science3 citations
TL;DR

This paper proposes a formal framework for deriving Feature Importance Scores (FISs) from SHAP scores by grounding them in power indices from voting theory, addressing the well-documented shortcomings of SHAP in producing misleading feature importance rankings. It introduces novel FISs that satisfy desirable axiomatic properties and rigorously evaluates existing power indices, showing that only a subset—such as the Shapley value and Banzhaf index—satisfy key fairness and consistency criteria for XAI applications.

ABSTRACT

A central goal of eXplainable Artificial Intelligence (XAI) is to assign relative importance to the features of a Machine Learning (ML) model given some prediction. The importance of this task of explainability by feature attribution is illustrated by the ubiquitous recent use of tools such as SHAP and LIME. Unfortunately, the exact computation of feature attributions, using the game-theoretical foundation underlying SHAP and LIME, can yield manifestly unsatisfactory results, that tantamount to reporting misleading relative feature importance. Recent work targeted rigorous feature attribution, by studying axiomatic aggregations of features based on logic-based definitions of explanations by feature selection. This paper shows that there is an essential relationship between feature attribution and a priori voting power, and that those recently proposed axiomatic aggregations represent a few instantiations of the range of power indices studied in the past. Furthermore, it remains unclear how some of the most widely used power indices might be exploited as feature importance scores (FISs), i.e. the use of power indices in XAI, and which of these indices would be the best suited for the purposes of XAI by feature attribution, namely in terms of not producing results that could be deemed as unsatisfactory. This paper proposes novel desirable properties that FISs should exhibit. In addition, the paper also proposes novel FISs exhibiting the proposed properties. Finally, the paper conducts a rigorous analysis of the best-known power indices in terms of the proposed properties.

Motivation & Objective

  • To address the critical issue that SHAP scores can produce misleading feature importance rankings, even for simple models, undermining trust in XAI.
  • To formalize the connection between feature attribution in XAI and a priori voting power indices, revealing that SHAP's foundation differs fundamentally from power index theory.
  • To define a new class of Feature Importance Scores (FISs) that satisfy desirable axiomatic properties for rigorous, trustworthy XAI.
  • To evaluate the suitability of well-known power indices—such as Shapley, Banzhaf, and Deegan-Packel—for use as FISs in XAI, based on formal criteria.
  • To identify which FISs satisfy key properties like efficiency, symmetry, linearity, and nullity, ensuring they are robust and interpretable for human decision-makers.

Proposed method

  • Proposes a formalization of Feature Importance Scores (FISs) as a generalization of power indices, grounded in characteristic functions derived from model explanations.
  • Introduces a new class of FISs based on axiomatic aggregations, including the Shapley value, Banzhaf, and others, with explicit mathematical formulations.
  • Applies the axiomatic framework from cooperative game theory (e.g., Shapley’s axioms) to define desirable properties for FISs, such as efficiency, symmetry, and linearity.
  • Uses logic-based explanations (AXps) to define characteristic functions that determine feature contributions, ensuring alignment with formal XAI principles.
  • Employs automated reasoning and formal verification to evaluate which FISs satisfy key properties, using counterexamples and proofs to validate results.
  • Conducts a systematic comparison of 10 FISs (e.g., $γ_S$, $γ_D$, $γ_H$, $γ_R$, $γ_B$, $γ_J$, $γ_A$, $γ_V$, $γ_E$, $γ_M$) across 8 axiomatic properties.

Experimental results

Research questions

  • RQ1Which power indices from voting theory are most suitable for use as Feature Importance Scores (FISs) in XAI, and why do SHAP scores fail in practice?
  • RQ2What formal axiomatic properties should a valid FIS satisfy to ensure fairness, consistency, and reliability in model explanation?
  • RQ3How do different FISs perform in terms of key properties like efficiency, symmetry, linearity, and nullity, and which ones satisfy all desirable criteria?
  • RQ4Can a unified formal framework be established to derive FISs from logic-based explanations, ensuring they are both rigorous and interpretable?
  • RQ5Why do SHAP scores produce misleading results even in simple models, and how does this stem from their foundational difference with power index theory?

Key findings

  • The Shapley value ($γ_S$) and Banzhaf index ($γ_B$) satisfy all eight axiomatic properties (P01–P08), including efficiency, symmetry, linearity, and nullity, making them robust FISs.
  • The Deegan-Packel ($γ_D$), Holler-Packel ($γ_H$), and Johnston ($γ_J$) indices fail to satisfy P01 (efficiency), indicating they do not sum to the total contribution, which undermines interpretability.
  • The Holler-Packel and Johnston indices violate linearity (P03), as their scores depend on the structure of the characteristic function in a non-linear way.
  • The Banzhaf index ($γ_B$) and Shapley value ($γ_S$) are the only FISs that satisfy all desirable properties, including P01–P08, confirming their suitability for rigorous XAI.
  • The $γ_V$ (Veto) and $γ_A$ (Anti-veto) indices are shown to be invariant to classifier values when features do not appear in AXps, ensuring consistency and correctness.
  • The paper proves that the Shapley value is the unique solution satisfying P01–P04, confirming its foundational role in the proposed framework.

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.