Increasing model size when pretraining natural language representations often results in improved performance on downstream tasks. However, at some point further model increases become harder due to GPU/TPU memory limitations, longer training times, and unexpected model degradation. To address these problems, we present two parameter-reduction techniques to lower memory consumption and increase the training speed of BERT. Comprehensive empirical evidence shows that our proposed methods lead to models that scale much better compared to the original BERT. We also use a self-supervised loss that focuses on modeling inter-sentence coherence, and show it consistently helps downstream tasks with multi-sentence inputs. As a result, our best model establishes new state-of-the-art results on the GLUE, RACE, and SQuAD benchmarks while having fewer parameters compared to BERT-large.
翻译:在对自然语言表现进行培训之前,自然语言表现的模型规模增加,往往导致下游任务业绩的改善;然而,由于GPU/TPU记忆限制、培训时间延长和意外模型退化,在某些时候,由于GPU/TPU记忆力的限制、培训时间的延长和意外模型退化,进一步模型增长变得更加困难;为了解决这些问题,我们提出了两个降低参数的技术,以降低记忆消耗,提高BERT的培训速度。综合经验证据表明,我们提出的方法导致模型的规模比原始的BERT要大得多。 我们还使用了一种自我监督的损失,重点是模拟刑罚一致性,并表明它一贯地帮助下游任务,提供多种感应力投入。 结果,我们的最佳模型在GLUE、RACE和SQUAD基准上确立了新的最新结果,而与BERT大基准相比参数则更少。