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

GLUScope:一种用于分析Transformer语言模型中GLU神经元的工具

GLUScope: A Tool for Analyzing GLU Neurons in Transformer Language Models

LMU Munich and Munich Center for Machine Learning (MCML)(慕尼黑大学和慕尼黑机器学习中心)

Sebastian Gerstner, Leonor Veloso, Hinrich Schütze

AI总结:

GLUScope是一种用于分析Transformer语言模型中GLU神经元符号组合的开源工具,通过展示不同符号组合的文本示例和出现频率,帮助研究人员获得新的可解释性洞察。

摘要:

我们介绍了GLUScope,一种开源工具,用于分析基于Transformer的语言模型中的神经元,旨在为可解释性研究者提供帮助。我们关注比以往工具更近期的模型;具体来说,我们考虑了门控激活函数,如SwiGLU。这引入了一个新的挑战:理解正激活不足以。相反,神经元的门和内激活可以是正或负,导致四种不同的符号组合,在某些情况下具有相当不同的功能。相应地,对于任何神经元,我们的工具会为每种符号组合显示文本示例,并指示每种组合出现的频率。我们描述了我们的工具如何导致新见解的例子。演示可在https://sjgerstner.github.io/gluscope上获得。

英文摘要:

We present **GLUScope**, an open-source resource for analyzing neurons in Transformer-based language models (LMs), intended for interpretability researchers. We focus on the now-standard *GLU-based activation functions* such as SwiGLU, used in virtually all recent open-weights LMs. This introduces a new challenge: understanding positive activations is not enough. Instead, both the *gate* and the *in* activation of a neuron can be positive or negative, leading to four different possible sign combinations (*activation quadrants*) that in some cases have quite different functionalities (e.g. promoting vs. suppressing a specific set of tokens). Accordingly, for any neuron, our tool shows text examples for each of the four sign combinations, and indicates how often each combination occurs. Our resource can lead to novel insights: in particular, thanks to analyzing all four activation quadrants, it can surface interpretable behavior that other tools would miss. We also release the code used to create the resource, thus enabling researchers to build on it by adding more models, text corpora, or neuron pages.

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

↑