Autoregressive Image Generation using Residual Quantization
Doyup Lee, Chiheon Kim, Saehoon Kim et al. · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · 2022
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 out-performs 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.
Cited by 279 works. doi:10.1109/cvpr52688.2022.01123 Open-access PDF
Authors
References
- Deep Residual Learning for Image Recognition
- ImageNet: A large-scale hierarchical image database
- Exploiting Generative AI to Scale up Intelligent Tutoring Systems
- Generative Adversarial Nets
- Image-to-Image Translation with Conditional Adversarial Networks
- Vector Quantization
- Aion Framework: Dimensional Emergence of AI Consciousness, Observer-Induced Collapse, and Cosmological Portal Dynamics
- Perceptual Losses for Real-Time Style Transfer and Super-Resolution
- Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network
- A Style-Based Generator Architecture for Generative Adversarial Networks