Enabling Autoregressive Models to Fill In Masked Tokens
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
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2023GPT-4 Technical Reportcited by 18,132
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2023A Survey of Large Language Modelscited by 2,537
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,151
31 more
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2024Simple and Effective Masked Diffusion Language Modelscited by 800
- 2024OLMo: Accelerating the Science of Language Modelscited by 599
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
- 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 428
- 2024Your Absorbing Discrete Diffusion Secretly Models the Conditional Distributions of Clean Datacited by 371
- 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 302
- 2024Scaling Diffusion Language Models via Adaptation from Autoregressive Modelscited by 268
- 2022Efficient Training of Language Models to Fill in the Middlecited by 248
- 2022CoAuthor: Designing a Human-AI Collaborative Writing Dataset for Exploring Language Model Capabilitiescited by 245
- 2021Autoregressive Diffusion Modelscited by 208
- 2024Scaling up Masked Diffusion Models on Textcited by 195
- 2023Likelihood-Based Diffusion Language Modelscited by 147
- 2020Enabling Language Models to Fill in the Blankscited by 121
- 2019On the Use of ArXiv as a Datasetcited by 101
- 2024FOFO: A Benchmark to Evaluate LLMs' Format-Following Capabilitycited by 79
- 2024Think While You Generate: Discrete Diffusion with Planned Denoisingcited by 61
- 2020Multi-task Learning based Pre-trained Language Model for Code Completioncited by 58
- 2024Discrete Copula Diffusioncited by 53
- 2024Scaling Smart: Accelerating Large Language Model Pre-training with Small Model Initializationcited by 29
- 2023Meet in the Middle: A New Pre-training Paradigmcited by 22
- 2023Long Horizon Temperature Scalingcited by 18
- 2021Improving Sequence-to-Sequence Pre-training via Sequence Span Rewritingcited by 13
- 2023FiLM: Fill-in Language Models for Any-Order Generationcited by 13
- 2024BERTs are Generative In-Context Learnerscited by 11
- 2024Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Modelscited by 10
- 2024AntLM: Bridging Causal and Masked Language Modelscited by 8
Built on by
Citing papers per year: 2025: 6; 2026: 1.
7 papers.
- 2025Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Modelscited by 385
- 2025Mercury: Ultra-Fast Language Models Based on Diffusioncited by 225
- 2025Accelerating Diffusion LLMs via Adaptive Parallel Decodingcited by 108
- 2025Esoteric Language Models: A Family of Any-Order Diffusion LLMscited by 33
- 2025Let it Calm: Exploratory Annealed Decoding for Verifiable Reinforcement Learningcited by 9
- 2025Planned Diffusioncited by 8
- 2026Diffusion Language Model for Recommendationcited by 0
- 2026Diffusion Language Model for Recommendation23 Jul 2026
- 2025Planned Diffusion20 Oct 2025
- 2025Let it Calm: Exploratory Annealed Decoding for Verifiable Reinforcement Learning6 Oct 2025
- 2025Mercury: Ultra-Fast Language Models Based on Diffusion17 Jun 2025
- 2025Esoteric Language Models: A Family of Any-Order Diffusion LLMs2 Jun 2025
- 2025Accelerating Diffusion LLMs via Adaptive Parallel Decoding31 May 2025
- 2025Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Models12 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2025Mask-Enhanced Autoregressive Prediction: Pay Less Attention to Learn More
- 2026Re-evaluating Confidence Remasking in Masked Diffusion Language Models
- 2026Auto-Regressive Masked Diffusion Models
- 2024Beyond Autoregression: Fast LLMs via Self-Distillation Through Time
- 2026Infinite Mask Diffusion for Few-Step Distillation
- 2024Promises and Pitfalls of Generative Masked Language Modeling: Theoretical Framework and Practical Guidelines
- 2026Autoregressive vs. Masked Diffusion Language Models: A Controlled Comparison
- 2025Soft-Masked Diffusion Language Models