Scaling the Codebook Size of VQ-GAN to 100, 000 with a Utilization Rate of 99%
Abstract
In the realm of image quantization exemplified by VQGAN, the process encodes images into discrete tokens drawn from a codebook with a predefined size. Recent advancements, particularly with LLAMA 3, reveal that enlarging the codebook significantly enhances model performance. However, VQGAN and its derivatives, such as VQGAN-FC (Factorized Codes) and VQGAN-EMA, continue to grapple with challenges related to expanding the codebook size and enhancing codebook utilization. For instance, VQGAN-FC is restricted to learning a codebook with a maximum size of 16,384, maintaining a typically low utilization rate of less than 12% on ImageNet. In this work, we propose a novel image quantization model named VQGAN-LC (Large Codebook), which extends the codebook size to 100,000, achieving an utilization rate exceeding 99%. Unlike previous methods that optimize each codebook entry, our approach begins with a codebook initialized with 100,000 features extracted by a pre-trained vision encoder. Optimization then focuses on training a projector that aligns the entire codebook with the feature distributions of the encoder in VQGAN-LC. We demonstrate the superior performance of our model over its counterparts across a variety of tasks, including image reconstruction, image classification, auto-regressive image generation using GPT, and image creation with diffusion- and flow-based generative models. Code and models are available at https://github.com/zh460045050/VQGAN-LC.
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.
46 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
- SemHiTok: A Unified Image Tokenizer via Semantic-Guided Hierarchical Codebook for Multimodal Understanding and Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
- SemHiTok: A Unified Image Tokenizer via Semantic-Guided Hierarchical Codebook for Multimodal Understanding and Generation cites UniTok: a Unified Tokenizer for Visual Generation and Understanding
- SemHiTok: A Unified Image Tokenizer via Semantic-Guided Hierarchical Codebook for Multimodal Understanding and Generation cites Learning Transferable Visual Models From Natural Language Supervision
- Scalable Diffusion Models with Transformers cites High-Resolution Image Synthesis with Latent Diffusion Models
- 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
- Watermarking Autoregressive Image Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
- VQRAE: Representation Quantization Autoencoders for Multimodal Understanding, Generation and Reconstruction cites SemHiTok: A Unified Image Tokenizer via Semantic-Guided Hierarchical Codebook for Multimodal Understanding and Generation
- VQRAE: Representation Quantization Autoencoders for Multimodal Understanding, Generation and Reconstruction cites High-Resolution Image Synthesis with Latent Diffusion Models
- VQRAE: Representation Quantization Autoencoders for Multimodal Understanding, Generation and Reconstruction cites Scalable Diffusion Models with Transformers
- VQRAE: Representation Quantization Autoencoders for Multimodal Understanding, Generation and Reconstruction cites UniTok: a Unified Tokenizer for Visual Generation and Understanding
- VQRAE: Representation Quantization Autoencoders for Multimodal Understanding, Generation and Reconstruction cites Learning Transferable Visual Models From Natural Language Supervision
- UniTok: a Unified Tokenizer for Visual Generation and Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
- UniTok: a Unified Tokenizer for Visual Generation and Understanding cites Scalable Diffusion Models with Transformers
- UniTok: a Unified Tokenizer for Visual Generation and Understanding cites Learning Transferable Visual Models From Natural Language Supervision
- Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
- Vision Foundation Models as Effective Visual Tokenizers for Autoregressive Generation cites Scalable Diffusion Models with Transformers
- Vision Foundation Models as Effective Visual Tokenizers for Autoregressive Generation cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers46
- UniTok: a Unified Tokenizer for Visual Generation and UnderstandingChuofan Ma, Yi Jiang, Junfeng Wu, Jihan Yang et al.NeurIPS 2025 · 164 citations
- SemHiTok: A Unified Image Tokenizer via Semantic-Guided Hierarchical Codebook for Multimodal Understanding and GenerationZisheng Chen, Chunwei Wang, Runhui Huang, Hongbin Xu et al.ICLR 2026 · 24 citations
- Watermarking Autoregressive Image GenerationNikola Jovanovic, Ismail Labiad, Tomás Soucek, Martin T. Vechev et al.NeurIPS 2025 · 21 citations
- Vision Foundation Models as Effective Visual Tokenizers for Autoregressive GenerationAnlin Zheng, Xin Wen, Xuanyang Zhang, Chuofan Ma et al.NeurIPS 2025 · 21 citations
- VQRAE: Representation Quantization Autoencoders for Multimodal Understanding, Generation and ReconstructionSinan Du, Jiahao Guo, Bo Li, Shuhao Cui et al.CVPR 2026 · 11 citations
Builds on27
- 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
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 citations
- Structured Denoising Diffusion Models in Discrete State-SpacesJacob Austin, Daniel D. Johnson, Jonathan Ho, Daniel Tarlow et al.NeurIPS 2021 · 2,256 citations
Related papers
- PQGAN: Product-Quantised Image Representation for High-Quality Image SynthesisDenis Zavadski, Nikita Philip Tatsch, Carsten RotherICLR 2026
- Scalable Training for Vector-Quantized Networks with 100% Codebook UtilizationYifan Chang, Jie Qin, Limeng Qiao, Xiaofeng Wang et al.ICLR 2026 · 10 citations
- Scalable Image Tokenization with Index Backpropagation QuantizationFengyuan Shi, Zhuoyan Luo, Yixiao Ge, Yujiu Yang et al.ICCV 2025 · 7 citations
- Towards Improved Text-Aligned Codebook Learning: Multi-Hierarchical Codebook-Text Alignment with Long TextGuotao Liang, Baoquan Zhang, Zhiyuan Wen, Junteng Zhao et al.CVPR 2025
- LG-VQ: Language-Guided Codebook LearningGuotao Liang, Baoquan Zhang, Yaowei Wang, Yunming Ye et al.NeurIPS 2024 · 14 citations
