mlsanityData to 7 Oct 2026

Promises and Pitfalls of Generative Masked Language Modeling: Theoretical Framework and Practical Guidelines

arXiv 2407.21046 ↗First posted 22 Jul 2024cs.CL cs.LGcited by 6

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  6. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
  7. 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
  8. 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,665
  9. 2020BLEURT: Learning Robust Metrics for Text Generationcited by 1,196
  10. 2022Diffusion-LM Improves Controllable Text Generationcited by 1,006
  11. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
  12. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 821
38 more
  1. 2016Sequence-Level Knowledge Distillationcited by 761
  2. 2015Generating Sentences from a Continuous Spacecited by 607
  3. 2021Argmax Flows and Multinomial Diffusion: Learning Categorical Distributionscited by 566
  4. 2017Non-Autoregressive Neural Machine Translationcited by 457
  5. 2022DiffuSeq: Sequence to Sequence Text Generation with Diffusion Modelscited by 439
  6. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
  7. 2016SeqGAN: Sequence Generative Adversarial Nets with Policy Gradientcited by 375
  8. 2022Transformers Learn Shortcuts to Automatacited by 260
  9. 2018Deterministic Non-Autoregressive Neural Sequence Modeling by Iterative Refinementcited by 194
  10. 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
  11. 2019BERT has a Mouth, and It Must Speak: BERT as a Markov Random Field Language Modelcited by 184
  12. 2022COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamicscited by 159
  13. 2023A Reparameterized Discrete Diffusion Model for Text Generationcited by 152
  14. 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
  15. 2019Insertion Transformer: Flexible Sequence Generation via Insertion Operationscited by 123
  16. 2019Understanding Knowledge Distillation in Non-autoregressive Machine Translationcited by 121
  17. 2021Self-Attention Networks Can Process Bounded Hierarchical Languagescited by 105
  18. 2020Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine Translationcited by 104
  19. 2020Glancing Transformer for Non-Autoregressive Neural Machine Translationcited by 103
  20. 2021Step-unrolled Denoising Autoencoders for Text Generationcited by 102
  21. 2021Statistically Meaningful Approximation: a Case Study on Approximating Turing Machines with Transformerscited by 101
  22. 2017Long Text Generation via Adversarial Training with Leaked Informationcited by 100
  23. 2020Fully Non-autoregressive Neural Machine Translation: Tricks of the Tradecited by 99
  24. 2020Non-Autoregressive Machine Translation with Latent Alignmentscited by 96
  25. 2020Residual Energy-Based Models for Text Generationcited by 95
  26. 2021Learning Compact Metrics for MTcited by 93
  27. 2022Vision Transformers provably learn spatial structurecited by 92
  28. 2019FlowSeq: Non-Autoregressive Conditional Sequence Generation with Generative Flowcited by 89
  29. 2023How Do Transformers Learn Topic Structure: Towards a Mechanistic Understandingcited by 85
  30. 2019Latent Normalizing Flows for Discrete Sequencescited by 66
  31. 2020Imputer: Sequence Modelling via Imputation and Dynamic Programmingcited by 65
  32. 2022Statistical Efficiency of Score Matching: The View from Isoperimetrycited by 63
  33. 2020Limitations of Autoregressive Models and Their Alternativescited by 54
  34. 2017Adversarial Ranking for Language Generationcited by 50
  35. 2023Do Transformers Parse while Predicting the Masked Word?cited by 48
  36. 2016Interaction Screening: Efficient and Sample-Optimal Learning of Ising Modelscited by 43
  37. 2017Maximum-Likelihood Augmented Discrete Generative Adversarial Networkscited by 39
  38. 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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 2.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024A Comprehensive Survey of Accelerated Generation Techniques in Large Language Models
  2. 2026Auto-Regressive Masked Diffusion Models
  3. 2024Scaling up Masked Diffusion Models on Text
  4. 2025Plan for Speed: Dilated Scheduling for Masked Diffusion Language Models
  5. 2025Theoretical Benefit and Limitation of Diffusion Language Model
  6. 2026Autoregressive vs. Masked Diffusion Language Models: A Controlled Comparison
  7. 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Models
  8. 2024Masked Diffusion Models are Secretly Time-Agnostic Masked Models and Exploit Inaccurate Categorical Sampling