TensorX
返回文献探索

Paper · arXiv 2411.16681

Factorized Visual Tokenization and Generation

Zechen Bai, Jianxiong Gao, Ziteng Gao, Pichao Wang, Zheng Zhang, Tong He, Mike Zheng Shou

18 upvotesNovember 25, 2024arXiv 预印本
AI 摘要

Factorized Quantization (FQ) improves image generation by decomposing large codebooks into smaller, diverse sub-codebooks, enhancing scalability and reconstruction quality through disentanglement regularization and semantic representation learning.

Visual tokenizerstransformer-based modelsVQGANcodebooklookup complexityfactorizationdisentanglement regularizationrepresentation learningCLIPDINOFQGANauto-regressive image generation

Abstract

Visual tokenizers are fundamental to image generation. They convert visual data into discrete tokens, enabling transformer-based models to excel at image generation. Despite their success, VQ-based tokenizers like VQGAN face significant limitations due to constrained vocabulary sizes. Simply expanding the codebook often leads to training instability and diminishing performance gains, making scalability a critical challenge. In this work, we introduce Factorized Quantization (FQ), a novel approach that revitalizes VQ-based tokenizers by decomposing a large codebook into multiple independent sub-codebooks. This factorization reduces the lookup complexity of large codebooks, enabling more efficient and scalable visual tokenization. To ensure each sub-codebook captures distinct and complementary information, we propose a disentanglement regularization that explicitly reduces redundancy, promoting diversity across the sub-codebooks. Furthermore, we integrate representation learning into the training process, leveraging pretrained vision models like CLIP and DINO to infuse semantic richness into the learned representations. This design ensures our tokenizer captures diverse semantic levels, leading to more expressive and disentangled representations. Experiments show that the proposed FQGAN model substantially improves the reconstruction quality of visual tokenizers, achieving state-of-the-art performance. We further demonstrate that this tokenizer can be effectively adapted into auto-regressive image generation. https://showlab.github.io/FQGAN

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Factorized Visual Tokenization and Generation | TensorX