SHAP (SHapley Additive exPlanations) values are a widely used method for local feature attribution in interpretable and explainable AI. We propose an efficient two-stage algorithm for computing SHAP values in both black-box setting and tree-based models. Motivated by spectral bias in real-world predictors, we first approximate models using compact Fourier representations, exactly for trees and approximately for black-box models. In the second stage, we introduce a closed-form formula for {\em exactly} computing SHAP values using the Fourier representation, that ``linearizes'' the computation into a simple summation and is amenable to parallelization. As the Fourier approximation is computed only once, our method enables amortized SHAP value computation, achieving significant speedups over existing methods and a tunable trade-off between efficiency and precision.
Learning Set Functions that are Sparse in Non-Orthogonal Fourier Bases
ETH Zurich(苏黎世联邦理工学院)
机器学习在离散域上的许多应用,例如在推荐系统或拍卖中学习偏好函数,可以简化为估计在傅立叶域中稀疏的集合函数。在这项工作中,我们提出了一个新的家庭学习傅立叶稀疏集函数的算法。它们最多需要$nk - k \log_2 k + k$查询(集合函数求值),在傅立叶系数的温和条件下,其中$n$是基集的大小,$k$是非零傅立叶系数的数目。与其他工作,专注于正交沃尔什-哈达玛变换,我们的新算法与最近推出的非正交傅立叶变换,提供不同的概念傅立叶稀疏。这些问题在建模时自然会出现,例如,形成替代物和补充物的项目集合。我们证明了几个现实世界的应用程序的有效性。
Orthogonally Decoupled Variational Fourier Features
Dalle Molle Institute for Artificial Intelligence (IDSIA)(Dalle Molle人工智能研究所 (IDSIA));Università della Svizzera Italiana (USI)(瑞士意大利语区大学 (USI));University of Limerick (UL)(利默里克大学 (UL))