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

Scalable Image Tokenization with Index Backpropagation Quantization

About

Existing vector quantization (VQ) methods struggle with scalability, largely attributed to the instability of the codebook that undergoes partial updates during training. The codebook is prone to collapse as utilization decreases, due to the progressively widening distribution gap between non-activated codes and visual features. To solve the problem, we propose Index Backpropagation Quantization (IBQ), a new VQ method for the joint optimization of all codebook embeddings and the visual encoder. Applying a straight-through estimator on the one-hot categorical distribution between the encoded feature and codebook, all codes are differentiable and maintain a consistent latent space with the visual encoder. IBQ enables scalable training of visual tokenizers and, for the first time, achieves a large-scale codebook ($2^{18}$) with high dimension ($256$) and high utilization. Experiments on the standard ImageNet benchmark demonstrate the scalability and superiority of IBQ, achieving competitive results on reconstruction and the application of autoregressive visual generation. The code and models are available at https://github.com/TencentARC/SEED-Voken.

Fengyuan Shi, Zhuoyan Luo, Yixiao Ge, Yujiu Yang, Ying Shan, Limin Wang• 2024

Related benchmarks

TaskDatasetResultRank
Class-conditional Image GenerationImageNet 256x256
Inception Score (IS)286.7
815
Image ReconstructionImageNet 256x256
rFID1.37
150
Image ReconstructionImageNet1K (val)
FID1
98
Image ReconstructionImageNet (val)
rFID1
95
Class-conditional Image GenerationImageNet class-conditional 256x256 (test val)
FID2.05
81
Image ReconstructionImageNet-1k 256 x 256 (val)
rFID1.37
77
Image ReconstructionImageNet 50k (val)
rFID1
44
Class-conditional Image GenerationImageNet 256x256 2012 (val)
FID2.88
38
Image ReconstructionMS-COCO 2017 (val)
rFID6.79
20
Image ReconstructionImageNet 256x256 2012 (val)
rFID1.37
20
Showing 10 of 17 rows

Other info

Code

Follow for update