Bridging Continuous and Discrete Tokens for Autoregressive Visual Generation

Yuqing Wang, Zhijie Lin, Yao Teng, Yuanzhi Zhu, Shuhuai Ren +2 more
3/20/2025
cs.CV

No official code found. Best implementation: YuqingWang1029/TokenBridge (159 stars, MIT, last commit 2025-07-24).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

[ICCV2025] TokenBridge: Bridging Continuous and Discrete Tokens for Autoregressive Visual Generation. https://yuqingwang1029.github.io/TokenBridge

1594PythonMar 19, 20251 years agoMIT
autoregressive-visual-generationvisual-tokenizer

Similar Papers

Cite this paper

@article{wang2025bridging,
  title  = {Bridging Continuous and Discrete Tokens for Autoregressive Visual Generation},
  author = {Yuqing Wang and Zhijie Lin and Yao Teng and Yuanzhi Zhu and Shuhuai Ren and Jiashi Feng and Xihui Liu},
  year   = {2025},
  eprint = {2503.16430},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.16430v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.16430.svg)](https://codeofpaper.com/paper/2503.16430)

Discussion