DiffusionGemma
A hybrid framework combining Google's Gemma language model architecture with diffusion models, distributed as custom nodes for ComfyUI. It supports multimodal reference-based generation and is capable of handling complex multi-condition video and image generation tasks.
Core Facts
Timeline (last 90 days)
The study selected three diffusion judges (Mercury-2, LLaDA-2.1-flash, DiffusionGemma) and matched each with an autoregressive judge of comparable capability (Claude-Haiku-4.5, Nemotron-3-Super, Gemma-4-26B-A4B).
LLaDA adopts the masked diffusion route, performing denoising in the discrete token space; Mercury emphasizes commercially usable inference efficiency; DiffusionGemma is an exploratory variant that combines the diffusion paradigm with the Gemma architecture.
Unsloth now supports training and chatting with text diffusion language models such as LLaDA, Dream, SDAR, LLaDA2, Nemotron-Labs-Diffusion and DiffusionGemma.
Unsloth v0.1.906 adds DiffusionTrainer, which can train text diffusion language models such as DiffusionGemma, LLaDA, LLaDA2, Dream, Nemotron and SDAR.
All Facts (16)
DiffusionGemma is an experimental model that fuses the Google Gemma architecture with the diffusion generation paradigm.
80%UnverifiedDuring training, speed should not be pursued from the start—if step counts are compressed too early, the model easily falls into an infinite loop of repeatedly generating duplicate characters; a version that only undergoes the first step will get stuck on difficult problems, so accuracy must be trained before speed.
60%UnverifiedLLaDA adopts the masked diffusion route, performing denoising in the discrete token space; Mercury emphasizes commercially usable inference efficiency; DiffusionGemma is an exploratory variant that combines the diffusion paradigm with the Gemma architecture.
50%UnverifiedThe study selected three diffusion judges (Mercury-2, LLaDA-2.1-flash, DiffusionGemma) and matched each with an autoregressive judge of comparable capability (Claude-Haiku-4.5, Nemotron-3-Super, Gemma-4-26B-A4B).
50%UnverifiedDiffusionGemma使用256个位置的草稿纸机制,先全部填入噪声,然后逐轮整体去噪并行生成
50%UnverifiedDiffusionGemma使用双向注意力,去掉因果掩码,让每个位置能同时关注序列中所有其他位置,机制与BERT编码器相同
50%UnverifiedDiffusionGemma通过并行处理将矩阵-向量乘法变为矩阵-矩阵乘法,从memory-bound转为compute-bound,是其效率提升的根本原因
50%UnverifiedEarly discrete diffusion models typically did not exceed 1B parameters; DiffusionGemma was the first to validate the feasibility of the diffusion paradigm at mainstream LLM scale (approximately 26B).
50%UnverifiedDiffusionGemma converts matrix-vector multiplication into matrix-matrix multiplication by processing 256 positions in parallel, shifting from memory-bound to compute-bound operation, which is the root cause of its 5× speedup.
50%UnverifiedDiffusionGemma uses a generation mechanism of parallel denoising across 256 positions, first injecting noise and then progressively fixing the positions with the highest confidence in each round.
50%UnverifiedDiffusionGemma relies on bidirectional attention, allowing preceding and following positions to attend to each other, which is the core mechanism behind its generation quality matching that of autoregressive models.
50%UnverifiedDiffusionGemma relies on bidirectional attention (removing the causal attention lower-triangular mask), enabling each position to simultaneously attend to all positions both before and after it in the sequence.
50%UnverifiedDiffusionGemma employs a full parallel denoising generation mechanism: it first lays out noise across 256 positions, then iterates round by round, fixing the positions with the highest confidence first and re-injecting noise into the remaining positions.
50%UnverifiedKnowledge distillation was first proposed by Hinton et al. in 2015; DiffusionGemma creatively applies it to step compression, where the teacher model generates with more steps (e.g., 48 steps) and the student model achieves comparable quality with fewer steps (e.g., 12 steps).
50%UnverifiedUnsloth now supports training and chatting with text diffusion language models such as LLaDA, Dream, SDAR, LLaDA2, Nemotron-Labs-Diffusion and DiffusionGemma.
50%UnverifiedUnsloth v0.1.906 adds DiffusionTrainer, which can train text diffusion language models such as DiffusionGemma, LLaDA, LLaDA2, Dream, Nemotron and SDAR.
50%