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

FineText:基于注意力的语言模型微调文本分类

FineText: Text Classification via Attention-based Language Model Fine-tuning

Amazon Web Services(亚马逊云科技);Amazon Search(亚马逊搜索);Amazon Alexa(亚马逊Alexa)

Yunzhe Tao, Saurabh Gupta, Satyapriya Krishna, Xiong Zhou, Orchid Majumder, Vineet Khare

摘要:

从头开始训练深度神经网络执行自然语言处理(NLP)任务需要大量手动标记的文本语料库和大量时间来收敛,而客户通常无法满足这一要求。在本文中,我们的目标是通过微调预训练的语言模型来开发一种有效的迁移学习算法。我们的目标是为下游NLP任务提供富有表现力和易于使用的特征提取器,并在准确性,数据效率和泛化到新领域方面实现改进。因此,我们提出了一种基于注意力的微调算法,该算法自动从预训练的语言模型中选择相关的上下文特征,并将这些特征用于下游的文本分类任务。我们在六个广泛使用的基准数据集上测试了我们的方法,并在所有这些数据集上实现了新的最先进的性能。此外,我们还介绍了另一种多任务学习方法,这是一种端到端算法,给定了预训练模型。通过进行多任务学习,可以通过牺牲一些分类精度来大大减少总训练时间。

英文摘要:

Training deep neural networks from scratch on natural language processing (NLP) tasks requires significant amount of manually labeled text corpus and substantial time to converge, which usually cannot be satisfied by the customers. In this paper, we aim to develop an effective transfer learning algorithm by fine-tuning a pre-trained language model. The goal is to provide expressive and convenient-to-use feature extractors for downstream NLP tasks, and achieve improvement in terms of accuracy, data efficiency, and generalization to new domains. Therefore, we propose an attention-based fine-tuning algorithm that automatically selects relevant contextualized features from the pre-trained language model and uses those features on downstream text classification tasks. We test our methods on six widely-used benchmarking datasets, and achieve new state-of-the-art performance on all of them. Moreover, we then introduce an alternative multi-task learning approach, which is an end-to-end algorithm given the pre-trained model. By doing multi-task learning, one can largely reduce the total training time by trading off some classification accuracy.

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

↑