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

稀疏Transformer:用于机械可解释性的受控测试平台

Sparse Transformer: a Controlled Testbed for Mechanistic Interpretability

Anton Korznikov, Alexey Dontsov, Elena Tutubalina

AI总结:

该研究提出稀疏Transformer作为机械可解释性的受控测试平台,验证其神经元可解释性优于损失匹配的密集Transformer,且Transcoder恢复其神经元向量的效果优于稀疏自编码器,还可用于研究多义性。

摘要:

机械可解释性旨在将神经网络计算分解为人类可理解的特征,但进展因缺乏用于评估的真值单元而受限。我们用稀疏Transformer(Sparse Transformer, ST)解决该问题:这是一个在TinyStories上训练的5层语言模型,其宽的TopK稀疏MLP迫使神经元专业化。我们表明ST神经元具有高度可解释性:在AutoInterp上,它们比损失匹配的密集Transformer表现好43%,且中位数为12个神经元的电路足以复现单个模型预测。该测试平台使我们能直接比较特征学习方法:近似MLP输入输出映射的Transcoder,恢复ST神经元向量的余弦相似度比仅重构输出的稀疏自编码器(Sparse Autoencoder)高52.6%。此外,ST支持对多义性的受控研究:将其稀疏MLP蒸馏为对应密集模型,可揭示压缩如何导致特征叠加。这些结果表明,已知参考基如何提升评估与理解,我们希望ST能为该领域发挥此作用。

英文摘要:

Mechanistic interpretability aims to decompose neural network computations into human-understandable features, yet progress is limited by the absence of ground-truth units to evaluate against. We address this with a Sparse Transformer (ST): a 5-layer language model trained on TinyStories whose wide, TopK-sparse MLP forces neuron specialization. We show that ST neurons are highly interpretable: they outperform a loss-matched dense transformer by 43% on AutoInterp, and circuits of a median of 12 neurons suffice to reproduce individual model predictions. This testbed allows us to directly compare feature learning methods: Transcoder, which approximates the MLP input-output mapping, recovers ST's neuron vectors with 52.6% higher cosine similarity than Sparse Autoencoder, which only reconstructs outputs. Furthermore, the ST enables a controlled study of polysemanticity: distilling its sparse MLP into a dense counterpart reveals how compression leads to feature superposition. These results show how a known reference basis sharpens evaluation and understanding, a role we hope the ST can serve for the field.

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

↑