ImageFolder:基于折叠token的自回归图像生成
ImageFolder: Autoregressive Image Generation with Folded Tokens
AI总结:
本文针对图像生成中token长度在重建与生成质量间的权衡问题,提出ImageFolder语义tokenizer,通过折叠空间对齐token及双分支乘积量化提升生成效率与质量,实验验证其生成质量更优且token长度更短。
摘要:
图像tokenizer对于扩散模型(DMs)和自回归(AR)模型等视觉生成模型至关重要,因为它们构建了用于建模的潜在表示。增加token长度是提高图像重建质量的常用方法。然而,更长token长度的tokenizer并不一定能获得更好的生成质量。在token长度方面,重建质量和生成质量之间存在权衡。本文研究了token长度对图像重建和生成的影响,并为这种权衡提供了一种灵活的解决方案。我们提出了ImageFolder,这是一种语义tokenizer,它提供空间对齐的图像token,在自回归建模过程中可以折叠,从而提高生成效率和质量。为了在不增加token长度的情况下增强表示能力,我们利用双分支乘积量化来捕捉图像的不同上下文。具体来说,在一个分支中引入语义正则化以鼓励紧凑的语义信息,而另一个分支则设计用于捕捉剩余的像素级细节。大量实验表明,使用ImageFolder tokenizer的图像生成质量更优,且token长度更短。
英文摘要:
Image tokenizers are crucial for visual generative models, e.g., diffusion models (DMs) and autoregressive (AR) models, as they construct the latent representation for modeling. Increasing token length is a common approach to improve the image reconstruction quality. However, tokenizers with longer token lengths are not guaranteed to achieve better generation quality. There exists a trade-off between reconstruction and generation quality regarding token length. In this paper, we investigate the impact of token length on both image reconstruction and generation and provide a flexible solution to the tradeoff. We propose ImageFolder, a semantic tokenizer that provides spatially aligned image tokens that can be folded during autoregressive modeling to improve both generation efficiency and quality. To enhance the representative capability without increasing token length, we leverage dual-branch product quantization to capture different contexts of images. Specifically, semantic regularization is introduced in one branch to encourage compacted semantic information while another branch is designed to capture the remaining pixel-level details. Extensive experiments demonstrate the superior quality of image generation and shorter token length with ImageFolder tokenizer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。