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

基于索引反向传播量化的可扩展图像分词

Scalable Image Tokenization with Index Backpropagation Quantization

Nanjing University(南京大学);Tsinghua University(清华大学);ARC Lab, Tencent PCG(腾讯平台与内容事业群ARC实验室)

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

AI总结:

本文提出索引反向传播量化(IBQ),通过直通估计器联合优化所有码本嵌入与视觉编码器,解决VQ码本坍缩问题,首次实现大规模高维高利用率码本,并在ImageNet上验证了其在重建和自回归生成中的可扩展性与优越性。

摘要:

现有向量量化(VQ)方法在可扩展性方面存在困难,主要归因于码本在训练过程中经历部分更新而导致的不稳定性。随着未激活码与视觉特征之间的分布差距逐渐扩大,码本利用率下降,容易发生坍缩。为解决该问题,我们提出索引反向传播量化(IBQ),这是一种新的VQ方法,用于对所有码本嵌入和视觉编码器进行联合优化。通过在编码特征与码本之间的独热类别分布上应用直通估计器,所有码都可微,并与视觉编码器保持一致的潜在空间。IBQ使视觉分词器能够进行可扩展训练,并首次实现了具有高维度(256)和高利用率的大规模码本($2^{18}$)。在标准ImageNet基准上的实验证明了IBQ的可扩展性和优越性,在重建和自回归视觉生成应用中取得了有竞争力的结果。代码和模型可在 https://github.com/TencentARC/SEED-Voken 获取。

英文摘要:

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.

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

↑