Promises and Pitfalls of Generative Masked Language Modeling: Theoretical Framework and Practical Guidelines
Not on the map. Why?
Abstract (arXiv)
Autoregressive language models are the currently dominant paradigm for text generation, but they have some fundamental limitations that cannot be remedied by scale-for example inherently sequential and unidirectional generation. While alternate classes of models have been explored, we have limited mathematical understanding of their fundamental power and limitations. In this paper we focus on Generative Masked Language Models (GMLMs), a non-autoregressive paradigm in which we train a model to fit conditional probabilities of the data distribution via masking, which are subsequently used as inputs to a Markov Chain to draw samples from the model, These models empirically strike a promising speed-quality trade-off as each step can be typically parallelized by decoding the entire sequence in parallel. We develop a mathematical framework for analyzing and improving such models which sheds light on questions of sample complexity and inference speed and quality. Empirically, we adapt the T5 model for iteratively-refined parallel decoding, achieving 2-3x speedup in machine translation with minimal sacrifice in quality compared with autoregressive models. We run careful ablation experiments to give recommendations on key design choices, and make fine-grained observations on the common error modes in connection with our theory. Our mathematical analyses and empirical observations characterize both potentials and limitations of this approach, and can be applied to future works on improving understanding and performance of GMLMs. Our codes are released at https://github.com/google-research/google-research/tree/master/padir
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 62 of its 92 references that are in the map. First posted on arXiv 22 Jul 2024.
Builds on
62 of 92 references.
References · 62
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
- 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,665
- 2020BLEURT: Learning Robust Metrics for Text Generationcited by 1,196
- 2022Diffusion-LM Improves Controllable Text Generationcited by 1,006
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 821
38 more
- 2016Sequence-Level Knowledge Distillationcited by 761
- 2015Generating Sentences from a Continuous Spacecited by 607
- 2021Argmax Flows and Multinomial Diffusion: Learning Categorical Distributionscited by 566
- 2017Non-Autoregressive Neural Machine Translationcited by 457
- 2022DiffuSeq: Sequence to Sequence Text Generation with Diffusion Modelscited by 439
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
- 2016SeqGAN: Sequence Generative Adversarial Nets with Policy Gradientcited by 375
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2018Deterministic Non-Autoregressive Neural Sequence Modeling by Iterative Refinementcited by 194
- 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
- 2019BERT has a Mouth, and It Must Speak: BERT as a Markov Random Field Language Modelcited by 184
- 2022COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamicscited by 159
- 2023A Reparameterized Discrete Diffusion Model for Text Generationcited by 152
- 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
- 2019Insertion Transformer: Flexible Sequence Generation via Insertion Operationscited by 123
- 2019Understanding Knowledge Distillation in Non-autoregressive Machine Translationcited by 121
- 2021Self-Attention Networks Can Process Bounded Hierarchical Languagescited by 105
- 2020Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine Translationcited by 104
- 2020Glancing Transformer for Non-Autoregressive Neural Machine Translationcited by 103
- 2021Step-unrolled Denoising Autoencoders for Text Generationcited by 102
- 2021Statistically Meaningful Approximation: a Case Study on Approximating Turing Machines with Transformerscited by 101
- 2017Long Text Generation via Adversarial Training with Leaked Informationcited by 100
- 2020Fully Non-autoregressive Neural Machine Translation: Tricks of the Tradecited by 99
- 2020Non-Autoregressive Machine Translation with Latent Alignmentscited by 96
- 2020Residual Energy-Based Models for Text Generationcited by 95
- 2021Learning Compact Metrics for MTcited by 93
- 2022Vision Transformers provably learn spatial structurecited by 92
- 2019FlowSeq: Non-Autoregressive Conditional Sequence Generation with Generative Flowcited by 89
- 2023How Do Transformers Learn Topic Structure: Towards a Mechanistic Understandingcited by 85
- 2019Latent Normalizing Flows for Discrete Sequencescited by 66
- 2020Imputer: Sequence Modelling via Imputation and Dynamic Programmingcited by 65
- 2022Statistical Efficiency of Score Matching: The View from Isoperimetrycited by 63
- 2020Limitations of Autoregressive Models and Their Alternativescited by 54
- 2017Adversarial Ranking for Language Generationcited by 50
- 2023Do Transformers Parse while Predicting the Masked Word?cited by 48
- 2016Interaction Screening: Efficient and Sample-Optimal Learning of Ising Modelscited by 43
- 2017Maximum-Likelihood Augmented Discrete Generative Adversarial Networkscited by 39
- 2021Exposing the Implicit Energy Networks behind Masked Language Models via Metropolis--Hastingscited by 37
50 most cited of 62 All 62 (JSON)
Built on by
Citing papers per year: 2025: 4; 2026: 2.
6 papers.
- 2025Sample Complexity and Representation Ability of Test-time Scaling Paradigmscited by 12
- 2025On the Query Complexity of Verifier-Assisted Language Generationcited by 10
- 2025Latent Refinement Decoding: Enhancing Diffusion-Based Language Models by Refining Belief Statescited by 9
- 2025Variational Masked Diffusion Modelscited by 4
- 2026Archer: Adaptive Reuse of Cached Hidden States for Efficient Rollback in Diffusion Language Modelscited by 0
- 2026A Theoretical Framework for Masked Pretraining (MPT)cited by 0
- 2026A Theoretical Framework for Masked Pretraining (MPT)6 Sep 2026
- 2026Archer: Adaptive Reuse of Cached Hidden States for Efficient Rollback in Diffusion Language Models8 Aug 2026
- 2025Variational Masked Diffusion Models27 Oct 2025
- 2025Latent Refinement Decoding: Enhancing Diffusion-Based Language Models by Refining Belief States13 Oct 2025
- 2025Sample Complexity and Representation Ability of Test-time Scaling Paradigms5 Jun 2025
- 2025On the Query Complexity of Verifier-Assisted Language Generation17 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2024A Comprehensive Survey of Accelerated Generation Techniques in Large Language Models
- 2026Auto-Regressive Masked Diffusion Models
- 2024Scaling up Masked Diffusion Models on Text
- 2025Plan for Speed: Dilated Scheduling for Masked Diffusion Language Models
- 2025Theoretical Benefit and Limitation of Diffusion Language Model
- 2026Autoregressive vs. Masked Diffusion Language Models: A Controlled Comparison
- 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Models
- 2024Masked Diffusion Models are Secretly Time-Agnostic Masked Models and Exploit Inaccurate Categorical Sampling