paper-with-me

홈 › Papers

Autoregressive Image Generation using Residual Quantization

2022-03-03 · CVPR 2022 1 · Doyup Lee, Chiheon Kim, Saehoon Kim, Minsu Cho, Wook-Shin Han

For autoregressive (AR) modeling of high-resolution images, vector quantization (VQ) represents an image as a sequence of discrete codes. A short sequence length is important for an AR model to reduce its computational costs to consider long-range interactions of codes. However, we postulate that previous VQ cannot shorten the code sequence and generate high-fidelity images together in terms of the rate-distortion trade-off. In this study, we propose the two-stage framework, which consists of Residual-Quantized VAE (RQ-VAE) and RQ-Transformer, to effectively generate high-resolution images. Given a fixed codebook size, RQ-VAE can precisely approximate a feature map of an image and represent the image as a stacked map of discrete codes. Then, RQ-Transformer learns to predict the quantized feature vector at the next position by predicting the next stack of codes. Thanks to the precise approximation of RQ-VAE, we can represent a 256$\times$256 image as 8$\times$8 resolution of the feature map, and RQ-Transformer can efficiently reduce the computational costs. Consequently, our framework outperforms the existing AR models on various benchmarks of unconditional and conditional image generation. Our approach also has a significantly faster sampling speed than previous AR models to generate high-quality images.

📄 PDF Abstract BibTeX arXiv:2203.01941

Code (4)

kakaobrain/rq-vae-transformer 공식 구현 pytorch
ai-forever/movqgan pytorch
archinetai/bitcodes-pytorch pytorch
lucidrains/magvit2-pytorch pytorch

Tasks

Conditional Image GenerationImage GenerationImage ReconstructionQuantizationText-to-Image Generation

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Quant VideoGen: Auto-Regressive Long Video Generation via 2-Bit KV-Cache Quantization

2026-02-03 · Haocheng Xi, Shuo Yang, Yilong Zhao, Muyang Li 외 arxiv

Despite rapid progress in autoregressive video diffusion, an emerging system algorithm bottleneck limits both deployability and generation capability: KV cache memory. In autoregressive video generation models, the KV ca…

Video Generation

XQ-GAN: An Open-source Image Tokenization Framework for Autoregressive Generation

2024-12-02 · Xiang Li, Kai Qiu, Hao Chen, Jason Kuen 외

Image tokenizers play a critical role in shaping the performance of subsequent generative models. Since the introduction of VQ-GAN, discrete image tokenization has undergone remarkable advancements. Improvements in archi…

Image ReconstructionQuantization

Modeling Music as a Time-Frequency Image: A 2D Tokenizer for Music Generation

2026-05-15 · Yuqing Cheng, Xingyu Ma, Guochen Yu, Xiaotao Gu arxiv

Autoregressive music generation depends strongly on the audio tokenizer. Existing high-fidelity codecs often use residual multi-codebook quantization, which preserves reconstruction quality but complicates language model…

Music Generation

MoSa: Motion Generation with Scalable Autoregressive Modeling

2025-11-03 · Mengyuan Liu, Sheng Yan, Yong Wang, Yingjie Li 외 arxiv

We introduce MoSa, a novel hierarchical motion generation framework for text-driven 3D human motion generation that enhances the Vector Quantization-guided Generative Transformers (VQ-GT) paradigm through a coarse-to-fin…

Not All Image Regions Matter: Masked Vector Quantization for Autoregressive Image Generation

2023-05-23 · CVPR 2023 1 · Mengqi Huang, Zhendong Mao, Quan Wang, Yongdong Zhang

Existing autoregressive models follow the two-stage generation paradigm that first learns a codebook in the latent space for image reconstruction and then completes the image generation autoregressively based on the lear…

AllImage GenerationImage ReconstructionQuantization