vix.ing · top · new · best · stats

XLNet: Generalized Autoregressive Pretraining for Language Understanding

2019/06/19 by Zhilin Yang, Zihang Dai, Yang, Zhilin +9 · 1 voice · 1,857 citations
Computer Science · Mathematics · #Artificial intelligence #Autoregressive model #Computer science #Econometrics #Inference #Language model #Machine learning #Margin (machine learning) #Mathematics #Natural Language Processing Techniques #Natural language processing #Ranking (information retrieval) #Speech Recognition and Synthesis #Speech recognition #Topic Modeling #Transformer #cs.CL #cs.LG

paper · pdf · doi:10.48550/arxiv.1906.08237

published in arXiv (Cornell University) (Cornell University) · Pretrained models and code are available at https://github.com/zihangdai/xlnet

openalex publication_date 2019/06/19 · arxiv created 2020/01/02 · arxiv updated 2020/01/03 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

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.

Citations

Cited by

Discussions

Related