NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Explainability Is Not a Game

João Marques-Silva, Xuanxiang Huang

TL;DR

This paper demonstrates that Shapley values—the mathematical foundation for popular explainability tools like SHAP—can provide deeply misleading measures of feature importance. By evaluating all 4-variable boolean functions, the authors show that completely irrelevant features frequently receive higher importance scores than features critical to a model's prediction. This fundamental flaw challenges the safety and trustworthiness of using game-theoretic metrics in high-stakes machine learning applications.

What Problem Does This Paper Address?

As machine learning models find deployment in high-stakes domains like medicine and financial lending, eXplainable AI (XAI) has become crucial for building human trust and debugging systems. The most popular XAI approaches rely on "feature attribution" metrics, which assign a score to each feature indicating its relative importance to a specific prediction.

Currently, Shapley values (originally from cooperative game theory) are considered the gold standard for feature attribution, heavily popularized by tools like SHAP. Because Shapley values are derived from a clean set of game-theoretic axioms, practitioners widely assume they are mathematically rigorous and reliable.

This paper tackles a critical question: Can the relative order of feature importance dictated by Shapley values actually be trusted? The authors investigate whether a mathematically "irrelevant" feature (one that has absolutely no impact on the prediction) can mistakenly be assigned more importance than a "relevant" feature.

Methods

The authors contrast the game-theoretic approach of Shapley values with formal explainability, a logic-based framework that provides exact guarantees. They define two key concepts:

  1. Abductive Explanations (AXp): A minimal subset of features whose values are completely sufficient to guarantee a given prediction, regardless of what values the other features take.
  2. Feature Relevancy: A feature is strictly relevant if it is part of at least one AXp for a prediction. If a feature never appears in any AXp, it is irrelevant—meaning it plays no role in the sufficiency of that prediction.

To expose the limitations of Shapley values, the authors compute the exact Shapley values and exact formal explanations for a simple decision tree classifier, and then systematically scale this analysis across every possible 4-variable boolean function. This eliminates any approximation noise (which often clouds evaluations of tools like SHAP) and isolates the flaws of the underlying theory.

Datasets

The paper does not use standard empirical datasets (like ImageNet or tabular data from Kaggle). Instead, it utilizes an exhaustive synthetic benchmark: all 65,534 non-constant 4-variable boolean functions, totaling 1,048,544 distinct instances. This mathematical completeness allows the authors to prove how pervasive the structural issues of Shapley values truly are.

Key Insights and Ideas

  • Game theory assumptions fail in machine learning context: In classical game theory, all player coalitions are valid and meaningful. However, in machine learning, evaluating "all coalitions" forces the Shapley calculation to average over feature combinations that are logically impossible or completely disconnected from the actual prediction path. This "pollutes" the final attribution score.
  • The "Most Important" feature can be completely useless: The authors reveal that an irrelevant feature can end up with the largest absolute Shapley value, making it appear to a human user as the most critical variable driving the model's decision.
  • Approximating a flawed concept doesn't fix it: Popular tools like SHAP approximate Shapley values because calculating them exactly is computationally expensive (NP-hard). However, the authors argue that if the exact mathematical concept itself is fundamentally misaligned with feature relevancy, making it faster via approximation cannot yield rigorous or safe explanations.

Key Results

The Decision Tree Counterexample

The authors present a simple 4-variable decision tree classifier to clearly illustrate the flaw.

Example classifier decision tree and truth table

For the input instance $(0,0,0,0)$, the model predicts $0$. Logic-based analysis proves that feature 1 is entirely irrelevant to this prediction. Yet, when calculating the exact Shapley values:

  • Feature 1 (Irrelevant) receives a score of $0.1719$
  • Features 2, 3, and 4 (Relevant) each receive a score of $-0.1198$

Because $|0.1719| > |-0.1198|$, the completely irrelevant feature is ranked as the most important.

Exhaustive Evaluation

When evaluating all 65,534 4-variable boolean functions, the authors discovered these issues are not rare edge cases:

  • 99.67% of all functions contained instances where an irrelevant feature was assigned a non-zero Shapley value (Issue I1).
  • 61.72% of all functions contained instances where an irrelevant feature was assigned a larger absolute Shapley value than a truly relevant feature (Issue I2).
  • 1.90% of functions featured instances where an irrelevant feature was ranked as strictly more important than every other feature combined (Issue I5).

Limitations and Future Work

The primary limitation of this preliminary report is its focus on boolean classifiers (binary inputs and outputs). While this restriction is mathematically sufficient to disprove the universal reliability of Shapley values, extending exact formal explainability analysis to continuous feature spaces or deep neural networks remains computationally challenging.

As a path forward, the authors emphasize the urgent need to design alternative feature attribution metrics that strictly respect logic-based feature relevancy, ensuring that human decision-makers are never misled in high-stakes environments.

Summary updated

BibTeX
@article{marquessilva2024explainability,
  author = {João Marques-Silva and Xuanxiang Huang},
  title = {{Explainability Is Not a Game}},
  journal = {Communications of the ACM},
  year = {2024},
  doi = {10.1145/3635301},
}
Figure