Abstract
This paper aims to develop a new attribution method to explain the conflict between individual variables' attributions and their coalition's attribution from a fully new perspective. First, we find that the Shapley value can be reformulated as the allocation of Harsanyi interactions (AND-OR interactions) encoded by the AI model. Second, based on the re-allocation of interactions, we extend the Shapley value to the attribution of coalitions. Third, we derive the fundamental mechanism behind the conflict: it arises from interactions containing only partial variables of a coalition.
Introduction: The Partition Problem in XAI
In Explainable AI (XAI), the Shapley value is a gold standard for determining the contribution of individual inputs (like pixels or words) to a model's prediction. However, a significant challenge remains: the partition problem. Should we analyze individual pixels or "super-pixels" representing a semantic unit like a face? In NLP, should we look at tokens or full phrases?
While users often pre-define these groups (coalitions), there has been little guidance on whether these groups are meaningful to the model's internal logic. This leads to attribution conflict: the importance of a group often does not equal the sum of its parts. This paper provides a theoretical framework to explain this conflict and metrics to identify "faithful" coalitions.
Methods: AND-OR Interactions and Coalition Attribution
The researchers bridge game theory and deep learning by decomposing Shapley values into AND-OR interactions.
- Interaction Decomposition: They prove that Shapley values are a uniform reallocation of effects from AND-OR interactions. An "AND" interaction requires all variables to be present for an effect; an "OR" interaction requires only one.
- Coalition Attribution Metric ($\phi(S)$): They extend individual Shapley values to coalitions by considering only interactions that fully cover the group.
- Explaining the Conflict: They demonstrate that attribution conflict is caused by "partial interactions"—those involving some, but not all, members of a coalition.
- Faithfulness Metrics: Three metrics—$R(i)$, $R'(i)$, and $Q(S)$—evaluate how "faithful" a coalition is. A high $Q(S)$ score indicates the model treats the group as a single cohesive unit (a "singleton").
Datasets and Evaluation
The theory was validated across several domains:
- Synthetic Functions: To verify mathematical proofs with ground-truth interactions.
- NLP: SST-2 dataset using BERT-large and LLaMA models.
- Image Classification: MNIST and CIFAR-10 using VGG-11 and ResNet-20 architectures.
- Game of Go: Analyzing complex "shape patterns" (coalitions of stones) recognized by professional players using the KataGo engine.
Key Insights
- Conflict as Signal: Attribution conflict isn't an error; it signals that variables participate in interactions outside their defined group.
- The Singleton Ideal: A perfectly faithful coalition is treated by the model as a single variable, where group attribution equals the sum of parts because there are no distracting partial interactions.
- Bridging Logic: In Go, the metrics identified "shape patterns" used by human professionals, suggesting "faithful coalitions" are mathematical equivalents to human "concepts."
Key Results
- Theoretical Consistency: The new metric satisfies the five standard axioms of reliable attribution (Anonymity, Symmetry, Additivity, Dummy, and Efficiency).
- Faithfulness Validation: In NLP, natural phrases like "mesmerizing performances" showed high faithfulness ($Q(S) \approx 0.74$), while nonsensical groupings like "rivaling blair" scored much lower ($Q(S) \approx 0.31$).
- Go Application: The method quantified the advantage of specific stone configurations, aligning with expert intuition.
- Precision: The approximation error when using coalition attributions to mimic true Shapley values was extremely low (on the order of $10^{-7}$), confirming the accuracy of the theoretical decomposition.
Limitations and Future Work
Calculating all AND-OR interactions is computationally expensive. While sampling and sparse interaction assumptions help, scaling to high-dimensional images remains challenging. Additionally, the paper evaluates partitions but does not yet provide an automated algorithm to discover them from scratch. Future work may involve using these metrics to "debug" models by identifying unfaithful coalitions that represent representation flaws or shortcuts.
Summary updated