Rational Shapley Values

David S. Watson

TL;DR

Rational Shapley Values bridge the gap between feature attributions (which tell you which variables matter) and counterfactuals (which tell you how to change an outcome). By incorporating Bayesian decision theory, this method produces explanations tailored to a user’s specific goals and beliefs, ensuring that AI transparency is not just mathematically sound, but practically useful.

What Problem Does This Paper Address?

In the world of Explainable AI (XAI), we generally have two camps. The first uses feature attributions (like SHAP), which assign a "score" to each input to show its contribution to a prediction. The second uses counterfactuals, which show you the "nearest" possible world where the outcome was different (e.g., "If your income were $5k higher, your loan would have been approved").

Both have flaws. Standard Shapley values often compare a specific case to the "average" of the entire dataset, which might be a totally irrelevant baseline for a specific user. Meanwhile, counterfactuals can be overwhelming, providing dozens of different "paths" to a new outcome with no clear way to summarize them.

David S. Watson argues that these tools ignore a fundamental truth: explanations are pragmatic. The "right" explanation depends entirely on who is asking and why. A bank auditor needs a different explanation than a loan applicant. This paper introduces a framework to bake that context directly into the math.

Methods

The author introduces Rational Shapley Values, a hybrid approach that computes feature attributions over a "relevant subspace" of counterfactuals.

Key technical components include:

  • The Relevant Subspace: Instead of comparing a prediction to the whole dataset, the user defines a subset of interest based on their constraints (e.g., "only compare me to people in my age bracket who were successful").
  • Decision Theory Integration: The method uses Bayesian decision theory, specifically Utility (what the user wants to achieve) and Credence (the user’s beliefs about the world), to weight the importance of different explanations.
  • A New Axiom: Standard Shapley values are defined by four axioms (Efficiency, Linearity, Sensitivity, and Symmetry). Watson adds a fifth: Rationality. This ensures that the resulting attributions maximize the "expected reward" for the person receiving the explanation.
  • Reference Distributions: The paper explores three ways to handle feature dependencies: Marginal (treating features as independent), Conditional (accounting for correlations), and Interventional (using causal models to see how changing one feature affects others).

Datasets

The paper evaluates the method on three classic benchmark datasets, each representing a different XAI "use case":

  1. COMPAS: A recidivism risk dataset used to demonstrate Auditing for racial bias.
  2. Diabetes Dataset: A medical dataset used for Discovery, showing how different clinical goals change which biomarkers "matter."
  3. German Credit Dataset: A financial dataset used for Recourse, helping individuals understand exactly what they need to change to get a loan approved.

Key Insights and Ideas

  • Context is King: The paper rejects "explanatory objectivism." An explanation isn't a static deliverable; it’s a tool for decision-making. By allowing users to define a "relevant subspace," the AI stops explaining things the user already knows or can't change.
  • The Synthesis of "What" and "If": By calculating Shapley values on counterfactual samples, we get the best of both worlds: the summary power of attributions and the actionability of counterfactuals.
  • Causality Matters: The paper highlights that for "system-level" explanations (like medical discovery), you cannot ignore how variables affect one another. Using an interventional reference distribution prevents the model from assigning importance to "impossible" data points (like a pregnant man).

Key Results

  • In Auditing (COMPAS): Rational Shapley values revealed a significantly larger "racial attribution gap" when comparing high-risk defendants to a relevant baseline of low-risk peers, providing stronger evidence of bias than standard methods.
  • In Discovery (Diabetes): The method showed that two patients with identical data might receive different explanations based on their lifestyle preferences (e.g., one prefers a low-carb diet, the other low-fat). Rational Shapley values "flipped" the importance of BMI vs. blood pressure based on these utilities.
  • In Recourse (German Credit): For a "borderline" loan applicant, the method identified that their loan duration was the primary factor holding them back—a highly actionable insight that was buried in the "noise" of standard global averages.

Limitations and Future Work

  • Computational Complexity: Calculating these values requires Monte Carlo sampling, which can be slow and computationally expensive for very large models or datasets.
  • The Need for Priors: To use the "Interventional" mode, you need a causal graph (partial ordering) of the features. In many real-world scenarios, we don't fully know the causal structure of the data.
  • Confirmation Bias: The author acknowledges a risk: if users can "tune" their explanations by choosing subspaces, they might search for explanations that confirm their existing biases. Future work is needed to develop "severe tests" to ensure these custom explanations remain grounded in reality.

Summary updated

BibTeX
@inproceedings{watson2022rational,
  author = {David S. Watson},
  title = {{Rational Shapley Values}},
  booktitle = {FAccT},
  year = {2022},
  doi = {10.1145/3531146.3533170},
}
Figure