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

连接连续与离散 Token 以实现自回归视觉生成

Bridging Continuous and Discrete Tokens for Autoregressive Visual Generation

University of Hong Kong(香港大学);ByteDance Seed(字节跳动种子);École Polytechnique(高等理工学院);Peking University(北京大学)

Yuqing Wang, Zhijie Lin, Yao Teng, Yuanzhi Zhu, Shuhuai Ren, Jiashi Feng, Xihui Liu

AI总结:

本文提出 TokenBridge,利用训练后逐维度量化和轻量级自回归预测连接连续与离散 token,在保持细节表示能力的同时实现标准类别预测,并达到与连续方法相当的视觉生成质量。

摘要:

自回归视觉生成模型通常依赖 tokenizer 将图像压缩为可按顺序预测的 token。在 token 表示方面存在一个根本困境:离散 token 支持使用标准交叉熵损失进行简单建模,但会遭受信息损失和 tokenizer 训练不稳定的问题;连续 token 能更好地保留视觉细节,却需要复杂的分布建模,使生成流程更加复杂。本文提出 TokenBridge,通过在保持连续 token 强表示能力的同时保留离散 token 的建模简洁性来弥合这一差距。为此,我们通过训练后量化将离散化与 tokenizer 训练过程解耦,直接从连续表示中获得离散 token。具体而言,我们引入逐维度量化策略,对每个特征维度独立离散化,并配合轻量级自回归预测机制,高效建模由此产生的庞大 token 空间。大量实验表明,在使用标准类别预测的同时,我们的方法取得了与连续方法相当的重建和生成质量。本工作证明,连接离散与连续范式能够有效结合两种方法的优势,为通过简单自回归建模实现高质量视觉生成提供了有前景的方向。项目页面:https://yuqingwang1029.github.io/TokenBridge。

英文摘要:

Autoregressive visual generation models typically rely on tokenizers to compress images into tokens that can be predicted sequentially. A fundamental dilemma exists in token representation: discrete tokens enable straightforward modeling with standard cross-entropy loss, but suffer from information loss and tokenizer training instability; continuous tokens better preserve visual details, but require complex distribution modeling, complicating the generation pipeline. In this paper, we propose TokenBridge, which bridges this gap by maintaining the strong representation capacity of continuous tokens while preserving the modeling simplicity of discrete tokens. To achieve this, we decouple discretization from the tokenizer training process through post-training quantization that directly obtains discrete tokens from continuous representations. Specifically, we introduce a dimension-wise quantization strategy that independently discretizes each feature dimension, paired with a lightweight autoregressive prediction mechanism that efficiently model the resulting large token space. Extensive experiments show that our approach achieves reconstruction and generation quality on par with continuous methods while using standard categorical prediction. This work demonstrates that bridging discrete and continuous paradigms can effectively harness the strengths of both approaches, providing a promising direction for high-quality visual generation with simple autoregressive modeling. Project page: https://yuqingwang1029.github.io/TokenBridge.

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

↑