Vector Quantized Diffusion Model for Text-to-Image Synthesis
Shuyang Gu, Dong Chen, Jianmin Bao, Fang Wen, Bo Zhang, Dongdong Chen, Lu Yuan, Baining Guo
Abstract
We present the vector quantized diffusion (VQ-Diffusion) model for text-to-image generation. This method is based on a vector quantized variational autoencoder (VQ-VAE) whose latent space is modeled by a conditional variant of the recently developed Denoising Diffusion Probabilistic Model (DDPM). We find that this latent-space method is well-suited for text-to-image generation tasks because it not only eliminates the unidirectional bias with existing methods but also allows us to incorporate a mask-and-replace diffusion strategy to avoid the accumulation of errors, which is a serious problem with existing methods. Our experiments show that the VQ-Diffusion produces significantly better text-to-image generation results when compared with conventional autoregressive (AR) models with similar numbers of parameters. Compared with previous GAN-based text-to-image methods, our VQ-Diffusion can handle more complex scenes and improve the synthesized image quality by a large margin. Finally, we show that the image generation computation in our method can be made highly efficient by reparameterization. With traditional AR methods, the text-to-image generation time increases linearly with the output image resolution and hence is quite time consuming even for normal size images. The VQ-Diffusion allows us to achieve a better trade-off between quality and speed. Our experiments indicate that the VQ-Diffusion model with the reparameterization is fifteen times faster than traditional AR methods while achieving a better image quality. The code and models are available at https://github.com/cientgu/VQ-Diffusion.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
404 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models cites Zero-Shot Text-to-Image Generation
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models cites Denoising Diffusion Probabilistic Models
- Scalable Diffusion Models with Transformers cites GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
- Scalable Diffusion Models with Transformers cites Diffusion Models Beat GANs on Image Synthesis
- Scalable Diffusion Models with Transformers cites Zero-Shot Text-to-Image Generation
- Scalable Diffusion Models with Transformers cites Language Models are Few-Shot Learners
- Scalable Diffusion Models with Transformers cites Learning Transferable Visual Models From Natural Language Supervision
- Scalable Diffusion Models with Transformers cites Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites Zero-Shot Text-to-Image Generation
- Diffusion Models Beat GANs on Image Synthesis cites Language Models are Few-Shot Learners
- Diffusion Models Beat GANs on Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
- Zero-Shot Text-to-Image Generation cites Learning Transferable Visual Models From Natural Language Supervision
- MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editing cites GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
- MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editing cites Diffusion Models Beat GANs on Image Synthesis
- MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editing cites Zero-Shot Text-to-Image Generation
- MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editing cites Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation
- MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editing cites Learning Transferable Visual Models From Natural Language Supervision
- MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editing cites Denoising Diffusion Probabilistic Models
- AnimateDiff: Animate Your Personalized Text-to-Image Diffusion Models without Specific Tuning cites GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
- AnimateDiff: Animate Your Personalized Text-to-Image Diffusion Models without Specific Tuning cites Diffusion Models Beat GANs on Image Synthesis
- AnimateDiff: Animate Your Personalized Text-to-Image Diffusion Models without Specific Tuning cites Zero-Shot Text-to-Image Generation
- AnimateDiff: Animate Your Personalized Text-to-Image Diffusion Models without Specific Tuning cites Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation
- AnimateDiff: Animate Your Personalized Text-to-Image Diffusion Models without Specific Tuning cites Learning Transferable Visual Models From Natural Language Supervision
- AnimateDiff: Animate Your Personalized Text-to-Image Diffusion Models without Specific Tuning cites Denoising Diffusion Probabilistic Models
- Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation cites GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
- Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation cites Zero-Shot Text-to-Image Generation
- Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation cites Learning Transferable Visual Models From Natural Language Supervision
- Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation cites Denoising Diffusion Probabilistic Models
- Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
Cited by top-tier papers404
- Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 citations
- GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion ModelsAlexander Quinn Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam et al.ICML 2022 · 4,691 citations
- AnimateDiff: Animate Your Personalized Text-to-Image Diffusion Models without Specific TuningYuwei Guo, Ceyuan Yang, Anyi Rao, Zhengyang Liang et al.ICLR 2024 · 1,493 citations
- Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video GenerationJay Zhangjie Wu, Yixiao Ge, Xintao Wang, Stan Weixian Lei et al.ICCV 2023 · 1,113 citations
- MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and EditingMingdeng Cao, Xintao Wang, Zhongang Qi, Ying Shan et al.ICCV 2023 · 770 citations
Builds on18
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray et al.ICML 2021 · 6,356 citations
Related papers
- Global Context with Discrete Diffusion in Vector Quantised Modelling for Image GenerationMinghui Hu, Yujie Wang, Tat-Jen Cham, Jianfei Yang et al.CVPR 2022
- PQGAN: Product-Quantised Image Representation for High-Quality Image SynthesisDenis Zavadski, Nikita Philip Tatsch, Carsten RotherICLR 2026
- Efficient Generative Modeling with Residual Vector Quantization-Based TokensJaehyeon Kim, Taehong Moon, Keon Lee, Jaewoong ChoICML 2025
- Autoregressive Image Generation without Vector QuantizationTianhong Li, Yonglong Tian, He Li, Mingyang Deng et al.NeurIPS 2024 · 758 citations
- Structured Denoising Diffusion Models in Discrete State-SpacesJacob Austin, Daniel D. Johnson, Jonathan Ho, Daniel Tarlow et al.NeurIPS 2021 · 2,256 citations
