2025-05-30 · 进阶 · 机器学习 · 计算机视觉

D-AR: Diffusion via Autoregressive Models

本文提出了D-AR,一种将图像扩散过程重新定义为标准自回归下一个标记预测过程的范式,从而实现高效的视觉生成。

更新于 2025-05-30。作者:Ziteng Gao、Mike Zheng Shou。

中文摘要

本文提出了扩散通过自回归模型(D-AR),一种新的范式,将图像扩散过程重新构造成标准的下一标记预测方式的朴素自回归过程。我们首先设计了一个分词器,将图像转换为离散标记的序列,其中不同位置的标记可以被解码为像素空间中不同的扩散去噪步骤。得益于扩散特性,这些标记自然遵循从粗到细的顺序,这直接适合于自回归建模。因此,我们对这些标记应用标准的下一标记预测,而不修改任何底层设计(无论是因果掩码还是训练/推理策略),这样的顺序自回归标记生成直接反映了图像空间中的扩散过程。也就是说,一旦自回归模型生成了一个标记增量,我们就可以直接将这些标记解码为对应的扩散去噪步骤,以流式方式进行。我们的流程自然揭示了几个有趣的特性,例如,在只生成标记子集时支持一致的预览,并实现零样本布局控制合成。在标准的ImageNet基准上,我们使用775M Llama主干网络和256个离散标记,实现了2.09 FID。我们希望我们的工作能够启发未来关于视觉合成统一自回归架构的研究,尤其是在大型语言模型方面。代码和模型将在https://github.com/showlab/D-AR上提供。

英文摘要

This paper presents Diffusion via Autoregressive models (D-AR), a new paradigm recasting the image diffusion process as a vanilla autoregressive procedure in the standard next-token-prediction fashion. We start by designing the tokenizer that converts images into sequences of discrete tokens, where tokens in different positions can be decoded into different diffusion denoising steps in the pixel space. Thanks to the diffusion properties, these tokens naturally follow a coarse-to-fine order, which directly lends itself to autoregressive modeling. Therefore, we apply standard next-token prediction on these tokens, without modifying any underlying designs (either causal masks or training/inference strategies), and such sequential autoregressive token generation directly mirrors the diffusion procedure in image space. That is, once the autoregressive model generates an increment of tokens, we can directly decode these tokens into the corresponding diffusion denoising step in the streaming manner. Our pipeline naturally reveals several intriguing properties, for example, it supports consistent previews when generating only a subset of tokens and enables zero-shot layout-controlled synthesis. On the standard ImageNet benchmark, our method achieves 2.09 FID using a 775M Llama backbone with 256 discrete tokens. We hope our work can inspire future research on unified autoregressive architectures of visual synthesis, especially with large language models. Code and models will be available at https://github.com/showlab/D-AR

解读

一句话总结

本文提出了D-AR,一种将图像扩散过程重新定义为标准自回归下一个标记预测过程的范式,从而实现高效的视觉生成。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt