TL;DR
This paper demonstrates that discrete diffusion models, when scaled up to 9.7 billion parameters and instruction-finetuned, can match or even exceed the performance of traditional autoregressive (AR) models like GPT. By "reprogramming" existing masked language models (MLMs) into diffusion learners, the authors show that these models exhibit emergent zero-shot abilities and a unique, non-linear reasoning style that allows them to plan and revise text globally.
What Problem Does This Paper Address?
While autoregressive models (which predict the next token in a sequence) currently dominate natural language processing, they are fundamentally limited by their "one-sided" context—they can only look at what they have already written. In contrast, diffusion models, which have revolutionized image generation, offer a "global receptive field," allowing them to draft and revise an entire sequence simultaneously.
However, applying diffusion to language has been difficult due to the "pitfall of discreteness"—text consists of categorical tokens, not continuous pixels. Previous attempts at "Diffusion-LLMs" struggled to scale or perform as well as their AR counterparts on general language tasks. This paper asks: Can diffusion models truly speak as well as AR models if we scale them up?
Methods
The authors introduce a framework to build large-scale DIFFUSION-LLMs using three main pillars:
- Generative Surgery: Instead of training from scratch, they leverage the intrinsic connection between Masked Language Modeling (MLM) and discrete "absorbing" diffusion. They take pre-trained models like XLM-RoBERTa and "reprogram" them into diffusion models through diffusive adaptation.
- Reparameterized Discrete Diffusion (RDM): They use a specific training objective that treats the denoising process as a weighted version of the MLM task, making it more stable and effective for generation.
- Scaling and Instruction-Finetuning: They scale the model size (from 86M to 9.7B parameters) and apply instruction-finetuning (using the Flan collection) to elicit the same kind of zero-shot and few-shot capabilities seen in models like GPT-3.
Datasets
- Pre-training: The models are initialized from XLM-RoBERTa, which was trained on the CC100 multilingual corpus (167B tokens).
- Downstream Tasks: Evaluation was performed on IWSLT14 (DE→EN), WMT14 (EN→DE), and Gigaword (summarization).
- Instruction Tuning: The authors used the Flan 2021 and Flan 2022 collections, covering over 1.8k tasks.
- Reasoning & Multimodal: Benchmarks included GSM8K (math), Path-Finding on Path-Star Graphs (planning), and GQA (Visual Question Answering).
Key Insights and Ideas
- Scaling Laws Apply: Just like AR models, Diffusion-LLMs follow clear scaling laws. As model size and data increase, performance on downstream tasks improves consistently.
- Emergent Zero-Shot Ability: Instruction tuning isn't just for AR models. It successfully unlocks the ability for Diffusion-LLMs to follow natural language instructions for tasks they've never seen before.
- "Easy-First" Generation: Qualitatively, Diffusion-LLMs tend to fill in the "easy" parts of a sentence (like structural templates) before diving into the complex details.
- Non-Linear Reasoning: Because they aren't forced to generate left-to-right, these models can perform "backward reasoning" or "backtracing" (erasing and correcting previous mistakes during the denoising process).
Key Results
- Competitive Performance: The 9.7B parameter DIFFUSION-LLM achieved a 38.57 SacreBLEU score on IWSLT14, significantly outperforming standard Transformer-BASE baselines (33.30).
- Zero-Shot Success: On unseen translation tasks, the instruction-tuned 9.7B model reached 30.90 SacreBLEU, coming remarkably close to supervised AR models.
- Superior Planning: In a "Path-Finding" task designed to test implicit planning, DIFFUSION-LLMs achieved near-perfect accuracy, while AR models (including LLaMA 3.1 8B) struggled, often performing no better than a random walk.
Limitations and Future Work
- Reasoning Gap: While they show promise, Diffusion-LLMs still lag behind the very best AR models on complex mathematical reasoning (like GSM8K) when using standard pre-training recipes.
- Inference Speed: The iterative denoising process requires multiple steps (50 in this study), which can be slower than AR generation for short sequences, though it offers better parallelization for long ones.
- Pre-training Recipes: The authors suggest that the current bottleneck is the pre-training recipe (MLM), which was originally designed for encoding, not generation. Developing "diffusion-first" pre-training at scale is a key next step.
Summary updated