Introduction
Post-hoc explainability tools like SHAP have become industry standards for interpreting complex machine learning models. However, SHAP relies on a fundamental assumption of feature independence, treating model predictions as purely additive. In reality, modern models derive significant predictive power from feature interactions. Ignoring these interactions can lead to misleading explanations, while attempting to account for all possible interactions (as in nSHAP) results in an exponential explosion of data that is impossible for humans to parse.
Methodology: Interaction-Aware Shapley Values
To address this "Goldilocks" challenge, we introduce iSHAP (Interaction-Aware Shapley Value Explanations). iSHAP bridges the gap by automatically partitioning features into groups that interact significantly. The process involves three key steps:
- Pairwise Interaction Testing: A statistical t-test identifies significant interactions between feature pairs, constructing an interaction graph. This pruning step reduces the search space for partitions by over 99%, making the method computationally tractable.
- Optimal Partitioning: The algorithm searches for a feature grouping that minimizes regularized reconstruction error, balancing explanation accuracy with simplicity.
- Additive Explanation: A single explanatory value is calculated for each partitioned set, resulting in a human-readable list of individual features and "interaction blocks."
The paper introduces two variants: iSHAP-Exact for smaller feature sets and iSHAP-Greedy, a bottom-up approach that scales to hundreds of features.
Experimental Evaluation and Results
iSHAP was evaluated across various synthetic and real-world datasets, including bike sharing, housing, and healthcare data. Key findings include:
- Surrogate Accuracy: iSHAP consistently outperformed SHAP, nSHAP, and LIME. On complex datasets like "Credit," iSHAP achieved an $R^2$ of 0.9, compared to 0.6-0.7 for competitors.
- Scalability: While nSHAP becomes computationally infeasible beyond 16 features due to exponential complexity, iSHAP-Greedy scales efficiently to hundreds of features.
- Discovery Rate: In synthetic tests, iSHAP was significantly more accurate at identifying true ground-truth interacting sets than nSHAP.
Case Study: COVID-19 Interpretability
The practical utility of iSHAP is best demonstrated in high-stakes domains like healthcare. In a COVID-19 hospital survival case study, iSHAP provided nuanced insights that other methods missed.
For a specific 55-year-old patient, iSHAP revealed that while "Diabetes" and "Hypertension" are typically high-risk factors, their negative impact was significantly mitigated by the patient's specific demographic profile. SHAP's additive model missed this interaction entirely, while nSHAP buried the insight under a list of 2,516 coefficients.
Conclusion
iSHAP provides a scalable and human-centric approach to model explainability. By treating significant interactions as atomic "building blocks," it delivers explanations that are both accurate to the model's logic and simple enough for expert interpretation, effectively solving the trade-off between simplicity and completeness.
Summary updated