CaSh: Shapley Value Computation with Cache Optimization
Jiajun Tang, Xiaokai Mao, Ning Liu, Jinfei Liu, Kui Ren
Abstract
In recent years, the Shapley value has become the de facto standard for equitable attribution in data analytics, such as data valuation and model interpretability. Since exact computation entails an exponential complexity of O (2
n
), sampling-based approximation algorithms are widely adopted. However, these methods treat utility functions as stateless black boxes, leading to a critical system-level inefficiency: the redundant and costly evaluation of identical coalitions that recur during sampling. To address this bottleneck, we propose CaSh, an algorithm-agnostic Ca ching framework that accelerates existing Sh apley value approximation algorithms by strategically storing and reusing intermediate coalition utility computations. CaSh leverages a high-performance Direct Mapping architecture tailored for Shapley value approximation to cache coalition utility results, enabling significant speedups without introducing any additional approximation error. We integrate CaSh with major approximation algorithms and evaluate the performance across diverse data analytics tasks. Experimental results demonstrate that CaSh consistently accelerates widely used approximation algorithms, reducing total computation time by 8% to 29% depending on the underlying sampling strategy. This efficiency gain is achieved without introducing additional approximation error beyond the underlying estimator, improving the efficiency of Shapley value-based data analytics pipelines.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f8f7042d-9579-4d86-835b-0c4a489374efBuilds on14
- The Many Shapley Values for Model ExplanationMukund Sundararajan, Amir NajmiICML 2020 · 799 citations
- A Distributional Framework For Data ValuationAmirata Ghorbani, Michael P. Kim, James ZouICML 2020 · 152 citations
- Dealer: An End-to-End Model Marketplace with Differential PrivacyJinfei Liu, Jian Lou, Junxu Liu, Li Xiong et al.VLDB 2021 · 99 citations
- CS-Shapley: Class-wise Shapley Values for Data Valuation in ClassificationStephanie Schoch, Haifeng Xu, Yangfeng JiNeurIPS 2022 · 56 citations
- Approximating the Shapley Value without Marginal ContributionsPatrick Kolpaczki, Viktor Bengs, Maximilian Muschalik, Eyke HüllermeierAAAI 2024 · 43 citations
Related papers
- CoShap: A Scalable Coalition Growth Approach to Shapley Value ApproximationJingxuan He, Changshuo Liu, Shaofeng Cai, Xixian Han et al.SIGMOD 2026
- On Shapley Value in Data Assemblage Under Independent UtilityXuan Luo, Jian Pei, Zicun Cong, Cheng XuVLDB 2022 · 18 citations
- : Bayesian Experimental Design for Shapley Value EstimationDavid Rundel, Fabian Fumagalli, Maximilian Muschalik, Bernd Bischl et al.ICML 2026
- A Comprehensive Study of Shapley Value in Data AnalyticsHong Lin, Shixin Wan, Zhongle Xie, Ke Chen et al.VLDB 2025 · 4 citations
- Provably Accurate Shapley Value Estimation via Leverage Score SamplingChristopher Musco, R. Teal WitterICLR 2025
