Algorithms to estimate Shapley value feature attributions
Open accessThe DOI matches its Crossref record; 47 of the 47 references it cites were found in a registry or an index.
Abstract
Feature attributions based on the Shapley value are popular for explaining machine learning models. However, their estimation is complex from both theoretical and computational standpoints. We disentangle this complexity into two main factors: the approach to removing feature information and the tractable estimation strategy. These two factors provide a natural lens through which we can better understand and compare 24 distinct algorithms. Based on the various feature-removal approaches, we describe the multiple types of Shapley value feature attributions and the methods to calculate each one. Then, based on the tractable estimation strategies, we characterize two distinct families of approaches: model-agnostic and model-specific approximations. For the model-agnostic approximations, we benchmark a wide class of estimation approaches and tie them to alternative yet equivalent characterizations of the Shapley value. For the model-specific approximations, we clarify the assumptions crucial to each method’s tractability for linear, tree and deep models. Finally, we identify gaps in the literature and promising future research directions. There are numerous algorithms for generating Shapley value explanations. The authors provide a comprehensive survey of Shapley value feature attribution algorithms by disentangling and clarifying the fundamental challenges underlying their computation.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Breiman, L. (2001) · Machine Learning · doi:10.1023/a:1010933404324 · Cited by 133,538
LeCun, Y., Bengio, Y., & Hinton, G. (2015) · Nature · doi:10.1038/nature14539 · Cited by 84,126
XGBoost: A Scalable Tree Boosting System
Chen, T., & Guestrin, C. (2016) · Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining · doi:10.1145/2939672.2939785 · Cited by 54,569
Highly accurate protein structure prediction with AlphaFold
Jumper, J., Evans, R., Pritzel, A., Green, T., Figurnov, M., Ronneberger, O., Tunyasuvunakool, K., Bates, R., Žídek, A., Potapenko, A., et al. (2021) · Nature · doi:10.1038/s41586-021-03819-2 · Cited by 43,764
Advances in neural information processing systems 7
Cios, K., & Shields, M. (1997) · Neurocomputing · doi:10.1016/s0925-2312(97)90018-7 · Cited by 22,059
"Why Should I Trust You?": Explaining the Predictions of Any Classifier
Ribeiro, M. T., Singh, S., & Guestrin, C. (2016) · Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining · doi:10.1145/2939672.2939778 · Cited by 17,555
Advances in neural information processing systems 7
(1996) · Computers & Mathematics with Applications · doi:10.1016/s0898-1221(96)90463-0 · Cited by 14,281
From local explanations to global understanding with explainable AI for trees
Lundberg, S. M., Erion, G., Chen, H., DeGrave, A., Prutkin, J. M., Nair, B., Katz, R., Himmelfarb, J., Bansal, N., & Lee, S.-I. (2020) · Nature Machine Intelligence · doi:10.1038/s42256-019-0138-9 · Cited by 10,551 · cited 10×
“However, as discussed by Covert et al. [26], there are several methods that use different coalitional games, including global feature attributions where the value is the model’s mean test loss [77], and local feature attributions where the value is the model’s per-sample loss [16].”
BackgroundMethodInfluentialSelf-citationMastering the game of Go without human knowledge
Silver, D., Schrittwieser, J., Simonyan, K., Antonoglou, I., Huang, A., Guez, A., Hubert, T., Baker, L., Lai, M., Bolton, A., et al. (2017) · Nature · doi:10.1038/nature24270 · Cited by 9,084 · cited 1×
“Machine learning models are increasingly prevalent because they have matched or surpassed human performance in many applications: these include Go [1], poker [2], Starcraft [3], protein folding [4], language translation [5], and more.”
Background17. A Value for n-Person Games
Shapley, L. S. (1953) · Contributions to the Theory of Games (AM-28), Volume II · doi:10.1515/9781400881970-018 · Cited by 6,950
Axiomatic attribution for deep networks
Sundararajan, M., Taly, A., & Yan, Q. (2017) · arXiv · doi:10.48550/arxiv.1703.01365 · Cited by 4,087
Grandmaster level in StarCraft II using multi-agent reinforcement learning
Vinyals, O., Babuschkin, I., Czarnecki, W. M., Mathieu, M., Dudzik, A., Chung, J., Choi, D. H., Powell, R., Ewalds, T., Georgiev, P., et al. (2019) · Nature · doi:10.1038/s41586-019-1724-z · Cited by 3,455 · cited 1×
“Machine learning models are increasingly prevalent because they have matched or surpassed human performance in many applications: these include Go [1], poker [2], Starcraft [3], protein folding [4], language translation [5], and more.”
BackgroundLearning Important Features Through Propagating Activation Differences
Shrikumar, A., Greenside, P., & Kundaje, A. (2017) · arXiv · doi:10.48550/arxiv.1704.02685 · Cited by 2,761
Shortcut learning in deep neural networks
Geirhos, R., Jacobsen, J.-H., Michaelis, C., Zemel, R., Brendel, W., Bethge, M., & Wichmann, F. A. (2020) · Nature Machine Intelligence · doi:10.1038/s42256-020-00257-z · Cited by 2,224 · cited 1×
“Combined with the tendency of machine learning to rely on shortcuts [10] (i.e., unintended learning strategies that fail to generalize to unseen data), there is a growing demand for model interpretability [11].”
BackgroundInterpretable Explanations of Black Boxes by Meaningful Perturbation
Fong, R. C., & Vedaldi, A. (2017) · 2017 IEEE International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2017.371 · Cited by 1,097 · cited 1×
“2This baseline is most natural for image data [43, 44].”
BackgroundAas, K., Jullum, M., & Løland, A. (2021) · Artificial Intelligence · doi:10.1016/j.artint.2021.103502 · Cited by 1,023
Monotonic solutions of cooperative games
Young, H. P. (1985) · International Journal of Game Theory · doi:10.1007/bf01769885 · Cited by 895
On Using Very Large Target Vocabulary for Neural Machine Translation
Jean, S., Cho, K., Memisevic, R., & Bengio, Y. (2015) · Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers) · doi:10.3115/v1/p15-1001 · Cited by 862
DeepStack: Expert-level artificial intelligence in heads-up no-limit poker
Moravčík, M., Schmid, M., Burch, N., Lisý, V., Morrill, D., Bard, N., Davis, T., Waugh, K., Johanson, M., & Bowling, M. (2017) · Science · doi:10.1126/science.aam6960 · Cited by 786
Datta, A., Sen, S., & Zick, Y. (2016) · 2016 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2016.42 · Cited by 728
Analysis of regression in game theory approach
Lipovetsky, S., & Conklin, M. (2001) · Applied Stochastic Models in Business and Industry · doi:10.1002/asmb.446 · Cited by 650
On the Complexity of Cooperative Solution Concepts
Deng, X., & Papadimitriou, C. H. (1994) · Mathematics of Operations Research · doi:10.1287/moor.19.2.257 · Cited by 629
Polynomial calculation of the Shapley value based on sampling
Castro, J., Gómez, D., & Tejada, J. (2009) · Computers & Operations Research · doi:10.1016/j.cor.2008.04.004 · Cited by 601 · cited 6×
“…the original work, other methods have been developed to estimate Shapley value explanations more efficiently, using model-agnostic strategies (permutation [30], multilinear extension [31], FastSHAP [32]) and model-specific strategies (linear models [28], tree models [16], deep models [29, 33, 34]).”
BackgroundMethodInfluentialMultilinear Extensions of Games
Owen, G. (1972) · Management Science · doi:10.1287/mnsc.18.5.64 · Cited by 425
Layer-Wise Relevance Propagation for Neural Networks with Local Renormalization Layers
Binder, A., Montavon, G., Lapuschkin, S., Müller, K.-R., & Samek, W. (2016) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-44781-0_8 · Cited by 418
Explaining a series of models by propagating Shapley values
Chen, H., Lundberg, S. M., & Lee, S.-I. (2022) · Nature Communications · doi:10.1038/s41467-022-31384-3 · Cited by 278
Self-citationThe explanation game: Explaining machine learning models using shapley values
Merrick, L., & Taly, A. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-57321-8_2 · Cited by 277
Value Theory Without Efficiency
Dubey, P., Neyman, A., & Weber, R. J. (1981) · Mathematics of Operations Research · doi:10.1287/moor.6.1.122 · Cited by 268
The Shapley value for cooperative games under precedence constraints
Faigle, U., & Kern, W. (1992) · International Journal of Game Theory · doi:10.1007/bf01258278 · Cited by 263
Using GPUs for machine learning algorithms
Steinkraus, D., Buck, I., & Simard, P. Y. (2005) · Eighth International Conference on Document Analysis and Recognition (ICDAR'05) · doi:10.1109/icdar.2005.251 · Cited by 251 · cited 1×
“One critical component in their success is flexibility, or expressive power [6–8], which has been facilitated by more complex models and improved hardware [9].”
BackgroundProblems with Shapley-value-based explanations as feature importance measures
Kumar, I. E., Venkatasubramanian, S., Scheidegger, C., & Friedler, S. (2020) · arXiv · doi:10.48550/arxiv.2002.11097 · Cited by 228 · cited 2×
“Having two popular types of Shapley value explanations has been cited as a weakness [22], but this issue is not unique to Shapley values; it is encountered by a large number of model explanation methods [26], and it is fundamental to understanding feature importance with correlated or statistically…”
BackgroundA linear approximation method for the Shapley value
Fatima, S. S., Wooldridge, M., & Jennings, N. R. (2008) · Artificial Intelligence · doi:10.1016/j.artint.2008.05.003 · Cited by 219
Feature relevance quantification in explainable AI: A causal problem
Janzing, D., Minorics, L., & Blöbaum, P. (2019) · arXiv · doi:10.48550/arxiv.1910.13413 · Cited by 207
Visualizing the Impact of Feature Attribution Baselines
Sturmfels, P., Lundberg, S., & Lee, S.-I. (2020) · Distill · doi:10.23915/distill.00022 · Cited by 200
Self-citationXRAI: Better Attributions Through Regions
Kapishnikov, A., Bolukbasi, T., Viegas, F., & Terry, M. (2019) · 2019 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2019.00505 · Cited by 198
Explaining instance classifications with interactions of subsets of feature values
Štrumbelj, E., Kononenko, I., & Robnik‐Šikonja, M. (2009) · Data & Knowledge Engineering · doi:10.1016/j.datak.2009.01.004 · Cited by 152
Castro, J., Gómez, D., Molina, E., & Tejada, J. (2017) · Computers & Operations Research · doi:10.1016/j.cor.2017.01.019 · Cited by 116
A Multilinear Sampling Algorithm to Estimate Shapley Values
Okhrati, R., & Lipani, A. (2021) · Proceedings - International Conference on Pattern Recognition/Proceedings/International Conference on Pattern Recognition · doi:10.1109/icpr48806.2021.9412511 · Cited by 80
Risk Attribution Using the Shapley Value: Methodology and Policy Applications
Tarashev, N. A., Tsatsaronis, K., & Borio, C. E. V. (2015) · European Finance Review · doi:10.1093/rof/rfv028 · Cited by 62
Redelmeier, A., Jullum, M., & Aas, K. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-57321-8_7 · Cited by 56
Charnes, A., Golany, B., Keane, M. P., & Rousseau, J. J. (1988) · Advanced studies in theoretical and applied econometrics · doi:10.1007/978-94-009-3677-5_7 · Cited by 52
Fast TreeSHAP: Accelerating SHAP value computation for trees
Yang, J. (2021) · arXiv · doi:10.48550/arxiv.2109.09847 · Cited by 44
The Shapley and Banzhaf values in microarray games
Lucchetti, R., Moretti, S., Fioravante Patrone, C., & Radrizzani, P. (2009) · Computers & Operations Research · doi:10.1016/j.cor.2009.02.020 · Cited by 38
Explaining predictive models using Shapley values and non-parametric vine copulas
Aas, K., Nagler, T., Jullum, M., & Løland, A. (2021) · Dependence Modeling · doi:10.1515/demo-2021-0103 · Cited by 27
Simon, G., & Thouvenot, V. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-57321-8_6 · Cited by 20
Cost Allocation for a Tree Network with Heterogeneous Customers
Granot, D., Kuipers, J., & Chopra, S. (2002) · Mathematics of Operations Research · doi:10.1287/moor.27.4.647.307 · Cited by 19
Statistical analysis of the Shapley value for microarray games
Moretti, S. (2009) · Computers & Operations Research · doi:10.1016/j.cor.2009.02.016 · Cited by 13
Research works printed but not linked: 28
- Doshi-Velez, F. & Kim, B. Towards a rigorous science of interpretable machine learning. Preprint at https://arxiv.org/abs/1702.08608 (2017). · arXiv
- Selbst, A. & Powles, J. ‘Meaningful information’ and the right to explanation. In Proc. Conference on Fairness, Accountability and Transparency 48–48 (PMLR, 2018).
- Knight, E. AI and machine learning-based credit underwriting and adverse action under the ECOA. Bus. Fin. L. Rev. 3, 236 (2019).
- Strumbelj, E. & Kononenko, I. An efficient explanation of individual classifications using game theory. J. Mach. Learn. Res. 11, 1–18 (2010).
- Sundararajan, M. & Najmi, A. The many Shapley values for model explanation. In Proc. International Conference on Machine Learning 9269–9278 (PMLR, 2020).
- Heskes, T., Sijben, E., Bucur, I. G. & Claassen, T. Causal Shapley values: exploiting causal knowledge to explain individual predictions of complex models. Adv. Neural Inf. Process. Syst. 33, 4778–4789 (2020).
- Covert, I., Lundberg, S. & Lee, S.-I. Explaining by removing: a unified framework for model explanation. J. Mach. Learn. Res. 22, 9477–9566 (2021).
- Chen, J., Song, L., Wainwright, M. J. & Jordan, M. I. L-Shapley and C-Shapley: efficient model interpretation for structured data. In Proc. International Conference on Learning Representations (ICLR'19) (2019).
- Chen, H., Janizek, J. D., Lundberg, S. & Lee, S.-I. True to the model or true to the data? Preprint at https://arxiv.org/abs/2006.16234 (2020). · arXiv
- Jethani, N., Sudarshan, M., Covert, I. C., Lee, S.-I. & Ranganath, R. FastSHAP: real-time Shapley value estimation. In Proc. International Conference on Learning Representations (PMLR, 2022).
- Ancona, M., Oztireli, C. & Gross, M. Explaining deep neural networks with a polynomial time algorithm for Shapley value approximation. In Proc. International Conference on Machine Learning 272–281 (PMLR, 2019).
- Wang, R., Wang, X. & Inouye, D. I. Shapley explanation networks. In Proc. International Conference on Learning Representations (PMLR, 2020).
- Tarashev, N. A., Borio, C. E. & Tsatsaronis, K. The Systemic Importance of Financial Institutions. BIS Quarterly Review (September 2009).
- Monderer, D. & Samet, D. et al. Variations on the Shapley value. Handbook Game Theory 3, 2055–2076 (2002).
- Ren, J., Zhou, Z., Chen, Q. & Zhang, Q. Can we faithfully represent absence states to compute Shapley values on a DNN? In Proc. International Conference on Learning Representations (2023).
- Frye, C., de Mijolla, D., Begley, T., Cowton, L., Stanley, M. & Feige, I. Shapley-based explainability on the data manifold. In Proc. International Conference on Learning Representations (2021).
- Wang, J., Wiens, J. & Lundberg, S. Shapley flow: a graph-based approach to interpreting model predictions. In Proc. International Conference on Artificial Intelligence and Statistics 721–729 (PMLR, 2021).
- Mase, M., Owen, A. B. & Seiler, B. Explaining black box decisions by Shapley cohort refinement. Preprint at https://arxiv.org/abs/1911.00467 (2019). · arXiv
- Bénard, C., Biau, G., Da Veiga, S. & Scornet, E. SHAFF: fast and consistent Shapley effect estimates via random forests. In Proc. International Conference on Artificial Intelligence and Statistics 5563–5582 (PMLR, 2022).
- Olsen, L. H. B., Glad, I. K., Jullum, M. & Aas, K. Using Shapley values and variational autoencoders to explain predictive models with dependent mixed features. J. Mach. Learn. Res. 23, 1–51 (2022).
- Williamson, B. & Feng, J. Efficient nonparametric statistical inference on population feature importance using Shapley values. In Proc. International Conference on Machine Learning 10282–10291 (PMLR, 2020).
- Covert, I., Kim, C. & Lee, S.-I. Learning to estimate Shapley values with vision transformers. In Proc. International Conference on Learning Representations (2023).
- Illés, F. & Kerényi, P. Estimation of the Shapley value by ergodic sampling. Preprint at https://arxiv.org/abs/1906.05224 (2019). · arXiv
- Megiddo, N. Computational complexity of the game theory approach to cost allocation for a tree. Math. Op. Res. 3, 189–196 (1978). · doi:10.1287/moor.3.3.189
- Ruiz, L. M., Valenciano, F. & Zarzuelo, J. M. The family of least square values for transferable utility games. Games Econ. Behav. 24, 109–130 (1998). · doi:10.1006/game.1997.0622
- Covert, I. & Lee, S.-I. Improving KernelSHAP: practical Shapley value estimation using linear regression. In Proc. International Conference on Artificial Intelligence and Statistics 3457–3465 (PMLR, 2021).
- Mitchell, R., Cooper, J., Frank, E. & Holmes, G. Sampling permutations for Shapley value estimation. J. Mach. Learn. Res. 23, 1–46 (2022).
- Covert, I., Lundberg, S. M. & Lee, S.-I. Understanding global feature contributions with additive importance measures. Advances Neural Information Processing Systems 33, 17212–17223 (2020).
Cited by
Explainability for Large Language Models: A Survey
Zhao, H., Chen, H., Yang, F., Liu, N., Deng, H., Cai, H., Wang, S., Yin, D., & Du, M. (2024) · ACM Transactions on Intelligent Systems and Technology · doi:10.1145/3639372 · Cited by 681
“This category encompasses four main streams of approaches for generating explanations including feature attribution-based explanation, attention-based explanation, example-based explanation, and natu-ral language explanation (see Figure 3).”
BackgroundSelf-citationMultimodal Large Language Models in Health Care: Applications, Challenges, and Future Outlook.
AlSaad, R., Abd-alrazaq, A., Boughorbel, S., Ahmed, A., Renault, M.-A., Damseh, R., & Sheikh, J. (2024) · Journal of medical Internet research · doi:10.2196/59505 · Cited by 349
Gao, Y.-C., Yao, N., Chen, X., Yu, L., Zhang, R., & Zhang, Q. (2023) · Journal of the American Chemical Society · doi:10.1021/jacs.3c08346 · Cited by 224
What does a platypus look like? Generating customized prompts for zero-shot image classification
Pratt, S., Covert, I., Liu, R., & Farhadi, A. (2023) · 2023 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51070.2023.01438 · Cited by 217
“In order to measure the importance of regions in the image, we invoke Shapley values [49], a tool from game theory that has become popular for understanding which input information contributes to a model’s final prediction [31, 9].”
MethodSelf-citationShapley value: from cooperative game to explainable artificial intelligence
Li, M., Sun, H., Huang, Y., & Chen, H. (2024) · Autonomous Intelligent Systems · doi:10.1007/s43684-023-00060-8 · Cited by 205
“To clarify the Shapley value in ML, Rozemberczki et al. [15] and Chen et al. [16] attempted to summarize the technical aspects of Shapley value feature attribution.”
Self-citation
Metadata
- Authors
- Chen, H., Covert, I. C., Lundberg, S. M., & Lee, S.-I.
- Venue
- Nature Machine Intelligence
- Published
- 2023-05-22
- Volume
- 5
- Issue
- 6
- Pages
- 590-601
- ISSN
- 2522-5839 (ISSN-L)
- OpenAlex
- W4377226909
- Cited by
- 472
- References
- 47
- FWCI
- 41.47
- Type
- journal article
- Language
- en
- Open access
- green
- Licence
- www.springernature.com/gp/researchers/text-and-data-mining (tdm)
- www.springernature.com/gp/researchers/text-and-data-mining (vor)
- Funders
- National Science Foundation (DBI-1552309, DGE-1762114, DGE-1256082, DBI-1759487)
- U.S. Department of Health & Human Services | National Institutes of Health (R35 GM 128638, R01 NIA AG 061132)
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.