arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.01762cs.CV
收藏

XQ-GAN:面向自回归生成的开源图像分词框架

XQ-GAN: An Open-source Image Tokenization Framework for Autoregressive Generation

Carnegie Mellon University(卡内基梅隆大学);Adobe Research(奥多比研究院);William & Mary(威廉玛丽学院)

Xiang Li, Kai Qiu, Hao Chen, Jason Kuen, Jiuxiang Gu, Jindong Wang, Zhe Lin, Bhiksha Raj

AI总结:

本文提出开源图像分词框架 XQ-GAN,集成多种先进量化方法,在 ImageNet 256×256 上取得 0.64 rFID,并显著提升下游 VAR 生成性能。

摘要:

图像分词器在决定后续生成模型的性能方面起着关键作用。自 VQ-GAN 提出以来,离散图像分词已经取得了显著进展。架构、量化技术和训练方案的改进显著提升了图像重建和下游生成质量。本文提出 XQ-GAN,这是一个同时面向图像重建与生成任务的图像分词框架。我们的框架在高度灵活且可定制的训练环境中集成了多种最先进的量化技术,包括向量量化(VQ)、残差量化(RQ)、多尺度残差量化(MSVQ)、乘积量化(PQ)、无查找量化(LFQ)和二值球面量化(BSQ)。在标准 ImageNet 256×256 基准上,我们发布的模型取得了 0.64 的 rFID,显著优于 MAGVIT-v2(0.9 rFID)和 VAR(0.9 rFID)。此外,我们证明使用 XQ-GAN 作为分词器可在改善 rFID 的同时提升 gFID 指标。例如,在相同 VAR 架构下,XQ-GAN+VAR 取得 2.6 的 gFID,以明显优势优于 VAR 的 3.3 gFID。为支持进一步研究,我们向社区提供不同图像分词器的预训练权重,以便直接在其上训练后续生成模型,或针对专门任务进行微调。

英文摘要:

Image tokenizers play a critical role in shaping the performance of subsequent generative models. Since the introduction of VQ-GAN, discrete image tokenization has undergone remarkable advancements. Improvements in architecture, quantization techniques, and training recipes have significantly enhanced both image reconstruction and the downstream generation quality. In this paper, we present XQ-GAN, an image tokenization framework designed for both image reconstruction and generation tasks. Our framework integrates state-of-the-art quantization techniques, including vector quantization (VQ), residual quantization (RQ), multi-scale residual quantization (MSVQ), product quantization (PQ), lookup-free quantization (LFQ), and binary spherical quantization (BSQ), within a highly flexible and customizable training environment. On the standard ImageNet 256x256 benchmark, our released model achieves an rFID of 0.64, significantly surpassing MAGVIT-v2 (0.9 rFID) and VAR (0.9 rFID). Furthermore, we demonstrate that using XQ-GAN as a tokenizer improves gFID metrics alongside rFID. For instance, with the same VAR architecture, XQ-GAN+VAR achieves a gFID of 2.6, outperforming VAR's 3.3 gFID by a notable margin. To support further research, we provide pre-trained weights of different image tokenizers for the community to directly train the subsequent generative models on it or fine-tune for specialized tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑