AI 生成文本提速 15 倍,一次吐 256 个词
现在的 AI 写东西是一个词一个词往外蹦,像打字机。这篇让 AI 一次生成 256 个词,再整体打磨,速度飙到每秒 1500 词,比最快的传统模型还快 15 倍。它不是从零训练,而是把现成的 Gemma 模型改造,只用了不到 10% 的训练量。代价是质量略降,但能保留思考、多模态和长上下文能力。这不是你明天能用的产品,但它指向一个方向:AI 回复不再需要等,可能改变我们对「AI 响应速度」的预期。
📄 原文摘要(英文)
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.