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

图像理解有助于打造用于图像生成的优秀分词器

Image Understanding Makes for A Good Tokenizer for Image Generation

ByteDance(字节跳动)

Luting Wang, Yang Zhao, Zijian Zhang, Jiashi Feng, Si Liu, Bingyi Kang

AI总结:

本文提出利用图像理解编码器通过特征重建目标训练图像分词器,以提升图像生成性能,VQ-KD CLIP在ImageNet-1k上达到4.10 FID,并展示了将IU编码器直接转化为分词器的有效流程。

摘要:

现代图像生成(IG)模型已被证明能够捕获丰富的语义,这些语义对于图像理解(IU)任务很有价值。然而,IU模型提升IG性能的潜力仍未得到探索。我们使用基于分词的IG框架来解决这个问题,该框架依赖于有效的分词器将图像投影为分词序列。目前,像素重建(例如VQGAN)主导着图像分词器的训练目标。相比之下,我们的方法采用特征重建目标,即通过从预训练的IU编码器中蒸馏知识来训练分词器。全面的比较表明,具有强大IU能力的分词器在各种指标、数据集、任务和提议网络上都能实现更优的IG性能。值得注意的是,VQ-KD CLIP在ImageNet-1k(IN-1k)上达到了4.10的FID。可视化表明,VQ-KD的优越性部分归因于VQ-KD码本中丰富的语义。我们进一步引入了一个简单的流程,直接将IU编码器转化为分词器,展示了对IG任务的卓越有效性。这些发现可能激发对图像分词器研究的进一步探索,并激励社区重新评估IU与IG之间的关系。代码已发布在https://github.com/magic-research/vector_quantization。

英文摘要:

Abstract Modern image generation (IG) models have been shown to capture rich semantics valuable for image understanding (IU) tasks. However, the potential of IU models to improve IG performance remains uncharted. We address this issue using a token-based IG framework, which relies on effective tokenizers to project images into token sequences. Currently, pixel reconstruction (e.g., VQGAN) dominates the training objective for image tokenizers. In contrast, our approach adopts the feature reconstruction objective, where tokenizers are trained by distilling knowledge from pretrained IU encoders. Comprehensive comparisons indicate that tokenizers with strong IU capabilities achieve superior IG performance across a variety of metrics, datasets, tasks, and proposal networks. Notably, VQ-KD CLIP achieves $4.10$ FID on ImageNet-1k (IN-1k). Visualization suggests that the superiority of VQ-KD can be partly attributed to the rich semantics within the VQ-KD codebook. We further introduce a straightforward pipeline to directly transform IU encoders into tokenizers, demonstrating exceptional effectiveness for IG tasks. These discoveries may energize further exploration into image tokenizer research and inspire the community to reassess the relationship between IU and IG. The code is released at https://github.com/magic-research/vector_quantization.

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

↑