2020

UniLMv2: Pseudo-Masked Language Models for Unified Language Model Pre-Training

Bao, Hangbo, Dong, Li, Wei, Furu et al.

Understand

We propose to pre-train a unified language model for both autoencoding and partially autoregressive language modeling tasks using a novel training procedure, referred to as a pseudo-masked language model (PMLM).

  • Given an input text with masked tokens, we rely on conventional masks to learn inter-relations between corrupted tokens and context via autoencoding, and pseudo masks to learn intra-relations between masked spans via partially autoregressive modeling.
  • With well-designed position embeddings and self-attention masks, the context encodings are reused to avoid redundant computation.
  • Moreover, conventional masks used for autoencoding provide global masking information, so that all the position embeddings are accessible in partially autoregressive language modeling.

Reading the bibliography…