iLLaDA: A Diffusion Language Model Challenges Autoregression Head-On
*Translation and analysis of a Chinese forum post on iLLaDA — if an LLM is a typewriter, iLLaDA is scratch paper.*
Two Ways to Make a Sculpture
Almost all large language models today — GPT, Claude, Qwen — are autoregressive: they generate left-to-right, one token at a time, and causal attention only lets them "look forward," never back. If they discover a better phrasing after the fact, they cannot revise it.
iLLaDA, developed by Renmin University's Gaoling School of AI together with ByteDance Seed, takes the opposite path: a bidirectional, diffusion-style language model trained from scratch that competes head-to-head with autoregressive models on multiple benchmarks.
The core training method is masked diffusion: random words in a sentence are masked, and the model learns to predict them. Unlike BERT's fixed 15% masking, iLLaDA samples mask ratios uniformly from 0 to 100%, so it learns to reconstruct order from any degree of chaos. Crucially, it uses fully bidirectional attention — every token sees all tokens before and after — which is a natural fit for reverse reasoning and long-horizon planning.
Three "Cheat Codes"
1. Train Longer and Reuse Data
iLLaDA-8B was trained from scratch on 12 trillion tokens — roughly double what the earlier LLaDA used. More importantly, diffusion models extract more value from repeated data than autoregressive models: during SFT, iLLaDA repeated 25B instruction tokens 12 times and kept improving.2. Confidence-Based Scoring for Evaluation
On multiple-choice benchmarks (MMLU, HellaSwag, ARC-Challenge), instead of scoring candidate answers by raw probability, iLLaDA starts from a fully masked answer and iteratively unmasks the position it is most confident about, summing the log probabilities of these confident choices. This alone improved ARC-Challenge by 0.6, HellaSwag by 2.3, and PIQA by 1.3 points.3. Length-Free Training
Traditional SFT pads variable-length answers within a batch, wasting compute. iLLaDA instead concatenates all instruction data into one continuous stream, cuts random 8192-token segments, and masks them entirely — prompts, answers, and EOS tokens alike. At generation time, output length is flexible: decode a 32-token block, stop if EOS appears, otherwise append more masks and continue.Results vs. Qwen2.5-7B
Base models (raw):
- MMLU: iLLaDA better
- BBH: large lead (+21.6 vs LLaDA)
- ARC-Challenge: better (+14.9 vs LLaDA)
- GSM8K: better
- GSM8K: iLLaDA better
- MATH: Qwen2.5 Instruct still ahead
- HumanEval: large lead (+16.5 vs LLaDA), close to Qwen2.5
- MMLU-Redux: competitive
Instruct models (after SFT):
Why It Matters
Autoregressive models are linear, unidirectional, and causal — matching how humans speak, but not how humans think. Diffusion models are parallel, bidirectional, and iterative — closer to solving a math problem on scratch paper: sketch, cross out, revise, refine. This architecture has structural advantages for reverse reasoning, multi-step planning, and multimodal fusion.
> If autoregression is a typewriter, diffusion is scratch paper. iLLaDA has pushed the "scratch paper mode" to a level where it can compete on the same stage as the "typewriter mode."
Paper: https://arxiv.org/abs/2606.25331 Code and weights: https://github.com/ML-GSAI/LLaDA