Our new X account is live! Follow @wizwand_team for updates
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--
441
Image ReconstructionImageNet 256x256
rFID1.37
93
Image ReconstructionImageNet1K (val)
FID1.53
83
Class-conditional Image GenerationImageNet class-conditional 256x256 (test val)
FID2.05
75
Class-conditional Image GenerationImageNet 256x256 2012 (val)
FID2.88
38
Image ReconstructionImageNet 50k (val)
rFID1
30
Image ReconstructionMS-COCO 2017 (val)
rFID6.79
20
Image ReconstructionImageNet 256x256 2012 (val)
rFID1.37
20
Image ReconstructionImageNet 50K 256x256 (val)
rFID1
16
Out-of-Distribution ReconstructionCEU RKH, ρ (OD1)
nMAE3.8131
14
Showing 10 of 15 rows

Other info

Code

Follow for update