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

arXiv:1810.04805 · 中英对照阅读

BERT:用于语言理解的深度双向 Transformer 预训练

BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding

Jacob Devlin、Ming-Wei Chang、Kenton Lee、Kristina Toutanova

中文速览

传统语言模型读文字时通常只看前文,遇到需要结合上下文两边的信息、尤其是问答这类任务时就容易受限。BERT先在大量无标注文本上练习填回被遮住的词,并判断两段话是否前后相接,让模型同时利用左右文;再针对具体任务用标注数据微调,通常只需加一个简单输出层。它在11项自然语言处理任务上刷新了当时的最佳成绩,问答、句子理解等任务都有明显提升。重要的是,这种做法让同一个预训练模型能灵活迁移到多种任务,减少为每项任务专门设计复杂模型的需要。

摘要

我们提出了一种新的语言表示模型,称为 BERT,即来自 Transformer 的双向编码器表示。与近期的语言表示模型 Peters et al.(2018a);Radford et al.(2018)不同,BERT 旨在通过在所有层中联合依据左侧和右侧上下文,对未标注文本进行深度双向表示的预训练。因此,只需增加一个输出层,预训练的 BERT 模型便可通过微调,为问答和语言推理等广泛任务构建达到最先进水平的模型,而无需对任务专用架构进行大幅修改。

We introduce a new language representation model called BERT, which stands for Bidirectional Encoder Representations from Transformers. Unlike recent language representation models Peters et al. (2018a); Radford et al. (2018), BERT is designed to pre-train deep bidirectional representations from unlabeled text by jointly conditioning on both left and right context in all layers. As a result, the pre-trained BERT model can be fine-tuned with just one additional output layer to create state-of-the-art models for a wide range of tasks, such as question answering and language inference, without substantial task-specific architecture modifications.

术语表

BERT
BERT
Bidirectional Encoder Representations from Transformers
来自 Transformer 的双向编码器表示
language representation model
语言表示模型
language model pre-training
语言模型预训练
pre-trained representation
预训练表示
fine-tuning
微调
feature-based approach
基于特征的方法
downstream task
下游任务
bidirectional representation
双向表示
unidirectional language model
单向语言模型
Transformer
Transformer
self-attention
自注意力
masked language model (MLM)
掩码语言模型(MLM)
next sentence prediction
下一句预测
Cloze task
完形填空任务
contextual representation
上下文表示
token-level task
词元级任务
sentence-level task
句子级任务
natural language inference
自然语言推理
question answering
问答
named entity recognition
命名实体识别
ELMo
ELMo
Generative Pre-trained Transformer (OpenAI GPT)
生成式预训练 Transformer(OpenAI GPT)
GLUE
GLUE
MultiNLI
MultiNLI
SQuAD
SQuAD
transfer learning
迁移学习
state of the art
最先进水平