LGAICLFeb 9, 2025

Enabling Autoregressive Models to Fill In Masked Tokens

arXiv:2502.06901v17 citationsh-index: 41
Originality Highly original
AI Analysis

This work addresses the limitation of autoregressive models in masked infilling, which is a significant problem for natural language processing applications.

The authors tackled the problem of enabling autoregressive models to fill in masked tokens, achieving state-of-the-art performance with their proposed MARIA approach. MARIA outperforms existing methods, such as discrete diffusion models, on masked infilling tasks.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes