MixTok:基于全局一维令牌与稀疏二维细化的自适应视觉令牌化

·

研究论文 · 2026/10/12

高效视觉标记化需要在表示紧凑性和保留细粒度图像内容之间取得平衡。传统基于网格的标记器在空间位置上均匀分配标记,尽管视觉复杂度不均匀,而紧凑的1D标记器聚合全局信息但可能难以保留局部细节。我们提出MixTok,一种混合视觉标记器,结合紧凑的1D全局表示和稀疏2D标记进行局部细化。内容自适应路由器根据细化优先级对候选位置进行排序,并在目标平均标记预算下确定每张图像的2D标记数量。在得分最高的位置,2D标记特征替换从1D表示恢复的空间特征,共享解码器从得到的混合特征重建图像。在ImageNet 256x256上,MixTok实现了极具竞争力的重建和生成性能,在每张图像平均约128和131个内容标记的预算下,rFID为1.195,gFID为1.95。

MixTok通过混合1D全局表示和稀疏2D细化,在保持紧凑性的同时提升局部细节保留,在ImageNet上取得了优异的性能,为视觉标记化提供了新思路。

Efficient visual tokenization requires balancing representation compactness with the preservation of fine-grained image content. Conventional grid-based tokenizers allocate tokens uniformly across spatial locations despite non-uniform visual complexity, whereas compact 1D tokenizers aggregate global information but can struggle to preserve local details. We introduce MixTok, a hybrid visual tokenizer that combines a compact 1D global representation with sparse 2D tokens for local refinement. A content-adaptive router ranks candidate locations by refinement priority and determines the number of 2D tokens for each image under a target average token budget. At the highest-scoring locations, 2D token features replace the spatial features recovered from the 1D representation, and a shared decoder reconstructs the image from the resulting mixed features. On ImageNet 256 x 256, MixTok achieves highly competitive reconstruction and generation performance, with an rFID of 1.195 and a gFID of 1.95 at respective average budgets of approximately 128 and 131 content tokens per image.

阅读原文

参与讨论