2025-02-28 · 专家 · 机器学习 · 计算机视觉 · 自然语言处理

UniTok: A Unified Tokenizer for Visual Generation and Understanding

提出了一种名为UniTok的统一视觉分词器,它能够同时支持视觉生成和理解的细粒度细节编码,并取得了优于特定领域分词器的性能。

更新于 2025-02-28。作者:Chuofan Ma、Yi Jiang、Junfeng Wu、Jihan Yang、Xin Yu、Zehuan Yuan、Bingyue Peng、Xiaojuan Qi。

中文摘要

视觉生成与理解之间的表示差异,在将这些能力整合到单一框架中时产生了关键的差距。为了弥合这一差距,我们引入了UniTok,一种离散视觉标记器,它在编码生成所需精细细节的同时,也捕捉到理解所需的高级语义。尽管近期的研究表明,这些目标可能导致训练过程中的损失冲突,但我们揭示出其根本瓶颈源于离散标记的有限表示能力。我们通过引入多码本量化来解决这一问题,该方法通过使用多个独立的子码本来分割向量量化,以扩展潜在特征空间,同时避免由过大的码本引起的训练不稳定。我们的方法显著提高了统一离散标记器的上限,以匹配甚至超越特定领域的连续标记器。例如,UniTok在ImageNet上实现了令人瞩目的0.38的rFID(相对于SD-VAE的0.87)和78.6%的无监督准确性(相对于CLIP的76.2%)。我们的代码可在https://github.com/FoundationVision/UniTok上获取。

英文摘要

The representation disparity between visual generation and understanding imposes a critical gap in integrating these capabilities into a single framework. To bridge this gap, we introduce UniTok, a discrete visual tokenizer that encodes fine-grained details for generation while also capturing high-level semantics for understanding. Despite recent studies have shown that these objectives could induce loss conflicts in training, we reveal that the underlying bottleneck stems from limited representational capacity of discrete tokens. We address this by introducing multi-codebook quantization, which divides vector quantization with several independent sub-codebooks to expand the latent feature space, while avoiding training instability caused by overlarge codebooks. Our method significantly raises the upper limit of unified discrete tokenizers to match or even surpass domain-specific continuous tokenizers. For instance, UniTok achieves a remarkable rFID of 0.38 (versus 0.87 for SD-VAE) and a zero-shot accuracy of 78.6% (versus 76.2% for CLIP) on ImageNet. Our code is available at https://github.com/FoundationVision/UniTok.

解读

一句话总结

提出了一种名为UniTok的统一视觉分词器,它能够同时支持视觉生成和理解的细粒度细节编码,并取得了优于特定领域分词器的性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt