CLLGJun 19, 2019

XLNet: Generalized Autoregressive Pretraining for Language Understanding

arXiv:1906.08237v29378 citations
Originality Incremental advance
AI Analysis

This addresses the pretrain-finetune discrepancy and dependency issues in bidirectional models for NLP practitioners, representing a novel paradigm shift.

XLNet tackles the limitations of BERT in language understanding by proposing a generalized autoregressive pretraining method that learns bidirectional contexts without masking, outperforming BERT on 20 tasks, often by large margins.

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.

Code Implementations27 repos

Data from Papers with Code (CC-BY-SA-4.0)

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes