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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Class-conditional Image Generation | ImageNet 256x256 | Inception Score (IS)286.7 | 815 | |
| Image Reconstruction | ImageNet 256x256 | rFID1.37 | 150 | |
| Image Reconstruction | ImageNet1K (val) | FID1 | 98 | |
| Image Reconstruction | ImageNet (val) | rFID1 | 95 | |
| Class-conditional Image Generation | ImageNet class-conditional 256x256 (test val) | FID2.05 | 81 | |
| Image Reconstruction | ImageNet-1k 256 x 256 (val) | rFID1.37 | 77 | |
| Image Reconstruction | ImageNet 50k (val) | rFID1 | 44 | |
| Class-conditional Image Generation | ImageNet 256x256 2012 (val) | FID2.88 | 38 | |
| Image Reconstruction | MS-COCO 2017 (val) | rFID6.79 | 20 | |
| Image Reconstruction | ImageNet 256x256 2012 (val) | rFID1.37 | 20 |