arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2205.01366cs.CLcs.LG
收藏

Transformers的知识归因模式发现

Finding patterns in Knowledge Attribution for Transformers

Delhi Technological University(德里理工大学)

Jeevesh Juneja, Ritu Agarwal

摘要:

我们分析了知识神经元框架的属性的事实和关系的知识,以特定的神经元在Transformer网络。我们使用一个12层的多语言BERT模型进行实验。我们的研究揭示了各种有趣的现象。我们观察到,大多数事实知识可以归因于网络($\ge 6$)的中层和高层。进一步的分析表明,中间层($6-9$)主要负责关系信息,这些信息在最后几层($10-12$)中进一步细化为实际的事实知识或“正确答案”。我们的实验还表明,该模型处理不同语言的提示,但代表相同的事实,同样,为多语言预训练的有效性提供了进一步的证据。应用语法知识的归因模式,我们发现语法知识远比事实知识分散在神经元中。

英文摘要:

We analyze the Knowledge Neurons framework for the attribution of factual and relational knowledge to particular neurons in the transformer network. We use a 12-layer multi-lingual BERT model for our experiments. Our study reveals various interesting phenomena. We observe that mostly factual knowledge can be attributed to middle and higher layers of the network($\ge 6$). Further analysis reveals that the middle layers($6-9$) are mostly responsible for relational information, which is further refined into actual factual knowledge or the "correct answer" in the last few layers($10-12$). Our experiments also show that the model handles prompts in different languages, but representing the same fact, similarly, providing further evidence for effectiveness of multi-lingual pre-training. Applying the attribution scheme for grammatical knowledge, we find that grammatical knowledge is far more dispersed among the neurons than factual knowledge.

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

↑