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

多语言BERT中注意头的可删减性研究

On the Prunability of Attention Heads in Multilingual BERT

Robert Bosch Centre for Data Science and Artificial Intelligence (RBC-DSAI)(罗伯特·博世数据科学与人工智能中心(RBC-DSAI));IIT Madras(印度理工学院马德拉斯分校)

Aakriti Budhraja, Madhura Pande, Pratyush Kumar, Mitesh M. Khapra

摘要:

大型的多语言模型,如mBERT,在跨语言迁移中表现出了希望。在这项工作中,我们采用修剪来量化mBERT的鲁棒性和解释逐层重要性。在四个GLUE任务中,由于修剪而导致的准确性的相对下降在mBERT和BERT上具有几乎相同的结果,这表明多语言模型的注意力能力降低不会影响修剪的鲁棒性。对于跨语言任务XNLI,我们报告了更高的准确性下降,修剪表明跨语言传输的鲁棒性较低。此外,编码器层的重要性敏感地取决于语言家族和预训练语料库的大小。顶层受微调影响相对较大,编码类似英语(SVO)的语言的重要信息,而底层受微调影响相对较小,对粘着和低资源语言特别重要。

英文摘要:

Large multilingual models, such as mBERT, have shown promise in crosslingual transfer. In this work, we employ pruning to quantify the robustness and interpret layer-wise importance of mBERT. On four GLUE tasks, the relative drops in accuracy due to pruning have almost identical results on mBERT and BERT suggesting that the reduced attention capacity of the multilingual models does not affect robustness to pruning. For the crosslingual task XNLI, we report higher drops in accuracy with pruning indicating lower robustness in crosslingual transfer. Also, the importance of the encoder layers sensitively depends on the language family and the pre-training corpus size. The top layers, which are relatively more influenced by fine-tuning, encode important information for languages similar to English (SVO) while the bottom layers, which are relatively less influenced by fine-tuning, are particularly important for agglutinative and low-resource languages.

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

↑