[Paper Review] From Shapley Values to Generalized Additive Models and back
This paper introduces n-Shapley Values, a parametric family of local post-hoc explanation methods that generalize Shapley Values to capture interaction effects up to order n. It establishes a precise functional correspondence between n-Shapley Values and Generalized Additive Models (GAMs), showing that these explanations recover the true functional decomposition of GAMs with interactions up to order n, thereby providing a principled, functionally-grounded interpretation of Shapley Values in explainable AI.
In explainable machine learning, local post-hoc explanation algorithms and inherently interpretable models are often seen as competing approaches. This work offers a partial reconciliation between the two by establishing a correspondence between Shapley Values and Generalized Additive Models (GAMs). We introduce $n$-Shapley Values, a parametric family of local post-hoc explanation algorithms that explain individual predictions with interaction terms up to order $n$. By varying the parameter $n$, we obtain a sequence of explanations that covers the entire range from Shapley Values up to a uniquely determined decomposition of the function we want to explain. The relationship between $n$-Shapley Values and this decomposition offers a functionally-grounded characterization of Shapley Values, which highlights their limitations. We then show that $n$-Shapley Values, as well as the Shapley Taylor- and Faith-Shap interaction indices, recover GAMs with interaction terms up to order $n$. This implies that the original Shapely Values recover GAMs without variable interactions. Taken together, our results provide a precise characterization of Shapley Values as they are being used in explainable machine learning. They also offer a principled interpretation of partial dependence plots of Shapley Values in terms of the underlying functional decomposition. A package for the estimation of different interaction indices is available at \url{https://github.com/tml-tuebingen/nshap}.
Motivation & Objective
- To reconcile local post-hoc explanation methods like Shapley Values with inherently interpretable models such as Generalized Additive Models (GAMs).
- To formalize the relationship between Shapley Values and functional decompositions, particularly highlighting limitations in capturing higher-order interactions.
- To propose n-Shapley Values as a parametric family of explanation algorithms that can model variable interactions up to order n.
- To demonstrate that Shapley-based explanations (including n-Shapley, Shapley Taylor, and Faith-Shap) are perfectly faithful to GAMs with interactions up to order n.
- To provide a functionally-grounded characterization of Shapley Values by linking them to the unique decomposition of a function into additive components.
Proposed method
- Introduce n-Shapley Values as a generalization of standard Shapley Values that incorporate interaction terms up to order n.
- Define the Shapley-GAM decomposition as a functional decomposition of a prediction function into additive components, grounded in subset compliance and value function properties.
- Establish that n-Shapley Values recover the true non-linear component functions of a GAM with interactions up to order n.
- Prove that Shapley-based explanations (including Shapley Taylor and Faith-Shap) are faithful to GAMs when the explanation order matches or exceeds the model's interaction order.
- Use the concept of subset compliance as a necessary and sufficient condition for a value function to yield a well-defined functional decomposition.
- Estimate the Shapley-GAM decomposition on a kNN classifier using 500, 5000, and 133,549 samples, validating stability and accuracy of higher-order terms.
Experimental results
Research questions
- RQ1How do Shapley Values relate to Generalized Additive Models (GAMs), especially in the presence of variable interactions?
- RQ2Can Shapley-based explanations faithfully recover the functional decomposition of a GAM with interactions up to order n?
- RQ3What is the functional role of Shapley Values in explaining complex, non-linear models such as neural networks?
- RQ4What conditions ensure that a value function yields a unique and meaningful functional decomposition of a prediction function?
- RQ5How does the n-Shapley framework reconcile local post-hoc explanations with inherently interpretable models?
Key findings
- n-Shapley Values recover the true functional decomposition of a GAM with interactions up to order n, establishing a precise correspondence between explanation methods and interpretable models.
- Shapley-based explanations (including Shapley Taylor and Faith-Shap) are perfectly faithful to GAMs when the explanation order matches or exceeds the model's maximum interaction order.
- Interventional SHAP values are perfectly faithful to GAMs without variable interactions, even under feature dependence, which resolves a long-standing ambiguity in their interpretation.
- The Shapley-GAM decomposition is uniquely determined under the subset compliance condition, providing a functionally-grounded characterization of Shapley Values.
- Higher-order Shapley coefficients are less precisely estimated with small sample sizes (e.g., N=5000), but the overall functional sums remain stable, as shown in empirical estimation on the Folktables Travel dataset.
- The results imply that any function, including neural networks, can be functionally decomposed via Shapley-based explanations into a GAM-like form with potentially high-order interactions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.