RoBERTa:一种稳健优化的 BERT 预训练方法

RoBERTa: A Robustly Optimized BERT Pretraining Approach

刘寅瀚 Yinhan Liu · Meta AI · 2019-07-26 · arXiv:1907.11692 ↗ · 被引 30241

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

语言模型预训练带来了显著的性能提升,但不同方法之间的仔细比较具有挑战性。训练计算成本高昂,通常在不同规模的私有数据集上进行,而且,正如我们将要展示的,超参数选择对最终结果有显著影响。我们对 BERT 预训练(Devlin 等人,2019)进行了复制研究,仔细测量了许多关键超参数和训练数据规模的影响。我们发现 BERT 明显训练不足,并且可以匹配或超越其后发布的每个模型的性能。我们的最佳模型在 GLUE、RACE 和 SQuAD 上取得了最先进的结果。这些结果凸显了先前被忽视的设计选择的重要性,并对近期报告改进的来源提出了疑问。我们发布了我们的模型和代码。

Language model pretraining has led to significant performance gains but careful comparison between different approaches is challenging. Training is computationally expensive, often done on private datasets of different sizes, and, as we will show, hyperparameter choices have significant impact on the final results. We present a replication study of BERT pretraining (Devlin et al., 2019) that carefully measures the impact of many key hyperparameters and training data size. We find that BERT was significantly undertrained, and can match or exceed the performance of every model published after it. Our best model achieves state-of-the-art results on GLUE, RACE and SQuAD. These results highlight the importance of previously overlooked design choices, and raise questions about the source of recently reported improvements. We release our models and code.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 23)

阅读逐段中英对照全文 →