shapiq: Shapley Interactions for Machine Learning
Maximilian Muschalik, Hubert Baniecki, Fabian Fumagalli, Patrick, Kolpaczki, Barbara Hammer, Eyke H\"ullermeier

TL;DR
shapiq is an open-source Python package that efficiently computes Shapley Values and Interactions for various machine learning models, enabling detailed explanation and visualization of feature interactions across diverse applications.
Contribution
it introduces shapiq, a unified framework for computing and benchmarking Shapley Values and Interactions in an application-agnostic manner, extending explainability tools in machine learning.
Findings
Efficient algorithms for computing SIs and SVs across multiple models.
Benchmark suite with 11 applications for performance assessment.
Visualization tools for feature interactions in complex models.
Abstract
Originally rooted in game theory, the Shapley Value (SV) has recently become an important tool in machine learning research. Perhaps most notably, it is used for feature attribution and data valuation in explainable artificial intelligence. Shapley Interactions (SIs) naturally extend the SV and address its limitations by assigning joint contributions to groups of entities, which enhance understanding of black box machine learning models. Due to the exponential complexity of computing SVs and SIs, various methods have been proposed that exploit structural assumptions or yield probabilistic estimates given limited resources. In this work, we introduce shapiq, an open-source Python package that unifies state-of-the-art algorithms to efficiently compute SVs and any-order SIs in an application-agnostic framework. Moreover, it includes a benchmarking suite containing 11 machine learning…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research
MethodsShapley Additive Explanations
