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

阿拉伯Transformer模型的事后分析

Post-hoc analysis of Arabic transformer models

Qatar Computing Research Institute(卡塔尔计算研究所);Hamad Bin Khalifa University(哈马德·本·哈利法大学);Dalhousie University(达尔豪斯大学)

Ahmed Abdelali, Nadir Durrani, Fahim Dalvi, Hassan Sajjad

摘要:

阿拉伯语是一种闪米特语言,广泛使用,有许多方言。鉴于预先训练的语言模型的成功,许多在阿拉伯语及其方言上训练的Transformer模型已经浮出水面。虽然已经有一个外部评估这些模型相对于下游NLP任务,没有工作已经进行了分析和比较其内部表示。我们探讨如何在Transformer模型中编码语言信息,并在不同的阿拉伯方言上进行训练。我们进行了一个层次和神经元分析的模型,使用形态标记任务,不同的方言的阿拉伯语和方言识别任务。我们的分析启发了有趣的发现,例如:i)单词形态是在较低和中间层学习的,ii)虽然句法依赖性主要在较高层捕获,iii)尽管它们的词汇有很大的重叠,但基于MSA的模型未能捕获阿拉伯方言的细微差别,iv)我们发现嵌入层中的神经元本质上是多义的,而中间层的神经元对特定的属性是专有的,

英文摘要:

Arabic is a Semitic language which is widely spoken with many dialects. Given the success of pre-trained language models, many transformer models trained on Arabic and its dialects have surfaced. While there have been an extrinsic evaluation of these models with respect to downstream NLP tasks, no work has been carried out to analyze and compare their internal representations. We probe how linguistic information is encoded in the transformer models, trained on different Arabic dialects. We perform a layer and neuron analysis on the models using morphological tagging tasks for different dialects of Arabic and a dialectal identification task. Our analysis enlightens interesting findings such as: i) word morphology is learned at the lower and middle layers, ii) while syntactic dependencies are predominantly captured at the higher layers, iii) despite a large overlap in their vocabulary, the MSA-based models fail to capture the nuances of Arabic dialects, iv) we found that neurons in embedding layers are polysemous in nature, while the neurons in middle layers are exclusive to specific properties

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

↑