arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1903.12136cs.CLcs.LG
收藏

从BERT中提取任务特定知识到简单神经网络

Distilling Task-Specific Knowledge from BERT into Simple Neural Networks

University of Waterloo(滑铁卢大学)

Raphael Tang, Yao Lu, Linqing Liu, Lili Mou, Olga Vechtomova, Jimmy Lin

摘要:

在自然语言处理文献中,神经网络正变得越来越深入和复杂。这一趋势的最新代表是深度语言表示模型,其中包括BERT、ELMo和GPT。这些发展使人们相信,上一代用于语言理解的浅层神经网络已经过时了。然而,在本文中,我们证明了基本的,轻量级的神经网络仍然可以在没有架构变化,外部训练数据或额外的输入功能的情况下具有竞争力。我们建议将知识从BERT(一种最先进的语言表示模型)中提取到单层BiLSTM中,以及用于双对任务的连体对应物中。在释义、自然语言推理和情感分类的多个数据集上,我们实现了与ELMo相当的结果,同时使用了大约少100倍的参数和少15倍的推理时间。

英文摘要:

In the natural language processing literature, neural networks are becoming increasingly deeper and complex. The recent poster child of this trend is the deep language representation model, which includes BERT, ELMo, and GPT. These developments have led to the conviction that previous-generation, shallower neural networks for language understanding are obsolete. In this paper, however, we demonstrate that rudimentary, lightweight neural networks can still be made competitive without architecture changes, external training data, or additional input features. We propose to distill knowledge from BERT, a state-of-the-art language representation model, into a single-layer BiLSTM, as well as its siamese counterpart for sentence-pair tasks. Across multiple datasets in paraphrasing, natural language inference, and sentiment classification, we achieve comparable results with ELMo, while using roughly 100 times fewer parameters and 15 times less inference time.

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

↑