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

MiniRBT:一个两阶段蒸馏的中文小型预训练模型

MiniRBT: A Two-stage Distilled Small Chinese Pre-trained Model

iFLYTEK Research(科大讯飞研究院);Harbin Institute of Technology(哈尔滨工业大学)

Xin Yao, Ziqing Yang, Yiming Cui, Shijin Wang

AI总结:

本文提出MiniRBT,一个两阶段蒸馏的中文小型预训练模型,通过窄深学生模型、全词掩码和两阶段蒸馏提升下游任务表现,在保持RoBERTa 94%性能的同时实现6.8倍加速。

摘要:

在自然语言处理中,预训练语言模型已成为必不可少的基础设施。然而,这些模型常常面临体积大、推理时间长和部署困难等问题。此外,主流预训练模型大多专注于英文,针对中文小型预训练模型的研究不足。本文介绍了MiniRBT,一个旨在推进中文自然语言处理研究的小型中文预训练模型。MiniRBT采用窄而深的学生模型,并在预训练中结合全词掩码和两阶段蒸馏,使其适用于大多数下游任务。我们在机器阅读理解和文本分类任务上的实验表明,MiniRBT达到了RoBERTa 94%的性能,同时提供6.8倍的加速,证明了其有效性和高效性。

英文摘要:

In natural language processing, pre-trained language models have become essential infrastructures. However, these models often suffer from issues such as large size, long inference time, and challenging deployment. Moreover, most mainstream pre-trained models focus on English, and there are insufficient studies on small Chinese pre-trained models. In this paper, we introduce MiniRBT, a small Chinese pre-trained model that aims to advance research in Chinese natural language processing. MiniRBT employs a narrow and deep student model and incorporates whole word masking and two-stage distillation during pre-training to make it well-suited for most downstream tasks. Our experiments on machine reading comprehension and text classification tasks reveal that MiniRBT achieves 94% performance relative to RoBERTa, while providing a 6.8x speedup, demonstrating its effectiveness and efficiency.

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

↑