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

发现在BERT中学习的潜在概念

Discovering Latent Concepts Learned in BERT

Qatar Computing Research Institute, HBKU(哈马德·本·哈利法大学卡塔尔计算研究所)

Fahim Dalvi, Abdul Rafae Khan, Firoj Alam, Nadir Durrani, Jia Xu, Hassan Sajjad

摘要:

大量分析深层神经网络模型及其编码各种语言和非语言概念的能力的研究提供了对这些模型内部机制的解释。分析的范围仅限于预先定义的概念,加强了传统的语言知识,并没有反映新的概念是如何学习的模型。我们通过发现和分析神经网络模型中学习到的潜在概念来解决这个限制,并从模型的角度提供解释。在这项工作中,我们研究:i)什么潜在概念存在于预训练的BERT模型中,ii)所发现的潜在概念如何与经典语言层级对齐或偏离,以及iii)潜在概念如何跨层演变。我们的研究结果显示:i)模型学习新概念(例如动物类别和人口统计学群体),不严格遵守任何预定义的分类ii)若干潜在概念基于多个属性,所述多个属性可以包括语义、句法和形态,iii)模型中的较低层在学习浅词汇概念方面占主导地位,而较高层学习语义关系,以及iv)所发现的潜在概念突出了在模型中学习到的潜在偏差。我们还发布了一个新的BERT ConceptNet数据集(BCN),由174个概念标签和1M注释实例组成。

英文摘要:

A large number of studies that analyze deep neural network models and their ability to encode various linguistic and non-linguistic concepts provide an interpretation of the inner mechanics of these models. The scope of the analyses is limited to pre-defined concepts that reinforce the traditional linguistic knowledge and do not reflect on how novel concepts are learned by the model. We address this limitation by discovering and analyzing latent concepts learned in neural network models in an unsupervised fashion and provide interpretations from the model's perspective. In this work, we study: i) what latent concepts exist in the pre-trained BERT model, ii) how the discovered latent concepts align or diverge from classical linguistic hierarchy and iii) how the latent concepts evolve across layers. Our findings show: i) a model learns novel concepts (e.g. animal categories and demographic groups), which do not strictly adhere to any pre-defined categorization (e.g. POS, semantic tags), ii) several latent concepts are based on multiple properties which may include semantics, syntax, and morphology, iii) the lower layers in the model dominate in learning shallow lexical concepts while the higher layers learn semantic relations and iv) the discovered latent concepts highlight potential biases learned in the model. We also release a novel BERT ConceptNet dataset (BCN) consisting of 174 concept labels and 1M annotated instances.

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

↑