无需解码器解码:从扩散Transformer直接预测像素
研究论文 · 2026/11/19
潜在扩散模型依赖解码器将去噪后的潜在表示映射到像素空间,增加了复杂性和推理成本。本文提出“无解码器解码”(DWD),通过微调的扩散变换器利用线性头直接生成最终像素。与以往方法不同,DWD将去噪输出与最终像素生成分离:原始去噪头继续驱动采样,而新增的DWD头在最后一步预测像素。通过仅微调最后几个变换器块,并用像素质量损失训练DWD头,同时将去噪头锚定到预训练模型以保持采样轨迹,DWD能高效扩展预训练潜在模型。在潜在图像和视频生成器上,DWD移除了解码器并降低推理成本,同时保持甚至提升像素质量。在Wan视频生成中,它明显减少细节失真和闪烁,将扭曲误差降低23%。值得注意的是,同样的分离也改进了不使用解码器的像素扩散模型:最后一步的DWD头在文本到图像生成中显著提升纹理细节,并将ImageNet FID从1.55提升至1.43,成为像素流模型中的新最优。
该研究提出了一种简化扩散模型推理的新方法,无需解码器即可直接生成像素,在保持或提升生成质量的同时显著降低计算成本,且适用于图像和视频生成,具有重要的实用价值。
Latent diffusion models rely on a decoder to map denoised latents to pixels, adding complexity and inference cost. We introduce Decoding Without a Decoder (DWD), which lets a finetuned diffusion transformer produce final pixels directly through a linear head. Unlike previous methods, where the denoising output leads to final pixels, DWD separates the two roles: the original denoising head continues to drive sampling, then the new DWD head predicts the pixels at the final step. We extend pretrained latent models with DWD efficiently by finetuning only the last few transformer blocks, training the DWD head with pixel quality losses while anchoring the denoising head to the pretrained model to preserve the sample trajectory. Across latent image and video generators, DWD removes the decoder and reduces inference cost while maintaining or even improving pixel quality. On Wan video generation, it visibly reduces detail distortion and flickering, lowering warping error by 23%. Remarkably, the same separation also improves pixel diffusion models that do not even use a decoder: a final-step DWD head produces substantially better texture detail in text-to-image generation, and improves ImageNet FID from 1.55 to 1.43, a new state of the art among pixel flow models.