Skip to main content
QUICK REVIEW

[Paper Review] The Shapley Taylor Interaction Index

Kedar Dhamdhere, Ashish Agarwal|arXiv (Cornell University)|Feb 14, 2019
Decision-Making and Behavioral EconomicsDecision Sciences29 references8 citations
TL;DR

This paper proposes the Shapley-Taylor Interaction Index, a generalization of the Shapley value that attributes model predictions to feature interactions up to size $k$, using a Taylor series-like decomposition of the multilinear extension of the model's set-theoretic behavior. It provides a stable, axiomatic framework with improved interpretability over prior methods like the Shapley Interaction Index, especially in capturing higher-order interactions without sign instability.

ABSTRACT

The attribution problem, that is the problem of attributing a model's prediction to its base features, is well-studied. We extend the notion of attribution to also apply to feature interactions. The Shapley value is a commonly used method to attribute a model's prediction to its base features. We propose a generalization of the Shapley value called Shapley-Taylor index that attributes the model's prediction to interactions of subsets of features up to some size k. The method is analogous to how the truncated Taylor Series decomposes the function value at a certain point using its derivatives at a different point. In fact, we show that the Shapley Taylor index is equal to the Taylor Series of the multilinear extension of the set-theoretic behavior of the model. We axiomatize this method using the standard Shapley axioms -- linearity, dummy, symmetry and efficiency -- and an additional axiom that we call the interaction distribution axiom. This new axiom explicitly characterizes how interactions are distributed for a class of functions that model pure interaction. We contrast the Shapley-Taylor index against the previously proposed Shapley Interaction index (cf. [9]) from the cooperative game theory literature. We also apply the Shapley Taylor index to three models and identify interesting qualitative insights.

Motivation & Objective

  • To extend feature attribution beyond individual features to include interactions among subsets of features up to size $k$.
  • To develop a stable, axiomatic method for interaction attribution that avoids the sign instability and high computational cost of existing approaches.
  • To provide a theoretically grounded, interpretable method for identifying meaningful feature interactions in deep learning models.
  • To demonstrate the method's utility in real-world NLP and regression tasks, revealing insights into model behavior such as negation, intensification, and complementarity.

Proposed method

  • Generalizes the Shapley value to interactions using a Taylor series expansion of the multilinear extension of the model's set function.
  • Defines the Shapley-Taylor index as the coefficient of the $k$-th order term in the Taylor expansion, capturing interaction effects of feature subsets of size $k$.
  • Axiomatizes the method using standard Shapley axioms (linearity, dummy, symmetry, efficiency) plus a new 'interaction distribution axiom' that characterizes pure interaction functions.
  • Computes indices via a closed-form expression derived from the multilinear extension, enabling exact computation for small feature sets.
  • For large models, applies Integrated Gradients to identify a small subset of influential features before computing indices to ensure computational feasibility.
  • Validates the method by comparing it to the Shapley Interaction Index and analyzing qualitative patterns in real-world models.

Experimental results

Research questions

  • RQ1How can we systematically attribute model predictions to feature interactions of size up to $k$, beyond individual feature contributions?
  • RQ2What axiomatic properties ensure that the interaction attribution is fair and consistent across different types of interaction functions?
  • RQ3How does the Shapley-Taylor index compare to the Shapley Interaction Index in terms of stability and interpretability, especially regarding sign alternation and computational cost?
  • RQ4What kinds of meaningful interaction patterns (e.g., negation, intensification, complementarity) can be detected using this method in real models?
  • RQ5Can the method reveal insights into model behavior that are missed by standard feature attribution, such as matching between question and context words in reading comprehension?

Key findings

  • The Shapley-Taylor index successfully captures negation in sentiment analysis, such as the interaction between 'not' and sentiment-bearing words like 'good', with an interaction effect of 0.778.
  • The method identifies intensification effects, such as 'both inspiring' amplifying the sentiment impact, with an interaction effect of 0.1.
  • For the sentiment task, the method reveals complementarity, where the interaction effect is of opposite sign to the main effects, as in 'a crisp psychological drama' with an interaction effect of 0.48.
  • In the random forest regression model, most influential pairwise interactions are substitutes, indicated by a negative slope in main effect vs. interaction effect plots, suggesting correlated features.
  • In the reading comprehension task, the method identifies specific matches between question words and context words—e.g., 'percentage' matching 'percent'—which previous analyses failed to detect.
  • The Shapley-Taylor index avoids the sign instability seen in the Shapley Interaction Index, where interaction values alternate in sign regardless of function size, indicating a more reliable distribution of interaction effects.

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.