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

要不要调?使预训练的表示适应不同的任务

To Tune or Not to Tune? Adapting Pretrained Representations to Diverse Tasks

Allen Institute for Artificial Intelligence(艾伦人工智能研究所);National University of Ireland, Galway(爱尔兰国立大学戈尔韦分校);Aylien Ltd.(Aylien有限公司);University of Washington(华盛顿大学)

Matthew E. Peters, Sebastian Ruder, Noah A. Smith

摘要:

虽然以前的大多数工作都集中在迁移学习的不同预训练目标和架构上,但我们要问的是如何最好地使预训练模型适应给定的目标任务。我们关注两种最常见的自适应形式,特征提取(其中预训练的权重被冻结)和直接微调预训练的模型。我们在不同的NLP任务中使用两种最先进的模型的经验结果表明,微调与特征提取的相对性能取决于预训练和目标任务的相似性。我们探讨了这一发现的可能解释,并为NLP从业者提供了一套适应指南。

英文摘要:

While most previous work has focused on different pretraining objectives and architectures for transfer learning, we ask how to best adapt the pretrained model to a given target task. We focus on the two most common forms of adaptation, feature extraction (where the pretrained weights are frozen), and directly fine-tuning the pretrained model. Our empirical results across diverse NLP tasks with two state-of-the-art models show that the relative performance of fine-tuning vs. feature extraction depends on the similarity of the pretraining and target tasks. We explore possible explanations for this finding and provide a set of adaptation guidelines for the NLP practitioner.

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

↑