TL;DR
DiffusionGemma is an experimental open-weight language model that breaks the sequential decoding bottleneck of traditional autoregressive models by using discrete diffusion to refine blocks of 256 tokens in parallel. By fine-tuning a pretrained Gemma 4 mixture-of-experts model using a compute-efficient two-stage pipeline, it achieves a massive inference speedup—generating roughly 1,500 tokens per second on a single NVIDIA H100 GPU—while retaining advanced capabilities like thinking mode, long contexts, and multimodality.
What Problem Does This Paper Address?
Standard Large Language Models (LLMs) dominate the landscape using autoregressive (AR) generation, which predicts text one token at a time from left to right. This strict sequential approach creates a severe memory-bandwidth bottleneck during single-request or low-concurrency serving: the accelerator spends far more time moving model weights and key-value (KV) caches from memory than performing actual computation.
While speculative decoding mitigates this issue, it remains limited by sequential drafting and declining acceptance rates. Text diffusion models offer an alternative by predicting entire blocks of tokens simultaneously, effectively shifting execution from a memory-bound regime to a compute-bound one. However, existing text diffusion models are either locked behind proprietary APIs or lack advanced reasoning, long-context support, and multimodal capabilities. DiffusionGemma bridges this gap as a highly capable, open-weight text diffusion model.
Methods
Rather than training a text diffusion model from scratch, the authors warm-start DiffusionGemma from the publicly released weights of the Gemma 4 26B A4B Mixture-of-Experts (MoE) model (3.85B activated parameters). They employ a compute-efficient two-stage training pipeline that utilizes less than 10% of the original AR model's training token budget:
- Supervised Fine-Tuning (SFT): Adapts the AR model to discrete multinomial diffusion and bidirectional attention across a 256-token canvas, while retaining causal attention for context encoding.
- Sampler Distillation & Reinforcement Learning (SD·RL): A unified online learning phase that concurrently maximizes reward-driven generation quality and compresses the denoising steps to unlock ultra-low latency.
At inference time, the model utilizes an entropy-bounded sampler with linear temperature annealing and an adaptive stopping heuristic. This heuristic dynamically halts the denoising loop once predictions become stable and confident, reducing the average number of forward passes from a maximum budget of 48 down to just 12 effective steps per block.
Datasets
The model's online training phase adapts the data mixture used by the Gemma 4 RL recipe, targeting helpfulness, mathematical reasoning, coding, and instruction-following.
To evaluate capabilities and efficiency, the authors tested DiffusionGemma across a diverse suite of standard benchmarks:
- Reasoning & Knowledge: AIME 2026, GPQA-Diamond, BigBench EH, GSM8K, MGSM, MMMLU, Putnam, MMLU-Pro, and HiddenMath (internal).
- Coding: LiveCodeBench-v6, Codeforces, HumanEval, BigCodeBench, LBPP (v2), and Natural2Code (internal).
- Instruction Following & Agentic Behavior: IFeval, and the Tau-bench suite (Retail, Airline, and Telecom environments).
- Multimodal Reasoning: MMMU-Pro.
- Downstream SFT Case Studies: An open-source dataset of Sudoku puzzles and PubMedQA.
Key Insights and Ideas
- Repurposing AR Weights: Initializing from a strong post-trained AR model allows the diffusion model to efficiently inherit advanced features like multimodal understanding and "thinking mode" without the prohibitive computational cost of native diffusion pretraining.
- Implicit Curriculum Effect: During the SD·RL phase, maximizing rewards systematically reduces the model's predictive entropy. Lower entropy triggers the adaptive stopping mechanism earlier, naturally shifting the training distribution toward shorter denoising trajectories and allowing the algorithm to dynamically pace its own sampler distillation.
- Emergent Conciseness: Unlike AR reinforcement learning, which often rewards longer chain-of-thought reasoning traces, the SD·RL optimization for DiffusionGemma encourages highly concise, token-efficient outputs (nearly 2× shorter than the SFT baseline), acting as a major multiplier for inference speed.
- Bidirectional Self-Correction: Because the model processes the entire canvas with bidirectional attention, it possesses a built-in mechanism for self-correction. It can dynamically revise premature commitments or logical errors made in earlier denoising steps, allowing the final answer and intermediate reasoning steps to co-evolve.
Key Results
- Extreme Throughput: DiffusionGemma achieves ~1,479 output tokens per second (TPS) on a single NVIDIA H100 GPU (FP8, batch size 1). This represents a 7.1× improvement over the baseline Gemma 4 AR model (204 TPS) and a 4.8× improvement over the AR model equipped with state-of-the-art Multi-Token Prediction (MTP) speculative decoding (303 TPS).
- Algorithmic Efficiency: It generates an average of 20 tokens per forward pass (TPF), completing a 256-token canvas in around 12 effective denoising steps.
- Pareto Frontier Advancement: DiffusionGemma establishes a new Pareto frontier for the speed-vs-quality trade-off, significantly outperforming existing open-weight text diffusion models like LLaDA 2.1 Flash 100B and Nemotron Diffusion 14B.
- Retained AR Capability: The final weights can be seamlessly loaded back into the original AR architecture to perform standard causal generation, recovering part of the performance gap observed in text-diffusion mode.
Limitations and Future Work
- Performance Gap vs. AR Baseline: DiffusionGemma exhibits lower absolute benchmark scores than its original AR baseline due to practical constraints like bypassing native diffusion pretraining and using a short SFT phase.
- Brevity Trade-off: The emergent conciseness restricts the model from leveraging the quality gains typically unlocked by longer, highly detailed reasoning traces.
- Occasional Token Stuttering: In rare instances, operating in the ultra-low latency regime with aggressively reduced denoising steps causes the model to fall into repetitive token loops (e.g., "the the the").
- Multimodal Tag Omissions: In multimodal tasks, the model occasionally fails to reliably generate closing thought tags, dragging down its thinking-mode performance on benchmarks like MMMU-Pro.
- High Batch Size Throughput Limits: While it excels at low batch sizes, the higher per-token compute cost causes traditional AR models to regain the throughput advantage at moderate to high batch sizes (above ~32 concurrent users) without targeted batch-size optimizations.
Summary updated