SHAP Meets Tensor Networks: Provably Tractable Explanations with Parallelism
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 83 of its 118 references that are in the map. First posted on arXiv 24 Oct 2025.
Builds on
83 of 118 references.
References · 83
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 744
- 2019Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methodscited by 443
- 2019The many Shapley values for model explanationcited by 344
- 2015Tensorizing Neural Networkscited by 250
- 2021Beta-CROWN: Efficient Bound Propagation with Per-neuron Split Constraints for Complete and Incomplete Neural Network Robustness Verificationcited by 228
- 2020Problems with Shapley-value-based explanations as feature importance measurescited by 200
- 2019Feature relevance quantification in explainable AI: A causal problemcited by 167
- 2018Abduction-Based Explanations for Machine Learning Modelscited by 160
- 2020Improving KernelSHAP: Practical Shapley Value Estimation via Linear Regressioncited by 154
- 2019The Shapley Taylor Interaction Indexcited by 143
- 2017Parallelizing Linear Recurrent Neural Nets Over Sequence Lengthcited by 127
38 more
- 2021FastSHAP: Real-Time Shapley Value Estimationcited by 125
- 2020Causal Shapley Values: Exploiting Causal Knowledge to Explain Individual Predictions of Complex Modelscited by 107
- 2021Sampling Permutations for Shapley Value Estimationcited by 102
- 2020On The Reasons Behind Decisionscited by 100
- 2020On the Tractability of SHAP Explanationscited by 92
- 2024Marabou 2.0: A Versatile Formal Analyzer of Neural Networkscited by 81
- 2020Model Interpretability through the Lens of Computational Complexitycited by 75
- 2022From Shapley Values to Generalized Additive Models and backcited by 60
- 2019Expressive power of tensor-network factorizations for probabilistic modeling, with applications from hidden Markov models to quantum machine learningcited by 55
- 2021Shapley values for feature selection: The good, the bad, and the axiomscited by 54
- 2023SHAP-IQ: Unified Approximation of any-order Shapley Interactionscited by 51
- 2022Logic-Based Explainability in Machine Learningcited by 48
- 2022Towards Formal XAI: Formally Approximate Minimal Explanations of Neural Networkscited by 42
- 2020Efficient Exact Verification of Binarized Neural Networkscited by 33
- 2021On the Complexity of SHAP-Score-Based Explanations: Tractability via Knowledge Compilation and Non-Approximability Resultscited by 32
- 2021Trading Complexity for Sparsity in Random Forest Explanationscited by 32
- 2021Provably efficient, succinct, and precise explanationscited by 32
- 2024Beyond TreeSHAP: Efficient Computation of Any-Order Shapley Interactions for Tree Ensemblescited by 31
- 2021Tensor-Train Density Estimationcited by 30
- 2021RKHS-SHAP: Shapley Values for Kernel Methodscited by 30
- 2019Explaining Models by Propagating Shapley Values of Local Componentscited by 29
- 2021Fast TreeSHAP: Accelerating SHAP Value Computation for Treescited by 29
- 2020Causality-based Explanation of Classification Outcomescited by 25
- 2023Formally Explaining Neural Networks within Reactive Systemscited by 24
- 2019The Shapley Value of Tuples in Query Answeringcited by 23
- 2022On the Computation of Necessary and Sufficient Explanationscited by 23
- 2023Explainability is NOT a Gamecited by 23
- 2024Local vs. Global Interpretability: A Computational Complexity Perspectivecited by 23
- 2024Provably Accurate Shapley Value Estimation via Leverage Score Samplingcited by 23
- 2024KernelSHAP-IQ: Weighted Least-Square Optimization for Shapley Interactionscited by 22
- 2024Distance-Restricted Explanations: Theoretical Underpinnings & Efficient Implementationcited by 21
- 2020Tensor Networks for Medical Image Classificationcited by 20
- 2023Explaining the Uncertain: Stochastic Shapley Values for Gaussian Process Modelscited by 19
- 2023HarsanyiNet: Computing Accurate Shapley Values in a Single Forward Propagationcited by 17
- 2023Tensor networks for interpretable and efficient quantum-inspired machine learningcited by 17
- 2018Entanglement-guided architectures of machine learning by quantum tensor networkcited by 15
- 2018Connecting Weighted Automata and Recurrent Neural Networks through Spectral Learningcited by 15
- 2023Machine learning with tree tensor networks, CP rank constraints, and tensor dropoutcited by 15
50 most cited of 83 All 83 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 7.
8 papers.
- 2026Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guaranteescited by 11
- 2026Unifying Formal Explanations: A Complexity-Theoretic Perspectivecited by 2
- 2025Interaction Tensor SHAPcited by 1
- 2026Provably Explaining Neural Additive Modelscited by 1
- 2026The Representational Limit of Scalar Interactions: An Interventional Decompositioncited by 1
- 2026Quantum-inspired tensor networks in machine learning modelscited by 0
- 2026Verified SHAP: Provable Bounds for Exact Shapley Values of Neural Networkscited by 0
- 2026TN-SHAP-G: Graph-Structured Tensor Network Surrogates for Shapley Values and Interactionscited by 0
- 2026The Representational Limit of Scalar Interactions: An Interventional Decomposition17 Jun 2026
- 2026TN-SHAP-G: Graph-Structured Tensor Network Surrogates for Shapley Values and Interactions1 Jun 2026
- 2026Verified SHAP: Provable Bounds for Exact Shapley Values of Neural Networks22 May 2026
- 2026Quantum-inspired tensor networks in machine learning models15 Apr 2026
- 2026Unifying Formal Explanations: A Complexity-Theoretic Perspective20 Feb 2026
- 2026Provably Explaining Neural Additive Models19 Feb 2026
- 2026Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable Guarantees18 Feb 2026
- 2025Interaction Tensor SHAP5 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2025Tractable Shapley Values and Interactions via Tensor Networks
- 2023Efficient Computation of Shap Explanation Scores for Neural Network Classifiers via Knowledge Compilation
- 2026When Are Two Networks the Same? Tensor Similarity for Mechanistic Interpretability
- 2025Tensorization is a powerful but underexplored tool for compression and interpretability of neural networks
- 2024Towards LLM-guided Efficient and Interpretable Multi-linear Tensor Network Rank Selection
- 2025Tensor Logic: The Language of AI
- 2026Implementing Tensor Logic: Unifying Datalog and Neural Reasoning via Tensor Contraction
- 2026Step-TP: A Grounded, Step-Level Dataset with Chain-of-Thought Reasoning for LLM-Guided Tensor Program Optimization