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

Spectral Image Tokenizer(光谱图像分词器)

Spectral Image Tokenizer

Google Research(谷歌研究院)

Carlos Esteves, Mohammed Suhail, Ameesh Makadia

AI总结:

本研究提出Spectral Image Tokenizer,对离散小波变换得到的图像频谱分词以粗到细表示图像,具备多分辨率适配、改善预测条件等优势,可用于多尺度生成、文本引导上采样与编辑等任务。

摘要:

图像分词器将图像映射为离散标记序列,是基于自回归Transformer的图像生成的关键组件。这些标记通常与输入图像的空间位置相关,按光栅扫描顺序排列,这对自回归建模而言并不理想。本文提出对经离散小波变换(DWT)得到的图像频谱进行分词,使标记序列以从粗到细的方式表示图像。我们的分词器具备多项优势:1)利用了自然图像在高频下更易压缩的特性;2)无需重新训练即可处理并重建不同分辨率的图像;3)改善了下一标记预测的条件——它以完整图像的粗粒度重建为条件,而非图像的逐行部分重建;4)支持部分解码,即前几个生成的标记可重建图像的粗版本;5)使自回归模型可用于图像上采样。我们评估了该分词器的重建指标,以及多尺度图像生成、文本引导的图像上采样和编辑任务的表现。

英文摘要:

Image tokenizers map images to sequences of discrete tokens, and are a crucial component of autoregressive transformer-based image generation. The tokens are typically associated with spatial locations in the input image, arranged in raster scan order, which is not ideal for autoregressive modeling. In this paper, we propose to tokenize the image spectrum instead, obtained from a discrete wavelet transform (DWT), such that the sequence of tokens represents the image in a coarse-to-fine fashion. Our tokenizer brings several advantages: 1) it leverages that natural images are more compressible at high frequencies, 2) it can take and reconstruct images of different resolutions without retraining, 3) it improves the conditioning for next-token prediction -- instead of conditioning on a partial line-by-line reconstruction of the image, it takes a coarse reconstruction of the full image, 4) it enables partial decoding where the first few generated tokens can reconstruct a coarse version of the image, 5) it enables autoregressive models to be used for image upsampling. We evaluate the tokenizer reconstruction metrics as well as multiscale image generation, text-guided image upsampling and editing.

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

↑