Faith-Shap: The Faithful Shapley Interaction Index

Che-Ping Tsai, Chih-Kuan Yeh, Pradeep Ravikumar

In the world of Explainable AI (XAI), Shapley values are the gold standard. They provide a mathematically rigorous way to attribute a model's prediction to its individual input features. However, features rarely act alone. In sentiment analysis, the word "good" is positive, but "not good" is negative. To truly understand a black-box model, we need to understand these feature interactions.

While several "interaction indices" have been proposed to extend Shapley values, they often come with heavy mathematical baggage—either they don't sum up to the model's total prediction (losing "efficiency"), or they rely on obscure axioms that don't feel intuitive. A new paper from researchers at Carnegie Mellon University introduces Faith-Shap, a unique interaction index that is both axiomatically sound and "faithful" to the model's behavior.

TL;DR

Faith-Shap is a new framework for measuring feature interactions that generalizes Shapley values by treating them as the most "faithful" polynomial approximation of a model. Unlike previous methods, it satisfies all standard game-theoretic axioms (like efficiency and symmetry) while being significantly faster to compute and more accurate at capturing how groups of features actually drive model predictions.

What Problem Does This Paper Address?

The core challenge in XAI is moving from individual feature attribution (Order 1) to interaction attribution (Order 2 and beyond). If you have a model predicting house prices, an individual attribution might tell you that "Number of Bedrooms" is important. An interaction attribution would tell you that "Number of Bedrooms" combined with "Square Footage" has a unique joint effect.

Existing methods like the Shapley Taylor Index or the Shapley Interaction Index struggle with a "uniqueness" problem. When you move to interactions, the standard rules of the game (axioms) no longer point to a single right answer. To force a unique answer, previous researchers added new, less natural rules. The result? Indices that either ignore lower-order effects or fail to distribute the model's total "payout" correctly among the features.

Methods

The authors shift the perspective. Instead of just looking at game theory axioms, they look at faithfulness.

  1. Regression Viewpoint: They frame the problem as a weighted least-squares regression. If you want to approximate a complex model (a set function) using a simpler polynomial of order $\ell$, what coefficients should you use?
  2. The "Faithful" Family: By defining a family of "Faith-Interaction indices," they show that these indices are essentially the coefficients of the best-fitting polynomial.
  3. Axiomatic Bridge: They prove that if you require this "faithful" index to also satisfy the four classic Shapley axioms—Linearity, Symmetry, Dummy, and Efficiency—you are left with one unique solution: Faith-Shap.
  4. Computational Efficiency: Because Faith-Shap is defined via regression, it can be estimated using standard optimization tools like Lasso. This is a huge departure from traditional Shapley methods that require expensive sampling of permutations.

Datasets

The researchers evaluated Faith-Shap against existing indices using:

  • Simplified IMDB: A BERT-based sentiment analysis model where features are individual words.
  • Portuguese Bank Marketing: A tabular dataset using an XGBoost model to predict the success of telemarketing calls.
  • Synthetic Sparse Functions: Mathematically constructed functions where the "ground truth" interactions are known, allowing for precise error measurement.

Key Insights and Ideas

  • Shapley as a Linear Fit: A brilliant "aha moment" in the paper is the reminder that standard Shapley values are just the coefficients of the best linear approximation to a model. Faith-Shap simply extends this logic to higher-order polynomials.
  • The Efficiency Win: Many interaction indices don't satisfy the "Efficiency" axiom, meaning their scores don't sum up to the model's output. Faith-Shap ensures that the sum of all individual and interaction attributions perfectly accounts for the model's prediction.
  • Capturing Complementarity: In the IMDB experiments, Faith-Shap revealed that words like "Never" and "forgot" individually had negative or neutral scores, but their interaction score was highly positive. This perfectly captures the linguistic reality that "Never forgot" is a strong positive sentiment.

Key Results

  • Better Approximation: Faith-Shap curves tracked the actual model utility much more closely than the Shapley Taylor index, which was often "unfaithful" to the model for intermediate subset sizes.
  • Speed and Accuracy: In the Bank Marketing dataset, Faith-Shap reached a target accuracy (mean squared error < $10^{-3}$) in only 893.7 evaluations, whereas the Shapley Taylor index required 7,368.3 evaluations—a nearly 8x speedup.
  • Precision: On the IMDB dataset, Faith-Shap's "Precision@10" (its ability to find the true top 10 interactions) was consistently higher than competing methods across different sampling budgets.

Limitations and Future Work

While Faith-Shap is a major step forward, the authors note a few areas for growth:

  • High-Order Complexity: Even with sampling, computing very high-order interactions (e.g., interactions between 5 or 10 features) remains computationally expensive as the number of possible combinations explodes.
  • Sampling Strategies: The paper uses a specific sampling distribution based on subset sizes. Future work could explore even more efficient sampling methods borrowed from the "KernelSHAP" literature.
  • Beyond TU-Games: The current work focuses on "Transferable Utility" games. Exploring how these faithful approximations apply to other game-theoretic concepts like the "core" or "Nash bargaining" could open new doors for XAI.

Summary updated

BibTeX
@article{tsai2023faith,
  author = {Che-Ping Tsai and Chih-Kuan Yeh and Pradeep Ravikumar},
  title = {{Faith-Shap: The Faithful Shapley Interaction Index}},
  journal = {J. Mach. Learn. Res.},
  year = {2023},
}

Loading related content...

Figure