Aha.
正在载入中英对照阅读…

arXiv:1907.11692 · 中英对照阅读

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

RoBERTa: A Robustly Optimized BERT Pretraining Approach

Yinhan Liu、Myle Ott、Naman Goyal、Jingfei DuMandar Joshi†、Danqi Chen Omer Levy Mike Lewis Luke Zettlemoyer Veselin Stoyanov† Paul G. Allen School of Computer Science & Engineering,University of Washington, Seattle, WA

中文速览

BERT 训练成本高、数据和设置各不相同,因此很难判断模型进步究竟来自新方法,还是训练做得更充分。研究者重新系统训练 BERT,逐项调整训练时长、批量大小、数据规模、文本长度、遮盖方式和“下一句预测”等设置,并加入新的新闻语料。结果发现,原版 BERT 其实训练不足;经过改进的 RoBERTa 在 GLUE 多项任务上刷新成绩,并在阅读理解和问答任务上达到或超过当时最佳水平。这说明,训练细节和数据量足以显著改变模型表现,也提醒人们比较新模型时,必须先确保训练条件公平。

摘要

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.11 1 Our models and code are available at: https://github.com/pytorch/fairseq

术语表

Language model pretraining
语言模型预训练
Self-training
自训练
BERT
BERT
RoBERTa
RoBERTa
ELMo
ELMo
GPT
GPT
XLM
XLM
XLNet
XLNet
CC-News
CC-News
GLUE
GLUE 基准
RACE
RACE 基准
SQuAD
SQuAD
Masked language modeling (MLM)
掩码语言建模
Next sentence prediction (NSP)
下一句预测
Perturbed autoregressive language modeling
扰动自回归语言建模
Transformer
Transformer
Self-attention
自注意力
Hyperparameter tuning
超参数调优
Undertraining
训练不足
Pretraining
预训练
Fine-tuning
微调
Downstream task
下游任务
Training set size
训练集规模
Dynamic masking
动态掩码
Batch size
批量大小
Adam
Adam 优化器
GELU
GELU 激活函数
Mixed-precision floating-point arithmetic
混合精度浮点运算
Natural Language Inference (NLI)
自然语言推理