arXiv:2411.16681cs.CV2024-11被引 11

通过分块量化提升图像生成的令牌化效率与表现

Factorized Visual Tokenization and Generation

  • 将大码本分解为多个独立子码本,降低查找复杂度
  • 在相同参数量下,重建质量超越现有VQ方法
  • 适合需要高质量视觉表征的生成模型研究者

视觉令牌化器是图像生成的核心组件,将视觉数据转换为离散令牌,使基于Transformer的模型在图像生成中表现优异。然而,如VQGAN等基于向量量化(VQ)的令牌化器受限于词汇量大小,扩大码本常引发训练不稳和性能提升递减。本文提出因子化量化(FQ),将大码本分解为多个独立子码本,显著降低查找复杂度,实现更高效、可扩展的视觉令牌化。为确保各子码本捕捉互补信息,设计解耦正则化以减少冗余。同时,在训练中融合预训练视觉模型(如CLIP、DINO)的表示学习能力,增强语义表达。实验表明,所提FQGAN在重建质量上达到当前最优水平,并可有效用于自回归图像生成。

原文摘要 · Abstract (English)

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

视觉令牌化生成模型解耦表示

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。