arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.00139cs.CL
收藏

训练ELECTRA,使用多词选择增强

Training ELECTRA Augmented with Multi-word Selection

Google Research(谷歌研究院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Jiaming Shen, Jialu Liu, Tianqi Liu, Cong Yu, Jiawei Han

摘要:

预训练的文本编码器,如BERT及其变体,最近在许多NLP任务上取得了最先进的性能。虽然有效,但这些预训练方法通常需要大量的计算资源。为了加速预训练,ELECTRA训练了一个预测器,该预测器预测每个输入令牌是否被生成器替换。然而,这个新的任务,作为一个二元分类,是语义信息较少。在这项研究中,我们提出了一种新的文本编码器预训练方法,改进了基于多任务学习的ELECTRA。具体来说,我们训练的搜索引擎,同时检测替换令牌和选择原始令牌从候选集。我们进一步开发了两种技术来有效地结合所有预训练任务:(1)针对特定任务的头部使用基于注意力的网络,以及(2)共享生成器和训练器的底层。在GLUE和SQuAD数据集上的大量实验证明了该方法的有效性和效率。

英文摘要:

Pre-trained text encoders such as BERT and its variants have recently achieved state-of-the-art performances on many NLP tasks. While being effective, these pre-training methods typically demand massive computation resources. To accelerate pre-training, ELECTRA trains a discriminator that predicts whether each input token is replaced by a generator. However, this new task, as a binary classification, is less semantically informative. In this study, we present a new text encoder pre-training method that improves ELECTRA based on multi-task learning. Specifically, we train the discriminator to simultaneously detect replaced tokens and select original tokens from candidate sets. We further develop two techniques to effectively combine all pre-training tasks: (1) using attention-based networks for task-specific heads, and (2) sharing bottom layers of the generator and the discriminator. Extensive experiments on GLUE and SQuAD datasets demonstrate both the effectiveness and the efficiency of our proposed method.

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

↑