跳到正文
arXiv:cs.AI· Samuel Xie, Noura Al-Moubayed·· 10 小时前

SHAP 能否忠实归因 SAE 特征?研究用 GPT-2 Small 做因果检验

Evaluating the Causal Faithfulness of SHAP as a Candidate Attribution Method for SAE Features

AI 导读

研究以 SST-2 情感分类、GPT-2 Small 和 32768 特征的第七层 SAE 为测试台,用直接因果干预检验 SHAP 对 SAE 潜在特征的归因忠实性。多数忠实性关联未通过多重比较校正,且互相高度一致的归因方法(ρ = 0.42–0.80)与实测因果效应吻合很差。在已知真值的最小对比下,归因能识别插入的情感信号(AUROC 0.792),却无法定位删除(AUROC 0.520)。

正文

View PDF HTML (experimental)

Abstract:Sparse autoencoders decompose language model representations into interpretable features, but feature interpretation in this literature remains predominantly correlational. Attribution methods offer more direct estimates of feature influence, yet their faithfulness to actual causal effects has not been systematically evaluated in the SAE setting. We apply SHAP-based attribution to SAE latent features and evaluate it against direct causal intervention, using sentiment classification on SST-2 with GPT-2 Small and a 32,768-feature layer-7 SAE as a testbed. We compare SHAP to Integrated Gradients, Gradient$\times$Input, and probe-weight baselines across linear and MLP probe arms, scoring each against feature ablation and activation steering measured through the language model's own logit difference. Most faithfulness associations we measure do not survive multiple-comparison correction, and attribution methods that agree strongly with one another ($\rho = 0.42$--$0.80$) agree poorly with measured causal effects, indicating that inter-method agreement is not evidence of causal faithfulness. Two effects hold under control. First, local per-example attribution retains a directional advantage over global averaged attribution, while its apparent importance advantage is explained by feature activity rather than superior causal ranking. Second, under known-ground-truth minimal pairs, attribution recovers inserted sentiment signal well above chance (AUROC $0.792$) but fails to localize deletions (AUROC $0.520$), suggesting that these methods detect the presence of a feature's influence more reliably than its absence. We argue that importance faithfulness and directional faithfulness are separable properties requiring separate evaluation, and that attribution agreement should not substitute for causal validation.
Comments: 24 pages, 3 figures; to be submitted to International Journal of Secondary Computing and Applications Research
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL)
Cite as: arXiv:2610.17898 [cs.LG]
  (or arXiv:2610.17898v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2610.17898

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Samuel Xie [view email]
[v1] Tue, 13 Oct 2026 07:54:39 UTC (611 KB)

来源:arXiv:cs.AI · arxiv.org