跳到正文
arXiv cs.AI· Karl Li·· 2 小时前AI 评分38

稀疏自编码器归因图取决于边际:提出 margin graph 改进 TopK SAE 特征选择预测

Sparse Autoencoder Attribution Graphs Are Decided at the Margin

AI 导读

arXiv 论文提出 margin graph 方法,改进稀疏自编码器(SAE)的归因图:传统归因图干预后保持原 TopK 特征选择,会漏掉进出选择的特征;margin graph 对每个特征分数加上预测变化后重新选择。

正文 · 原文

View PDF HTML (experimental)

Abstract:Interpretability research writes a language model's activation as a weighted sum of learned directions, called features. A sparse autoencoder (SAE) learns the features and gives each a coefficient, its weight in that sum. The SAE's encoder first gives every feature a score. A TopK SAE selects the k features with the largest positive scores and zeroes the rest. A feature's margin is how far its score must move before the selection changes. An intervention on one feature's coefficient changes the encoder scores of the SAE at the next layer. An attribution graph predicts that change from the scores' derivatives with respect to the coefficient, taken before the intervention. The graph keeps the original selection, so it misses every feature that enters or leaves. We propose the margin graph, which adds the predicted change to every score and selects again. When one feature is zeroed in a public pair of Pythia-70M SAEs, the median error of the predicted coefficient change, relative to the true change, falls from 0.739 for the attribution graph to 0.121 for the margin graph. Written back into the model, the margin graph's coefficients predict the change in the model's output on subject verb agreement less accurately than the attribution graph's. Selecting again better predicts which features change, but on the task and pair we tested, not the model's output.
Comments: 51 pages, 9 figures
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL)
Cite as: arXiv:2611.00606 [cs.LG]
  (or arXiv:2611.00606v3 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2611.00606

arXiv-issued DOI via DataCite

Submission history

From: Karl Li [view email]
[v1] Sat, 31 Oct 2026 04:03:14 UTC (199 KB)
[v2] Sat, 14 Nov 2026 20:57:46 UTC (323 KB)
[v3] Tue, 24 Nov 2026 18:14:24 UTC (330 KB)

来源:arXiv cs.AI · arxiv.org