SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism
Abstract
Although Shapley additive explanations (SHAP) can be computed in polynomial time for simple models like decision trees, they unfortunately become NP-hard to compute for more expressive black-box models like neural networks - where generating explanations is often most critical. In this work, we analyze the problem of computing SHAP explanations for Tensor Networks (TNs), a broader and more expressive class of models than those for which current exact SHAP algorithms are known to hold, and which is widely used for neural network abstraction and compression. First, we introduce a general framework for computing provably exact SHAP explanations for general TNs with arbitrary structures. Interestingly, we show that, when TNs are restricted to a Tensor Train (TT) structure, SHAP computation can be performed in poly-logarithmic time using parallel computation. Thanks to the expressiveness power of TTs, this complexity result can be generalized to many other popular ML models such as decision trees, tree ensembles, linear models, and linear RNNs, therefore tightening previously reported complexity results for these families of models. Finally, by leveraging reductions of binarized neural networks to Tensor Network representations, we demonstrate that SHAP computation can become efficiently tractable when the network's width is fixed, while it remains computationally hard even with constant depth. This highlights an important insight: for this class of models, width - rather than depth - emerges as the primary computational bottleneck in SHAP computation.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Verified SHAP: Provable Bounds for Exact Shapley Values of Neural Networks cites The Many Shapley Values for Model Explanation
- Verified SHAP: Provable Bounds for Exact Shapley Values of Neural Networks cites Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees
- Verified SHAP: Provable Bounds for Exact Shapley Values of Neural Networks cites Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness Verification
- Verified SHAP: Provable Bounds for Exact Shapley Values of Neural Networks cites Problems with Shapley-value-based explanations as feature importance measures
- Verified SHAP: Provable Bounds for Exact Shapley Values of Neural Networks cites On the Tractability of SHAP Explanations
- Provably Explaining Neural Additive Models cites Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees
- Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees cites Provably Explaining Neural Additive Models
- Provably Explaining Neural Additive Models cites Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness Verification
- Provably Explaining Neural Additive Models cites Unifying Formal Explanations: A Complexity-Theoretic Perspective
- Unifying Formal Explanations: A Complexity-Theoretic Perspective cites Provably Explaining Neural Additive Models
- Provably Explaining Neural Additive Models cites Additive Models Explained: A Computational Complexity Approach
- Additive Models Explained: A Computational Complexity Approach cites Provably Explaining Neural Additive Models
- Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees cites Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness Verification
- Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees cites Unifying Formal Explanations: A Complexity-Theoretic Perspective
- Unifying Formal Explanations: A Complexity-Theoretic Perspective cites Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees
- Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees cites Additive Models Explained: A Computational Complexity Approach
- Unifying Formal Explanations: A Complexity-Theoretic Perspective cites Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness Verification
- Unifying Formal Explanations: A Complexity-Theoretic Perspective cites Problems with Shapley-value-based explanations as feature importance measures
- Unifying Formal Explanations: A Complexity-Theoretic Perspective cites On the Tractability of SHAP Explanations
- Unifying Formal Explanations: A Complexity-Theoretic Perspective cites Additive Models Explained: A Computational Complexity Approach
- Causal Shapley Values: Exploiting Causal Knowledge to Explain Individual Predictions of Complex Models cites Problems with Shapley-value-based explanations as feature importance measures
- On the Tractability of SHAP Explanations cites The Many Shapley Values for Model Explanation
- On the Tractability of SHAP Explanations cites Problems with Shapley-value-based explanations as feature importance measures
- Additive Models Explained: A Computational Complexity Approach cites The Many Shapley Values for Model Explanation
- Additive Models Explained: A Computational Complexity Approach cites Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness Verification
- Additive Models Explained: A Computational Complexity Approach cites On the Tractability of SHAP Explanations
Cited by top-tier papers6
- Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable GuaranteesItamar Hadad, Guy Katz, Shahaf BassanICLR 2026 · 10 citations
- Additive Models Explained: A Computational Complexity ApproachShahaf Bassan, Michal Moshkovitz, Guy KatzNeurIPS 2025 · 4 citations
- Provably Explaining Neural Additive ModelsShahaf Bassan, Yizhak Yisrael Elboher, Tobias Ladner, Volkan Şahin et al.ICLR 2026 · 3 citations
- Unifying Formal Explanations: A Complexity-Theoretic PerspectiveShahaf Bassan, Xuanxiang Huang, Guy KatzICLR 2026 · 3 citations
- Verified SHAP: Provable Bounds for Exact Shapley Values of Neural NetworksDavid Boetius, Shahaf Bassan, Guy Katz, Stefan Leue et al.ICML 2026
Builds on37
- The Many Shapley Values for Model ExplanationMukund Sundararajan, Amir NajmiICML 2020 · 799 citations
- On the Tractability of SHAP ExplanationsGuy Van den Broeck, Anton Lykov, Maximilian Schleich, Dan SuciuAAAI 2021 · 485 citations
- Problems with Shapley-value-based explanations as feature importance measuresI. Elizabeth Kumar, Suresh Venkatasubramanian, Carlos Scheidegger, Sorelle A. FriedlerICML 2020 · 458 citations
- Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Neural Network Robustness VerificationShiqi Wang, Huan Zhang, Kaidi Xu, Xue Lin et al.NeurIPS 2021 · 359 citations
- Causal Shapley Values: Exploiting Causal Knowledge to Explain Individual Predictions of Complex ModelsTom Heskes, Evi Sijben, Ioan Gabriel Bucur, Tom ClaassenNeurIPS 2020 · 235 citations
Related papers
- Shapley Explanation NetworksRui Wang, Xiaoqian Wang, David I. InouyeICLR 2021
- TN-SHAP-G: Graph-Structured Tensor Network Surrogates for Shapley Values and InteractionsFarzaneh Heidari, Guillaume RabusseauICML 2026
- Cost-efficient Gaussian tensor network embeddings for tensor-structured inputsLinjian Ma, Edgar SolomonikNeurIPS 2022 · 18 citations
- SVDinsTN: A Tensor Network Paradigm for Efficient Structure Search from Regularized Modeling PerspectiveYu-Bang Zheng, Xi-Le Zhao, Junhua Zeng, Chao Li et al.CVPR 2024 · 9 citations
- In Search for a SAT-friendly Binarized Neural Network ArchitectureNina Narodytska, Hongce Zhang, Aarti Gupta, Toby WalshICLR 2020 · 31 citations
