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

分析预训练语言模型中的单个神经元

Analyzing Individual Neurons in Pre-trained Language Models

Qatar Computing Research Institute(卡塔尔计算研究所);HBKU Research Complex(哈马德·本·哈利法大学研究中心);MIT Computer Science and Artificial Intelligence Laboratory(麻省理工学院计算机科学与人工智能实验室)

Nadir Durrani, Hassan Sajjad, Fahim Dalvi, Yonatan Belinkov

摘要:

虽然已经进行了大量的分析来证明在深度NLP模型中学习的表示所捕获的语言知识,但很少关注单个神经元。我们使用预测形态,语法和语义的核心语言任务对预训练的语言模型进行神经元级分析,问题如下:i)预训练模型中的单个神经元是否捕获语言信息?(2)网络的哪些部分对某些语言现象了解更多?(三)信息的分布和重点如何?以及iv)不同的体系结构在学习这些属性方面有何不同?我们发现了小的神经元子集来预测语言任务,与预测语法的高级任务相比,较低级别的任务(例如形态学)位于更少的神经元中。我们的研究还揭示了有趣的跨架构比较。例如,我们发现XLNet中的神经元在预测属性时比BERT和其他神经元更局部化和不相交,在其他神经元中它们更分散和耦合。

英文摘要:

While a lot of analysis has been carried to demonstrate linguistic knowledge captured by the representations learned within deep NLP models, very little attention has been paid towards individual neurons.We carry outa neuron-level analysis using core linguistic tasks of predicting morphology, syntax and semantics, on pre-trained language models, with questions like: i) do individual neurons in pre-trained models capture linguistic information? ii) which parts of the network learn more about certain linguistic phenomena? iii) how distributed or focused is the information? and iv) how do various architectures differ in learning these properties? We found small subsets of neurons to predict linguistic tasks, with lower level tasks (such as morphology) localized in fewer neurons, compared to higher level task of predicting syntax. Our study also reveals interesting cross architectural comparisons. For example, we found neurons in XLNet to be more localized and disjoint when predicting properties compared to BERT and others, where they are more distributed and coupled.

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

↑