arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2206.07808cs.CLcs.AIcs.LG
收藏

Alexa教师模型:预训练和提取用于自然语言理解系统的数十亿参数编码器

Alexa Teacher Model: Pretraining and Distilling Multi-Billion-Parameter Encoders for Natural Language Understanding Systems

Amazon(亚马逊)
Jack FitzGerald, Shankar Ananthakrishnan, Konstantine Arkoudas, Davide Bernardi, Abhishek Bhagia, Claudio Delli Bovi, Jin Cao, Rakesh Chada, Amit Chauhan, Luoxi… 展开作者

Jack FitzGerald, Shankar Ananthakrishnan, Konstantine Arkoudas, Davide Bernardi, Abhishek Bhagia, Claudio Delli Bovi, Jin Cao, Rakesh Chada, Amit Chauhan, Luoxin Chen, Anurag Dwarakanath, Satyam Dwivedi, Turan Gojayev, Karthik Gopalakrishnan, Thomas Gueudre, Dilek Hakkani-Tur, Wael Hamza, Jonathan Hueser, Kevin Martin Jose, Haidar Khan, Beiye Liu, Jianhua Lu, Alessandro Manzotti, Pradeep Natarajan, Karolina Owczarzak, Gokmen Oz, Enrico Palumbo, Charith Peris, Chandana Satya Prakash, Stephen Rawls, Andy Rosenbaum, Anjali Shenoy, Saleh Soltan, Mukund Harakere Sridhar, Liz Tan, Fabian Triefenbach, Pan Wei, Haiyang Yu, Shuai Zheng, Gokhan Tur, Prem Natarajan

摘要:

我们提出了一个大规模的预训练编码器的实验结果,其非嵌入参数计数范围从700 M到9.3 B,其随后的蒸馏成更小的模型范围从17 M-170 M参数,以及其应用到虚拟助理系统的自然语言理解(NLU)组件。虽然我们使用70%的口语形式数据进行训练,但我们的教师模型在书面形式的跨语言自然语言推理(XNLI)语料库上进行评估时,表现出与XLM-R和mT5的一致性。我们使用系统中的域内数据对教师模型进行了第二阶段的预训练,相对于意图分类,出错率提高了3.86%,相对于插槽填充,提高了7.01%。我们发现,即使是从我们的第二阶段教师模型中提取的170 M参数模型,与仅在公共数据上训练的2. 3 B参数教师(第一阶段)相比,也具有2.88%的更好的意图分类和7.69%的更好的插槽填充出错率,强调了域内数据对于预训练的重要性。当使用标记的NLU数据进行离线评估时,我们的17 M参数Stage 2蒸馏模型分别比XLM-R Base(85 M参数)和DistillBERT(42 M参数)高出4.23%至6.14%。最后,我们展示了一个完整的虚拟助理实验平台的结果,在该平台上,我们发现使用我们的预训练和蒸馏管道训练的模型在自动测量全系统用户不满意度方面优于从85 M参数教师中提取的模型3.74%-4.91%。

英文摘要:

We present results from a large-scale experiment on pretraining encoders with non-embedding parameter counts ranging from 700M to 9.3B, their subsequent distillation into smaller models ranging from 17M-170M parameters, and their application to the Natural Language Understanding (NLU) component of a virtual assistant system. Though we train using 70% spoken-form data, our teacher models perform comparably to XLM-R and mT5 when evaluated on the written-form Cross-lingual Natural Language Inference (XNLI) corpus. We perform a second stage of pretraining on our teacher models using in-domain data from our system, improving error rates by 3.86% relative for intent classification and 7.01% relative for slot filling. We find that even a 170M-parameter model distilled from our Stage 2 teacher model has 2.88% better intent classification and 7.69% better slot filling error rates when compared to the 2.3B-parameter teacher trained only on public data (Stage 1), emphasizing the importance of in-domain data for pretraining. When evaluated offline using labeled NLU data, our 17M-parameter Stage 2 distilled model outperforms both XLM-R Base (85M params) and DistillBERT (42M params) by 4.23% to 6.14%, respectively. Finally, we present results from a full virtual assistant experimentation platform, where we find that models trained using our pretraining and distillation pipeline outperform models distilled from 85M-parameter teachers by 3.74%-4.91% on an automatic measurement of full-system user dissatisfaction.

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

↑