arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.05796cs.CVcs.AIcs.LG
收藏

面向生成的语言引导图像分词

Language-Guided Image Tokenization for Generation

Google DeepMind(谷歌DeepMind);MIT CSAIL(麻省理工学院计算机科学与人工智能实验室)

Kaiwen Zha, Lijun Yu, Alireza Fathi, David A. Ross, Cordelia Schmid, Dina Katabi, Xiuye Gu

AI总结:

本文提出文本条件图像分词方法 TexTok,利用语言提供高层语义以提升压缩率与重建质量,在 ImageNet 基准上显著改善重建和生成 FID,并实现 93.5 倍推理加速。

摘要:

图像分词是将原始图像像素转换为紧凑低维潜在表示的过程,已被证明对可扩展且高效的图像生成至关重要。然而,主流图像分词方法的压缩率通常有限,使得高分辨率图像生成的计算成本高昂。为应对这一挑战,我们提出利用语言来实现高效图像分词,并将该方法命名为文本条件图像分词(TexTok)。TexTok 是一个简单而有效的分词框架,利用语言提供紧凑的高层语义表示。通过以描述性文本标注为条件进行分词,TexTok 简化了语义学习,使更多学习容量和分词空间能够被分配用于捕捉细粒度视觉细节,从而提升重建质量并提高压缩率。与不使用文本条件的传统分词器相比,在不同分词数量下,TexTok 在 ImageNet-256 和 ImageNet-512 基准上分别实现了 29.2% 和 48.1% 的平均重建 FID 改进。这些分词改进一致地转化为生成 FID 上 16.3% 和 34.3% 的平均改进。仅通过将 Diffusion Transformer(DiT)中的分词器替换为 TexTok,我们的系统即可在 ImageNet-512 上仅使用 32 个分词时实现 93.5 倍的推理加速,同时仍优于原始 DiT。TexTok 配合普通的 DiT 生成器在 ImageNet-256 和 ImageNet-512 上分别取得了 1.46 和 1.62 的最先进 FID 分数。此外,我们展示了 TexTok 在文本到图像生成任务上的优越性,有效利用了分词中现成的文本标注。项目主页位于:https://kaiwenzha.github.io/textok/。

英文摘要:

Image tokenization, the process of transforming raw image pixels into a compact low-dimensional latent representation, has proven crucial for scalable and efficient image generation. However, mainstream image tokenization methods generally have limited compression rates, making high-resolution image generation computationally expensive. To address this challenge, we propose to leverage language for efficient image tokenization, and we call our method Text-Conditioned Image Tokenization (TexTok). TexTok is a simple yet effective tokenization framework that leverages language to provide a compact, high-level semantic representation. By conditioning the tokenization process on descriptive text captions, TexTok simplifies semantic learning, allowing more learning capacity and token space to be allocated to capture fine-grained visual details, leading to enhanced reconstruction quality and higher compression rates. Compared to the conventional tokenizer without text conditioning, TexTok achieves average reconstruction FID improvements of 29.2% and 48.1% on ImageNet-256 and -512 benchmarks respectively, across varying numbers of tokens. These tokenization improvements consistently translate to 16.3% and 34.3% average improvements in generation FID. By simply replacing the tokenizer in Diffusion Transformer (DiT) with TexTok, our system can achieve a 93.5x inference speedup while still outperforming the original DiT using only 32 tokens on ImageNet-512. TexTok with a vanilla DiT generator achieves state-of-the-art FID scores of 1.46 and 1.62 on ImageNet-256 and -512 respectively. Furthermore, we demonstrate TexTok's superiority on the text-to-image generation task, effectively utilizing the off-the-shelf text captions in tokenization. Project page is at: https://kaiwenzha.github.io/textok/.

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

↑