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

要不要调?两个世界的最好怎么样?

To Tune or Not To Tune? How About the Best of Both Worlds?

Percent Group(百分点集团)

Ran Wang, Haibo Su, Chunye Wang, Kailin Ji, Jupeng Ding

摘要:

预训练语言模型的引入彻底改变了自然语言研究社区。然而,研究人员对它们的理论和经验性质仍然知之甚少。在这方面,Peters等人进行了几个实验,这些实验表明,最好是用轻量级的任务特定头部来适配BERT,而不是在预先训练的语言模型之上构建复杂的头部,并冻结所述语言模型中的参数。但是,还有另一种选择可以采用。在本文中,我们提出了一种新的适应方法,我们首先训练的任务模型与BERT参数冻结,然后微调整个模型。我们的实验结果表明,我们的模型自适应方法可以实现4.7%的准确率提高语义相似性任务,0.99%的准确率提高序列标记任务和0.72%的准确率提高文本分类任务。

英文摘要:

The introduction of pre-trained language models has revolutionized natural language research communities. However, researchers still know relatively little regarding their theoretical and empirical properties. In this regard, Peters et al. perform several experiments which demonstrate that it is better to adapt BERT with a light-weight task-specific head, rather than building a complex one on top of the pre-trained language model, and freeze the parameters in the said language model. However, there is another option to adopt. In this paper, we propose a new adaptation method which we first train the task model with the BERT parameters frozen and then fine-tune the entire model together. Our experimental results show that our model adaptation method can achieve 4.7% accuracy improvement in semantic similarity task, 0.99% accuracy improvement in sequence labeling task and 0.72% accuracy improvement in the text classification task.

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

↑