Parallelized Autoregressive Visual Generation

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Wang, Yuqing, Ren, Shuhuai, Lin, Zhijie, Han, Yujin, Guo, Haoyuan, Yang, Zhenheng, Zou, Difan, Feng, Jiashi, Liu, Xihui
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913774115487744
author Wang, Yuqing
Ren, Shuhuai
Lin, Zhijie
Han, Yujin
Guo, Haoyuan
Yang, Zhenheng
Zou, Difan
Feng, Jiashi
Liu, Xihui
author_facet Wang, Yuqing
Ren, Shuhuai
Lin, Zhijie
Han, Yujin
Guo, Haoyuan
Yang, Zhenheng
Zou, Difan
Feng, Jiashi
Liu, Xihui
contents Autoregressive models have emerged as a powerful approach for visual generation but suffer from slow inference speed due to their sequential token-by-token prediction process. In this paper, we propose a simple yet effective approach for parallelized autoregressive visual generation that improves generation efficiency while preserving the advantages of autoregressive modeling. Our key insight is that parallel generation depends on visual token dependencies-tokens with weak dependencies can be generated in parallel, while strongly dependent adjacent tokens are difficult to generate together, as their independent sampling may lead to inconsistencies. Based on this observation, we develop a parallel generation strategy that generates distant tokens with weak dependencies in parallel while maintaining sequential generation for strongly dependent local tokens. Our approach can be seamlessly integrated into standard autoregressive models without modifying the architecture or tokenizer. Experiments on ImageNet and UCF-101 demonstrate that our method achieves a 3.6x speedup with comparable quality and up to 9.5x speedup with minimal quality degradation across both image and video generation tasks. We hope this work will inspire future research in efficient visual generation and unified autoregressive modeling. Project page: https://yuqingwang1029.github.io/PAR-project.
format Preprint
id arxiv_https___arxiv_org_abs_2412_15119
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Parallelized Autoregressive Visual Generation
Wang, Yuqing
Ren, Shuhuai
Lin, Zhijie
Han, Yujin
Guo, Haoyuan
Yang, Zhenheng
Zou, Difan
Feng, Jiashi
Liu, Xihui
Computer Vision and Pattern Recognition
Autoregressive models have emerged as a powerful approach for visual generation but suffer from slow inference speed due to their sequential token-by-token prediction process. In this paper, we propose a simple yet effective approach for parallelized autoregressive visual generation that improves generation efficiency while preserving the advantages of autoregressive modeling. Our key insight is that parallel generation depends on visual token dependencies-tokens with weak dependencies can be generated in parallel, while strongly dependent adjacent tokens are difficult to generate together, as their independent sampling may lead to inconsistencies. Based on this observation, we develop a parallel generation strategy that generates distant tokens with weak dependencies in parallel while maintaining sequential generation for strongly dependent local tokens. Our approach can be seamlessly integrated into standard autoregressive models without modifying the architecture or tokenizer. Experiments on ImageNet and UCF-101 demonstrate that our method achieves a 3.6x speedup with comparable quality and up to 9.5x speedup with minimal quality degradation across both image and video generation tasks. We hope this work will inspire future research in efficient visual generation and unified autoregressive modeling. Project page: https://yuqingwang1029.github.io/PAR-project.
title Parallelized Autoregressive Visual Generation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2412.15119