Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

ImageFolder: Autoregressive Image Generation with Folded Tokens

About

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.

Xiang Li, Kai Qiu, Hao Chen, Jason Kuen, Jiuxiang Gu, Bhiksha Raj, Zhe Lin• 2024

Related benchmarks

TaskDatasetResultRank
Class-conditional Image GenerationImageNet 256x256--
815
Class-conditional Image GenerationImageNet 256x256 (train)
IS295
345
Image ReconstructionImageNet 256x256
rFID0.8
150
Image GenerationImageNet-1K 256x256 (val)
Inception Score295
113
Image ReconstructionImageNet1K (val)
FID0.8
98
Image GenerationImageNet
FID2.6
68
Conditional Image GenerationImageNet 256x256 (val)
Inception Score295
45
Class-conditional Image GenerationImageNet 256x256 2012 (val)
FID2.6
38
Image ReconstructionImageNet 256x256 (val)--
36
Image GenerationImageNet 256x256 (test val)
FID2.6
35
Showing 10 of 11 rows

Other info

Follow for update