arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.01892cs.NEcs.AIcs.LG
收藏

神经网络的多样义性与容量

Polysemanticity and Capacity in Neural Networks

Redwood Research(红杉研究机构);Flatiron Institute(铁砧研究所)

Adam Scherlis, Kshitij Sachan, Adam S. Jermyn, Joe Benton, Buck Shlegeris

AI总结:

该研究通过特征容量视角分析神经网络的多样义性,发现最优容量分配导致单义表征重要特征、多样义表征次要特征,并揭示嵌入空间的块半正交结构及其对可解释性的影响。

摘要:

神经网络中的单个神经元通常表征多种不相关特征的混合。这种现象被称为多样义性,它会使神经网络的解释变得更加困难,因此我们旨在理解其成因。我们提出通过特征“容量”的视角来研究这一问题,容量是每个特征在嵌入空间中所占用的分数维度。我们证明,在一个玩具模型中,最优的容量分配倾向于以单义方式表征最重要的特征,以多样义方式表征较不重要的特征(与它们对损失的影响成比例),并完全忽略最不重要的特征。当输入具有更高的峰度或稀疏性时,多样义性更为普遍,并且在某些架构中比其他架构更普遍。在给定最优容量分配的情况下,我们继续研究嵌入空间的几何结构。我们发现一种块半正交结构,不同模型中的块大小不同,这突显了模型架构对其神经元可解释性的影响。

英文摘要:

Individual neurons in neural networks often represent a mixture of unrelated features. This phenomenon, called polysemanticity, can make interpreting neural networks more difficult and so we aim to understand its causes. We propose doing so through the lens of feature \emph{capacity}, which is the fractional dimension each feature consumes in the embedding space. We show that in a toy model the optimal capacity allocation tends to monosemantically represent the most important features, polysemantically represent less important features (in proportion to their impact on the loss), and entirely ignore the least important features. Polysemanticity is more prevalent when the inputs have higher kurtosis or sparsity and more prevalent in some architectures than others. Given an optimal allocation of capacity, we go on to study the geometry of the embedding space. We find a block-semi-orthogonal structure, with differing block sizes in different models, highlighting the impact of model architecture on the interpretability of its neurons.

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

↑