AI
Google Releases DiffusionGemma: A Faster, Diffusion-Based Alternative to Autoregressive Language Models
Google's new experimental model shifts text generation from sequential token prediction to parallel refinement, achieving up to 4x faster speeds while enabling novel capabilities like real-time error correction.
Google Developers Blog (AI)
Google has released DiffusionGemma, an experimental language model built on the Gemma 4 backbone that reimagines how text is generated. Rather than predicting tokens one at a time—the standard approach in autoregressive models—DiffusionGemma generates and refines a 256-token block in parallel, bypassing the memory-bandwidth bottleneck that typically limits GPU inference.
Key Performance Gains#
The model delivers measurable speed improvements: up to 700+ tokens per second on an NVIDIA GeForce RTX 5090 and 1000+ tokens per second on a single NVIDIA H100. This 4x speedup is achieved by shifting computational load from memory bandwidth to the GPU's tensor cores, which would otherwise sit idle during local serving.
DiffusionGemma is designed as a 26B Mixture of Experts model that activates only 3.8B parameters during inference, allowing quantized deployment within 18 GB VRAM limits—a practical constraint for developers.
Novel Capabilities#
The architecture enables capabilities that traditional autoregressive models cannot match:
- Bidirectional context: During generation, every token can attend to all other positions simultaneously, allowing the model to evaluate global constraints in parallel
- Self-correction: The model iteratively refines tokens and can re-noise and replace poorly confident outputs mid-generation
- Block-autoregressive long sequences: For text beyond 256 tokens, the model finalizes one block, commits it to cache, then processes the next—combining diffusion's parallel speed with autoregressive stability
Sudoku as a Proof of Concept#
To demonstrate customization, Google released fine-tuning recipes using the JAX-based Hackable Diffusion toolbox. When trained on Sudoku puzzles—a problem requiring simultaneous constraint satisfaction across rows, columns, and 3x3 grids—the model achieves 80% success, compared to ~0% for the base model, while reducing inference steps from 48 to 12.
This showcases DiffusionGemma's advantage in non-sequential, multi-variable constrained problems where autoregressive models struggle.
Developer Integration#
Google worked with the vLLM team to integrate DiffusionGemma into the popular inference framework. Developers can deploy the model immediately using standard vLLM commands with OpenAI-compatible APIs.

