arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.22332cs.LGstat.ML
收藏

Transformer键值记忆几乎与稀疏自编码器一样可解释

Transformer Key-Value Memories Are Nearly as Interpretable as Sparse Autoencoders

Tohoku University(东大大学);RIKEN(理化学研究所);MBZUAI(马克斯·普朗克人工智能研究所)

Mengyu Ye, Jun Suzuki, Tatsuro Inaba, Tatsuki Kuribayashi

AI总结:

本文通过现代基准比较了Transformer前馈层键值记忆与稀疏自编码器特征的可解释性,发现两者性能相近,FF甚至在某些方面更优,质疑了SAE的优势。

摘要:

近期关于大型语言模型(LLMs)的可解释性工作日益被一种借助代理模块的特征发现方法所主导。随后,例如通过稀疏自编码器(SAEs)学习到的特征质量被评估。这一范式自然引发了一个关键问题:这些学习到的特征是否比原始模型参数中已经表示的特征具有更好的性质?不幸的是,迄今为止只有少数研究系统地进行了此类比较。在本工作中,我们重新审视了前馈(FF)层中存储的特征向量的可解释性,从FF作为键值记忆的视角出发,并使用现代可解释性基准。我们的广泛评估揭示,SAE和FF表现出相似范围的可解释性,尽管SAE在某些方面显示出可观察但微小的改进。此外,在某些方面,令人惊讶的是,即使是原始的FF也产生了比SAE更好的可解释性,并且SAE和FF中发现的特征存在分歧。这些结果从特征质量和忠实度两个角度对SAE相对于直接解释FF特征向量的优势提出了质疑,并且FF键值参数在现代可解释性研究中作为一个强大的基线。

英文摘要:

Recent interpretability work on large language models (LLMs) has been increasingly dominated by a feature-discovery approach with the help of proxy modules. Then, the quality of features learned by, e.g., sparse auto-encoders (SAEs), is evaluated. This paradigm naturally raises a critical question: do such learned features have better properties than those already represented within the original model parameters, and unfortunately, only a few studies have made such comparisons systematically so far. In this work, we revisit the interpretability of feature vectors stored in feed-forward (FF) layers, given the perspective of FF as key-value memories, with modern interpretability benchmarks. Our extensive evaluation revealed that SAE and FFs exhibits a similar range of interpretability, although SAEs displayed an observable but minimal improvement in some aspects. Furthermore, in certain aspects, surprisingly, even vanilla FFs yielded better interpretability than the SAEs, and features discovered in SAEs and FFs diverged. These bring questions about the advantage of SAEs from both perspectives of feature quality and faithfulness, compared to directly interpreting FF feature vectors, and FF key-value parameters serve as a strong baseline in modern interpretability research.

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

↑