Skip to content
Technology

DiffusionGemma

DiffusionGemma — Technology. category: Masked diffusion LLM, 2B params, Gemma 2 base, bidirectional attention, open weights, released early 2025 · usage: Basis of the initial logprobs-based approach

DiffusionGemma holds 2 billion parameters on a Transformer base derived from «Gemma 2», released early 2025 with open weights published by «Google» on Hugging Face, AI Studio and Vertex AI. «Google» stripped the causal mask, added noise conditioning, and had the model predict distributions over every masked position simultaneously. What comes out is a masked-diffusion generator with bidirectional attention: it starts from a noised sequence and refines it across an adjustable number of denoising steps, and it can update a position it already wrote instead of freezing it.

The MindStudio Team's 12 June 2026 explainer gives the arithmetic that makes the architecture interesting: a 500-token output would take 50 to 100 denoising steps rather than 500 sequential passes. Infilling and constrained generation (templates, code completion with surrounding context, rewriting that preserves a beginning and an end) fall out of the same mechanism. The same piece states the ceiling without hedging. At the 2B scale, DiffusionGemma does not rival GPT-4o or Gemini 1.5 Pro on reasoning, instruction following or knowledge, and the gap closes without being closed. For conversation, multi-step reasoning or token-by-token streaming, autoregressive models stay the better choice.

The second appearance is operational. Michelle Chen, Alex Reneau and Kevin Flansburg report that Cloudflare's «Clef» decision models started from an adaptation of DiffusionGemma that exposed logprobs, resting on work by Matt Mastracci. Shipped «Clef» runs a frozen Qwen3.8-27B. The open weights served the experiment that came first.

Type
Technology
category
Masked diffusion LLM, 2B params, Gemma 2 base, bidirectional attention, open weights, released early 2025
usage
Basis of the initial logprobs-based approach
relations
10
Cited in
2 fiches

Adoption measures

Neighborhood

Google modèles de langage p… modèle à poids ouverts attention bidirectio… diffusion masquée Gemma 2 Clef

← created

Google ORGANISATION high confidence stable Source ↗

→ is an instance of

modèles de langage par diffusion TECHNOLOGIE high confidence stable Source ↗
modèle à poids ouverts CONCEPT high confidence stable Source ↗

→ uses

attention bidirectionnelle CONCEPT high confidence timeless Source ↗
diffusion masquée CONCEPT high confidence timeless Source ↗

→ is a variant of

Gemma 2 TECHNOLOGIE high confidence stable Source ↗

← publishes

Google ORGANISATION high confidence stable Source ↗

← draws on

Clef TECHNOLOGIE high confidence stable Source ↗

Cited in (2)