CLAILGMar 18, 2021

GLM: General Language Model Pretraining with Autoregressive Blank Infilling

arXiv:2103.10360v21926 citations
AI Analysis

This addresses the need for a versatile pretrained model that works well across NLU, conditional, and unconditional generation tasks, offering a more unified approach compared to existing specialized models.

The authors tackled the problem of no single pretraining architecture performing best across all natural language tasks by proposing GLM, a general language model based on autoregressive blank infilling, which outperformed BERT, T5, and GPT on a wide range of tasks with 1.25x parameters of BERT Large.

There have been various types of pretraining architectures including autoencoding models (e.g., BERT), autoregressive models (e.g., GPT), and encoder-decoder models (e.g., T5). However, none of the pretraining frameworks performs the best for all tasks of three main categories including natural language understanding (NLU), unconditional generation, and conditional generation. We propose a General Language Model (GLM) based on autoregressive blank infilling to address this challenge. GLM improves blank filling pretraining by adding 2D positional encodings and allowing an arbitrary order to predict spans, which results in performance gains over BERT and T5 on NLU tasks. Meanwhile, GLM can be pretrained for different types of tasks by varying the number and lengths of blanks. On a wide range of tasks across NLU, conditional and unconditional generation, GLM outperforms BERT, T5, and GPT given the same model sizes and data, and achieves the best performance from a single pretrained model with 1.25x parameters of BERT Large , demonstrating its generalizability to different downstream tasks.

Code Implementations8 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