ACDiT:插值自回归条件建模与扩散变换器
ACDiT: Interpolating Autoregressive Conditional Modeling and Diffusion Transformer
AI总结:
ACDiT通过结合自回归和扩散范式,实现连续视觉信息的灵活插值生成,优于现有自回归基线,在视觉生成任务中表现最佳。
摘要:
自回归模型和扩散模型在语言模型和视觉生成领域分别取得了显著进展。我们提出了ACDiT,一种新颖的自回归分块条件扩散变换器,创新性地将自回归和扩散范式结合起来,用于连续视觉信息。通过引入分块自回归单元,ACDiT提供了一种在token级自回归和完整序列扩散之间的灵活插值,绕过了离散tokenization的限制。每个块的生成被公式化为一个条件扩散过程,条件于先前的块。ACDiT易于实现,只需在训练时对标准扩散变换器应用专门设计的Skip-Causal Attention Mask即可。在推理过程中,过程在扩散去噪和自回归解码之间交替进行,可以充分利用KV-Cache。我们验证了ACDiT在图像、视频和文本生成上的有效性,并证明在相似模型规模下,ACDiT在视觉生成任务中优于所有自回归基线。我们还展示了,得益于自回归建模,预训练的ACDiT可以在视觉理解任务中进行迁移,尽管它是在生成目标上进行训练的。对自回归和扩散之间权衡的分析展示了ACDiT在长时间视觉生成任务中的潜力。我们希望ACDiT能为视觉自回归生成提供新的视角,并为统一模型开辟新的途径。
英文摘要:
Autoregressive and diffusion models have achieved remarkable progress in language models and visual generation, respectively. We present ACDiT, a novel Autoregressive blockwise Conditional Diffusion Transformer, that innovatively combines autoregressive and diffusion paradigms for continuous visual information. By introducing a block-wise autoregressive unit, ACDiT offers a flexible interpolation between token-wise autoregression and full-sequence diffusion, bypassing the limitations of discrete tokenization. The generation of each block is formulated as a conditional diffusion process, conditioned on prior blocks. ACDiT is easy to implement, as simple as applying a specially designed Skip-Causal Attention Mask on the standard diffusion transformer during training. During inference, the process iterates between diffusion denoising and autoregressive decoding that can make full use of KV-Cache. We validate the effectiveness of ACDiT on image, video, and text generation and show that ACDiT performs best among all autoregressive baselines under similar model scales on visual generation tasks. We also demonstrate that, benefiting from autoregressive modeling, pretrained ACDiT can be transferred in visual understanding tasks despite being trained with the generative objective. The analysis of the trade-off between autoregressive and diffusion demonstrates the potential of ACDiT to be used in long-horizon visual generation tasks. We hope that ACDiT offers a novel perspective on visual autoregressive generation and sheds light on new avenues for unified models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。