XLNet:面向语言理解的广义自回归预训练

XLNet: Generalized Autoregressive Pretraining for Language Understanding

杨植麟 Zhilin Yang · CMU · 2019-06-19 · arXiv:1906.08237 ↗ · 被引 9431

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

摘要 · Abstract

尽管基于去噪自编码的预训练方法(如 BERT)通过建模双向上下文取得了比自回归语言模型更好的性能,但 BERT 依赖于对输入进行掩码破坏,忽略了掩码位置之间的依赖关系,并存在预训练与微调之间的差异。针对这些优缺点,我们提出了 XLNet,一种广义自回归预训练方法,它通过最大化所有分解顺序排列的期望似然来学习双向上下文,并凭借其自回归公式克服了 BERT 的局限性。此外,XLNet 将最先进的自回归模型 Transformer-XL 的思想整合到预训练中。实验表明,在可比较的实验设置下,XLNet 在 20 个任务上(包括问答、自然语言推理、情感分析和文档排序)显著优于 BERT,通常优势明显。

With the capability of modeling bidirectional contexts, denoising autoencoding based pretraining like BERT achieves better performance than pretraining approaches based on autoregressive language modeling. However, relying on corrupting the input with masks, BERT neglects dependency between the masked positions and suffers from a pretrain-finetune discrepancy. In light of these pros and cons, we propose XLNet, a generalized autoregressive pretraining method that (1) enables learning bidirectional contexts by maximizing the expected likelihood over all permutations of the factorization order and (2) overcomes the limitations of BERT thanks to its autoregressive formulation. Furthermore, XLNet integrates ideas from Transformer-XL, the state-of-the-art autoregressive model, into pretraining. Empirically, under comparable experiment settings, XLNet outperforms BERT on 20 tasks, often by a large margin, including question answering, natural language inference, sentiment analysis, and document ranking.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 13)

阅读逐段中英对照全文 →