TensorX
返回文献探索

Paper · arXiv 2412.07720

ACDiT: Interpolating Autoregressive Conditional Modeling and Diffusion Transformer

Jinyi Hu, Shengding Hu, Yuxuan Song, Yufei Huang, Mingxuan Wang, Hao Zhou, Zhiyuan Liu, Wei-Ying Ma, Maosong Sun

30 upvotesDecember 10, 2024arXiv 预印本
AI 摘要

ACDiT, an Autoregressive blockwise Conditional Diffusion Transformer, bridges visual generation and autoregressive modeling, demonstrating effectiveness in image and video generation and potential for visual understanding tasks.

autoregressive modelingdiffusion-based approachfull-sequence diffusionvisual generation modelblock size of diffusionautoregressive unitstoken-wise autoregressionSkip-Causal Attention Maskdiffusion denoisingKV-Cachevisual understanding taskslong-horizon visual generationunified models

Abstract

The recent surge of interest in comprehensive multimodal models has necessitated the unification of diverse modalities. However, the unification suffers from disparate methodologies. Continuous visual generation necessitates the full-sequence diffusion-based approach, despite its divergence from the autoregressive modeling in the text domain. We posit that autoregressive modeling, i.e., predicting the future based on past deterministic experience, remains crucial in developing both a visual generation model and a potential unified multimodal model. In this paper, we explore an interpolation between the autoregressive modeling and full-parameters diffusion to model visual information. At its core, we present ACDiT, an Autoregressive blockwise Conditional Diffusion Transformer, where the block size of diffusion, i.e., the size of autoregressive units, can be flexibly adjusted to interpolate between token-wise autoregression and full-sequence diffusion. ACDiT is easy to implement, as simple as creating a Skip-Causal Attention Mask (SCAM) during training. During inference, the process iterates between diffusion denoising and autoregressive decoding that can make full use of KV-Cache. We verify the effectiveness of ACDiT on image and video generation tasks. We also demonstrate that benefitted from autoregressive modeling, ACDiT can be seamlessly used in visual understanding tasks despite being trained on the diffusion objective. The analysis of the trade-off between autoregressive modeling and diffusion demonstrates the potential of ACDiT to be used in long-horizon visual generation tasks. These strengths make it promising as the backbone of future unified models.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
ACDiT: Interpolating Autoregressive Conditional Modeling and Diffusion Transformer | TensorX