arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.06300cs.LG
收藏

SHAP值:基于稀疏傅里叶表示的计算方法

SHAP values via sparse Fourier representation

ETH Zürich(苏黎世联邦理工学院)

Ali Gorji, Andisheh Amrollahi, Andreas Krause

AI总结:

提出基于稀疏傅里叶表示的两阶段算法,通过紧凑傅里叶近似模型并利用闭式公式精确计算SHAP值,实现摊销计算,显著加速并支持效率与精度权衡。

摘要:

SHAP(SHapley Additive exPlanations)值是可解释与可解释人工智能中广泛使用的局部特征归因方法。我们提出了一种高效的两阶段算法,用于在黑盒模型和基于树的模型中计算SHAP值。受真实世界预测器中谱偏差的启发,我们首先使用紧凑的傅里叶表示来近似模型,对于树模型精确近似,对于黑盒模型则近似近似。在第二阶段,我们引入了一个闭式公式,用于利用傅里叶表示精确计算SHAP值,该公式将计算“线性化”为简单的求和,并便于并行化。由于傅里叶近似仅计算一次,我们的方法实现了摊销的SHAP值计算,相较于现有方法取得了显著的加速,并在效率与精度之间提供了可调的权衡。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑