DEVOURED
DiffusionGemma Technical Report
Google's DiffusionGemma uses discrete diffusion to generate text in parallel blocks, achieving 1,500 tokens per second on a single H100.
What: DiffusionGemma fine-tunes the 25.2B parameter Gemma 4 model to iteratively refine 256-token blocks simultaneously, bypassing the sequential bottleneck of standard autoregressive inference.
Why it matters: Parallelized token generation is the current frontier for overcoming the latency limitations of standard LLMs, potentially enabling real-time generation speeds that surpass current speculative decoding methods.
Deep dive
- Replaces standard token-by-token decoding with a discrete diffusion process.
- Processes 256 tokens in parallel during inference.
- Reached speeds of approximately 1,500 output tokens per second on an NVIDIA H100.
- Two-stage training pipeline involves supervised fine-tuning for denoising and reinforcement learning for sampler distillation.
- Maintains backward compatibility for traditional autoregressive generation.
Decoder
- Discrete diffusion: A generative modeling approach that progressively refines discrete data (like tokens) from noise rather than generating one value at a time.
- Autoregressive (AR): A model generation pattern where each new token is predicted based on the sequence of all previously generated tokens.
- Pareto frontier: A set of choices that offers the best possible trade-off between two conflicting goals (in this case, speed and model quality).
Original article
DiffusionGemma Technical Report
We introduce DiffusionGemma, an experimental open-weight language model that uses discrete diffusion to generate text at exceptionally high speed. Rather than decoding one token at a time, DiffusionGemma iteratively refines blocks of 256 tokens in parallel, avoiding the sequential decoding bottleneck of conventional autoregressive (AR) large language models. Instead of training from scratch, we obtain DiffusionGemma by fine-tuning the mixture-of-experts Gemma 4 model with 3.8B activated and 25.2B total parameters. Our compute-efficient two-stage training pipeline uses fewer than 10% of the starting AR model's total training token budget. The first stage uses supervised fine-tuning to teach bidirectional denoising, while the second stage combines reinforcement learning with sampler distillation to jointly improve generation quality and inference efficiency. DiffusionGemma establishes a new Pareto frontier for the trade-off between generation speed and model capability. Averaged across our full evaluation suite, it generates around 20 tokens per forward pass and achieves roughly 1,500 output tokens per second on a single NVIDIA H100 GPU, which is substantially faster than AR models even with state-of-the-art speculative decoding. DiffusionGemma also retains the starting model's support for thinking mode, multimodal inputs, and long contexts. Despite diffusion fine-tuning, it remains capable of AR generation with only minor performance degradation, suggesting a path toward hybrid diffusion-AR decoding.
Explore all 55 articles in today's digest
Fresh dev news, AI-digested daily. Never miss a trend at devoured.fyi