2025-03-21 · 专家 · 机器学习 · 计算机视觉

Tokenize Image as a Set

本文提出了一种基于集合的图像生成新范式,通过集合标记和分布建模,实现了对图像的动态压缩和语义感知生成。

更新于 2025-03-21。作者:Zigang Geng、Mengde Xu、Han Hu、Shuyang Gu。

中文摘要

本文提出了一种通过基于集合的标记化和分布建模来实现图像生成的全新范式。与将图像序列化为具有均匀压缩比固定位置潜在码的常规方法不同,我们引入了一种无序标记集表示方法,根据区域语义复杂性动态分配编码容量。这种TokenSet增强了全局上下文聚合,并提高了对局部扰动的鲁棒性。为了解决建模离散集合的关键挑战,我们设计了一种双变换机制,可以将集合双射转换为具有求和约束的固定长度整数序列。此外,我们提出了固定求和离散扩散——第一个同时处理离散值、固定序列长度和求和不变性的框架,从而实现了有效的集合分布建模。实验表明,我们的方法在语义感知表示和生成质量方面具有优越性。我们的创新,包括新的表示和建模策略,将视觉生成推进到了超越传统序列标记范式的水平。我们的代码和模型可在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.

解读

一句话总结

本文提出了一种基于集合的图像生成新范式,通过集合标记和分布建模,实现了对图像的动态压缩和语义感知生成。

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

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

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

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

来源

机器可读索引:llms.txt