mlsanityData to 7 Oct 2026

Enabling Autoregressive Models to Fill In Masked Tokens

arXiv 2502.06901 ↗First posted 9 Feb 2025cs.LG cs.AI cs.CLcited by 7

Not on the map. Why?

Abstract (arXiv)

Historically, LLMs have been trained using either autoregressive (AR) or masked language modeling (MLM) objectives, with AR models gaining dominance in recent years. However, AR models are inherently incapable of masked infilling, which is the ability to predict masked tokens between past and future context. In contrast, MLM models suffer from intrinsic computational inefficiencies during both training and inference that hinder their scalability. This work introduces MARIA (Masked and Autoregressive Infilling Architecture), a novel approach that leverages the strengths of both paradigms to achieve state-of-the-art masked infilling performance. MARIA combines a pre-trained MLM and AR model by training a linear decoder that takes their concatenated hidden states as input. This minimal modification enables the AR model to perform infilling while retaining its inherent advantages in terms of faster inference with KV caching. Our results demonstrate that MARIA significantly outperforms existing methods, namely discrete diffusion models, on masked infilling tasks.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 43 of its 56 references that are in the map. First posted on arXiv 9 Feb 2025.

Builds on

43 of 56 references.

References · 43

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  4. 2023GPT-4 Technical Reportcited by 18,132
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  7. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  8. 2016Pointer Sentinel Mixture Modelscited by 2,992
  9. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  10. 2023A Survey of Large Language Modelscited by 2,537
  11. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  12. 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,151
31 more
  1. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
  2. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
  3. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  4. 2024Simple and Effective Masked Diffusion Language Modelscited by 800
  5. 2024OLMo: Accelerating the Science of Language Modelscited by 599
  6. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
  7. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  8. 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
  9. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 428
  10. 2024Your Absorbing Discrete Diffusion Secretly Models the Conditional Distributions of Clean Datacited by 371
  11. 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 302
  12. 2024Scaling Diffusion Language Models via Adaptation from Autoregressive Modelscited by 268
  13. 2022Efficient Training of Language Models to Fill in the Middlecited by 248
  14. 2022CoAuthor: Designing a Human-AI Collaborative Writing Dataset for Exploring Language Model Capabilitiescited by 245
  15. 2021Autoregressive Diffusion Modelscited by 208
  16. 2024Scaling up Masked Diffusion Models on Textcited by 195
  17. 2023Likelihood-Based Diffusion Language Modelscited by 147
  18. 2020Enabling Language Models to Fill in the Blankscited by 121
  19. 2019On the Use of ArXiv as a Datasetcited by 101
  20. 2024FOFO: A Benchmark to Evaluate LLMs' Format-Following Capabilitycited by 79
  21. 2024Think While You Generate: Discrete Diffusion with Planned Denoisingcited by 61
  22. 2020Multi-task Learning based Pre-trained Language Model for Code Completioncited by 58
  23. 2024Discrete Copula Diffusioncited by 53
  24. 2024Scaling Smart: Accelerating Large Language Model Pre-training with Small Model Initializationcited by 29
  25. 2023Meet in the Middle: A New Pre-training Paradigmcited by 22
  26. 2023Long Horizon Temperature Scalingcited by 18
  27. 2021Improving Sequence-to-Sequence Pre-training via Sequence Span Rewritingcited by 13
  28. 2023FiLM: Fill-in Language Models for Any-Order Generationcited by 13
  29. 2024BERTs are Generative In-Context Learnerscited by 11
  30. 2024Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Modelscited by 10
  31. 2024AntLM: Bridging Causal and Masked Language Modelscited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 6; 2026: 1.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Mask-Enhanced Autoregressive Prediction: Pay Less Attention to Learn More
  2. 2026Re-evaluating Confidence Remasking in Masked Diffusion Language Models
  3. 2026Auto-Regressive Masked Diffusion Models
  4. 2024Beyond Autoregression: Fast LLMs via Self-Distillation Through Time
  5. 2026Infinite Mask Diffusion for Few-Step Distillation
  6. 2024Promises and Pitfalls of Generative Masked Language Modeling: Theoretical Framework and Practical Guidelines
  7. 2026Autoregressive vs. Masked Diffusion Language Models: A Controlled Comparison
  8. 2025Soft-Masked Diffusion Language Models