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

神经语言模型的内聚蒸馏结构

A Cohesive Distillation Architecture for Neural Language Models

Bergische Universität Wuppertal(伍珀塔尔大学)

Jan Philip Wahle

摘要:

自然语言处理中的最近趋势是语言模型(LM)大小的指数增长,这阻止了没有必要的硬件基础设施的研究组参与开发过程。本研究探讨知识蒸馏(KD)的方法,以提供有效的替代大规模的模型。在这种情况下,KD意味着提取有关神经网络和词汇知识数据库中编码的语言的信息。我们开发了两种方法来验证我们的假设,即高效的架构可以从LM中获取知识,并从词汇源中提取有价值的信息。首先,我们提出了一种通过多个教师网络的预测加权来学习掩蔽语言建模的置信概率分布的技术。其次,我们提出了一种方法,词义消歧(WSD)和词汇KD是一般的,足以适应许多LM。我们的研究结果表明,KD与多个教师导致改进的训练收敛。当使用我们的词汇预训练方法时,LM特征不会丢失,从而提高了自然语言理解(NLU)任务的性能,同时不添加任何参数。此外,改进的语义理解,我们的模型提高了任务的性能超出了WSD和NLU在一个真正的问题场景(剽窃检测)。这项研究表明,复杂的训练方法和网络架构可能优于缩放可训练参数。在此基础上,我们建议该研究领域应鼓励开发和使用有效的模型和率的影响,导致日益增长的LM大小同样对任务性能。

英文摘要:

A recent trend in Natural Language Processing is the exponential growth in Language Model (LM) size, which prevents research groups without a necessary hardware infrastructure from participating in the development process. This study investigates methods for Knowledge Distillation (KD) to provide efficient alternatives to large-scale models. In this context, KD means extracting information about language encoded in a Neural Network and Lexical Knowledge Databases. We developed two methods to test our hypothesis that efficient architectures can gain knowledge from LMs and extract valuable information from lexical sources. First, we present a technique to learn confident probability distribution for Masked Language Modeling by prediction weighting of multiple teacher networks. Second, we propose a method for Word Sense Disambiguation (WSD) and lexical KD that is general enough to be adapted to many LMs. Our results show that KD with multiple teachers leads to improved training convergence. When using our lexical pre-training method, LM characteristics are not lost, leading to increased performance in Natural Language Understanding (NLU) tasks over the state-of-the-art while adding no parameters. Moreover, the improved semantic understanding of our model increased the task performance beyond WSD and NLU in a real-problem scenario (Plagiarism Detection). This study suggests that sophisticated training methods and network architectures can be superior over scaling trainable parameters. On this basis, we suggest the research area should encourage the development and use of efficient models and rate impacts resulting from growing LM size equally against task performance.

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

↑