arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.16425cs.CV
收藏

将图像令牌化为集合(Tokenize Image as a Set)

Tokenize Image as a Set

University of Science and Technology of China(中国科学技术大学);Tencent Hunyuan Research(腾讯混元研究院)

Zigang Geng, Mengde Xu, Han Hu, Shuyang Gu

AI总结:

该研究提出基于集合令牌化的图像生成新范式,用无序TokenSet动态分配编码容量,设计双变换机制与定和离散扩散框架实现集合分布建模,提升了语义感知表示与生成质量,突破了传统序列令牌范式局限。

摘要:

本文提出了一种全新的图像生成范式,该范式基于集合式令牌化与分布建模。与传统方法将图像序列化为位置固定、压缩比统一的潜变量编码不同,我们引入了一种无序令牌集合表示,可根据区域语义复杂度动态分配编码容量。这种TokenSet(令牌集合)增强了全局上下文聚合能力,提升了对局部扰动的鲁棒性。为解决离散集合建模这一关键挑战,我们设计了一种双变换机制,可将集合双射地转换为带有求和约束的定长整数序列。此外,我们提出了Fixed-Sum Discrete Diffusion(定和离散扩散)——首个同时处理离散值、固定序列长度与求和不变性的框架——实现了有效的集合分布建模。实验表明,我们的方法在语义感知表示与生成质量上更具优势。我们的创新涵盖了新型表示与建模策略,推动视觉生成超越了传统的序列令牌范式。我们的代码与模型已在https://github.com/Gengzigang/TokenSet 公开。

英文摘要:

This paper proposes a fundamentally new paradigm for image generation through set-based tokenization and distribution modeling. Unlike conventional methods that serialize images into fixed-position latent codes with a uniform compression ratio, we introduce an unordered token set representation to dynamically allocate coding capacity based on regional semantic complexity. This TokenSet enhances global context aggregation and improves robustness against local perturbations. To address the critical challenge of modeling discrete sets, we devise a dual transformation mechanism that bijectively converts sets into fixed-length integer sequences with summation constraints. Further, we propose Fixed-Sum Discrete Diffusion--the first framework to simultaneously handle discrete values, fixed sequence length, and summation invariance--enabling effective set distribution modeling. Experiments demonstrate our method's superiority in semantic-aware representation and generation quality. Our innovations, spanning novel representation and modeling strategies, advance visual generation beyond traditional sequential token paradigms. Our code and models are publicly available at https://github.com/Gengzigang/TokenSet.

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

↑