ACDiT: Interpolating Autoregressive Conditional Modeling and Diffusion Transformer

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Hu, Jinyi, Hu, Shengding, Song, Yuxuan, Huang, Yufei, Wang, Mingxuan, Zhou, Hao, Liu, Zhiyuan, Ma, Wei-Ying, Sun, Maosong
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908794775142400
author Hu, Jinyi
Hu, Shengding
Song, Yuxuan
Huang, Yufei
Wang, Mingxuan
Zhou, Hao
Liu, Zhiyuan
Ma, Wei-Ying
Sun, Maosong
author_facet Hu, Jinyi
Hu, Shengding
Song, Yuxuan
Huang, Yufei
Wang, Mingxuan
Zhou, Hao
Liu, Zhiyuan
Ma, Wei-Ying
Sun, Maosong
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2412_07720
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ACDiT: Interpolating Autoregressive Conditional Modeling and Diffusion Transformer
Hu, Jinyi
Hu, Shengding
Song, Yuxuan
Huang, Yufei
Wang, Mingxuan
Zhou, Hao
Liu, Zhiyuan
Ma, Wei-Ying
Sun, Maosong
Computer Vision and Pattern Recognition
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.
title ACDiT: Interpolating Autoregressive Conditional Modeling and Diffusion Transformer
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2412.07720