arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.05912cs.CLcs.LG
收藏

MATE-KD:屏蔽对抗TExt,知识蒸馏的一个伴侣

MATE-KD: Masked Adversarial TExt, a Companion to Knowledge Distillation

Huawei Noah’s Ark Lab(华为诺亚方舟实验室);University of British Columbia(英属哥伦比亚大学)

Ahmad Rashid, Vasileios Lioutas, Mehdi Rezagholizadeh

摘要:

大规模预训练语言模型的出现促进了自然语言处理(NLP)领域的快速发展。虽然这些模型在标准基准测试中的性能随着规模的扩大而扩大,但知识蒸馏等压缩技术是使其实用化的关键。我们提出了一种新的基于文本的对抗训练算法MATE-KD,它提高了知识蒸馏的性能。MATE-KD首先训练一个基于掩码语言模型的生成器,通过最大化教师和学生logits之间的分歧来扰动文本。然后使用知识蒸馏,学生在原始和扰动的训练样本上进行训练。我们使用基于BERT的模型在GLUE基准测试中评估了我们的算法,并证明MATE-KD优于竞争对手的对抗性学习和数据增强基线。在GLUE测试集上,我们基于6层RoBERTa的模型优于BERT-Large。

英文摘要:

The advent of large pre-trained language models has given rise to rapid progress in the field of Natural Language Processing (NLP). While the performance of these models on standard benchmarks has scaled with size, compression techniques such as knowledge distillation have been key in making them practical. We present, MATE-KD, a novel text-based adversarial training algorithm which improves the performance of knowledge distillation. MATE-KD first trains a masked language model based generator to perturb text by maximizing the divergence between teacher and student logits. Then using knowledge distillation a student is trained on both the original and the perturbed training samples. We evaluate our algorithm, using BERT-based models, on the GLUE benchmark and demonstrate that MATE-KD outperforms competitive adversarial learning and data augmentation baselines. On the GLUE test set our 6 layer RoBERTa based model outperforms BERT-Large.

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

↑