PrimiTok:面向视觉token化的自适应码字原语分配与组合方案
PrimiTok: Learning to Diversify and Allocate Primitives for Visual Tokenization
PrimiTok 是一种组合式视觉 tokenizer,通过自适应分配和加权组合学习到的码本原语来表示每个视觉 token。其 Diverse Quantitative Primitives(DQP)组件增强子码本质心多样性以减少冗余,Dynamic Primitive Allocator(DPA)则按 token 复杂度选择原语,并以嵌入量化误差监督选择数量。
arXiv:2611.29311v1 Announce Type: new Abstract: Unifying visual understanding and generation requires representations that preserve both semantic information and fine-grained image details. Continuous tokenizers trained primarily for semantic alignment may omit fine-grained reconstruction details, whereas discrete tokenizers face information loss from codebook quantization. Conventional multi-codebook designs assign every token the same number of codewords regardless of local content. We instead view codewords as reusable visual primitives whose allocation and composition adapt to each token. We introduce PrimiTok, a compositional visual tokenizer that represents each visual token through adaptive allocation and weighted composition of learned codebook primitives. PrimiTok integrates two complementary components: Diverse Quantitative Primitives (DQP), which encourages diversity among sub-codebook centroids to reduce redundancy, and a Dynamic Primitive Allocator (DPA), which selects primitives according to token complexity. Embedding quantization error supervises how many primitives are selected from each sub-codebook, and DPA aggregates them with input-dependent weights. Joint reconstruction and image--text contrastive learning encourage the resulting representations to retain visual fidelity and semantic alignment. Experiments demonstrate improved reconstruction and semantic alignment over SOTA baselines, with further evaluations on multimodal understanding and visual generation.
来源:arXiv (AI + Vision + Imaging) · arxiv.org