The unification of understanding and generation within a single multi-modal large model (MLLM) remains one significant challenge, largely due to the dichotomy between continuous and discrete visual tokenizations. Continuous tokenizer (CT) achieves strong performance by bridging multiple independently-trained understanding modules and generation modules, but suffers from complex multi-stage pipelines and substantial engineering overhead. Conversely, discrete tokenizers (DT) offer a conceptually elegant idea by quantizing each image into a primitive, but inevitably leading to information loss and performance degradation. To resolve this tension, we question the binary choice between CT and DT, inspired by the wave-particle duality of light, and propose the Continuous-Discrete Dualistic Visual Tokenizer (CDD-VT). We treat visual data as a flexible composition of image primitives derived from quantized codebooks, with the crucial insight that the primitive number assigned to each visual sample is adaptively determined according to its complexity: simple instances use a few primitives, emulating discrete tokenization, while complex instances use many, approximating continuous tokenization. Two core components are designed: Diverse Quantitative Primitives, which encourage primitives orthogonality to better populate information space, and Dynamic Primitive Allocator, which assesses sample complexity to determine the optimal set of primitives. Extensive experiments on reconstruction, retrieval and classification show that CDD-VT achieves superior performance over to specialized CT and DT, effectively getting strong result within a concise and scalable MLLM.
Figures & tables
Figure 1: Tokenization Comparisons. Continuous Tokenizers (CT) : strong performance, but one complex, multi-stage workflow. Discrete Tokenizers (DT) : a concise-unified workflow, but poor results. CDD-VT as continuous-discrete dualistic quantization, gets remarkable results in elegant unity of understanding & generation.
Figure 2: Framework Overview. Our continuous–discrete dualistic visual tokenizer (CDD-VT) consists of an image encoder, a text encoder, an image decoder, and two core components: Diverse Quantitative Primitives (DQP) and Dynamic Primitive Allocator (DPA). DQP encourages primitives orthogonality to better populate information space, while DPA assesses sample complexity to determine the optimal primitive set for each patch. For understanding, we calculate cosine similarity between text embeddings and quantified image embeddings. For generation, we feed text through the pipeline of encoder, LLM, and vision decoder.
Method
Data
#Tokens
Res.
Codebook
Accuracy
rFID ↓
PSNR ↑
LPIPS
Size
-VGG ↓
Continuous Tokenizer (CT)
EVA02-B/16
Merged-2B
/
224
/
74.7
/
/
/
CLIP-L/14
WIT400M
/
224
/
75.5
/
/
/
MetaCLIP-L/14
MetaCLIP400M
/
224
/
76.2
/
/
/
Discrete Tokenizer (DT)
Table 1: Image Reconstruction and Zero-Shot Image Classification on ImageNet 50K Validation Set. † indicates model using CLIP pre-trained weights for initialization. ∗ denotes our reproduction.
Method
Data
Codebook
MS-COCO 2017
ImageNet-1k
Size
rFID ↓
PSNR ↑
SSIM ↑
rFID ↓
PSNR ↑
SSIM ↑
LlamaGen ‡
70M
16384
8.40
20.28
0.55
2.47
20.65
0.54
Show-o
35M
8192
9.26
20.90
0.59
3.50
21.34
0.59
Cosmos
–
64000
11.97
19.22
0.48
4.57
19.93
0.49
Open-MAGVIT2-I-PT
100M
262144
6.76
22.31
0.65
1.67
22.70
0.64
IBQ
100M
262144
6.79
22.28
0.65
1.53
22.69
0.64
Table 2: Zero-Shot Image Reconstruction . † means initialization from CLIP pretrained weights. ‡ means LlamaGen loads weights trained on ImageNet while other weights are trained from scratch, i.e. , MS-COCO, ImageNet-1k are excluded from training data. ∗ is our reproduction. All methods are trained with 256 tokens and a downsampling ratio of 16.
Figure 3: Comparisons of Image Reconstruction between UniTok ( Ma et al., 2025b ) , QLIP ( Zhao et al., 2025 ) , TokenFlow ( Qu et al., 2025 ) and our CDD-VT. Here, FID and PSNR are evaluated on ImageNet 50k validation. CDD-VT shows superior detail preservation and perceptual fidelity over the competitors, e.g. , text on the map (Row 2) and blackboard (Row 1) is notably clearer and more faithful to inputs. Additional results can be found in Appendix .
Method
Res.
Data
Image to Text
Text To Image
Flickr30k
MSCOCO
Flickr30k
MSCOCO
R@1
R@5
R@10
R@1
R@5
R@10
R@1
R@5
R@10
R@1
R@5
R@10
Continuous Tokenizer (CT)
EVA02-B/16
224
Merged-2B
87.9
97.8
99.2
60.0
82.7
89.1
73.9
91.1
94.7
42.2
67.5
77.1
CLIP-L/14
224
WIT400M
86.4
97.3
99.4
57.1
80.1
87.2
67.9
88.9
93.3
35.4
60.4
71.0
Discrete Tokenizer (DT)
Table 3: Results on Zero-Shot Image-Text Retrieval . † indicates model using pretrained CLIP weights for initialization. ∗ denotes our reproduction. Reuslts show that random initialized CDD-VT out performs UniTok and even comparable to CLIP initialized QLIP.
Figure 7
Method
DPA
Accuracy
rFID ↓
PSNR ↑
SSIM ↑
Top- K
Accuracy
rFID ↓
PSNR ↑
SSIM ↑
Top-1
✕
65.8
0.41
24.17
0.69
Top-500
65.5
0.94
23.74
0.70
Top-10
✕
63.9
0.27
26.31
0.78
Top-1000
66.5
0.37
23.93
0.71
CDD-VT
✓
66.5
0.37
23.93
0.71
full
64.7
0.44
24.23
0.71
Table 5: Left: DPA Effect on ImageNet 50K validation set. Right: Top- K selection for the allocator A . All methods are trained on DC‑800M, with 256 tokens and a downsampling ratio of 16.
Figure 5: DPA Effectiveness. The Top- K baseline (here K =1) assigns the fixed number of primitives to each patch, resulting in a uniform grid overlay. CDD-VT equipped with DPA produces an adaptive heatmap, focusing more primitives on areas with complex information. Color bars denote primitive count.
Modern multimodal large language models (MLLMs) typically keep the language model fixed and train a visual projector that maps the pixels into a sequence of tokens in its embedding space, so that images can be presented in essentially the same form as text. However, the language model has been optimized to operate on discrete, semantically meaningful tokens, while prevailing visual projectors transform an image into a long stream of continuous and highly correlated embeddings. This causes the visual tokens to behave differently from the word-like units that LLMs are originally trained to understand. We propose a novel Disentangled Visual Tokenization (DiVT) that clusters patch embeddings into coherent semantic units, so each token corresponds to a distinct visual concept instead of a rigid grid cell. DiVT further adapts its token budget to image complexity, providing an explicit accuracy-compute trade-off modifying neither the vision encoder nor the language model. Across diverse multimodal benchmarks, DiVT matches or surpasses baselines with significantly fewer visual tokens, demonstrating robustness under limited token budgets, significantly reducing memory cost and latency while making visual inputs more compatible with LLMs. Our code is available at https://github.com/snuviplab/DiVT.
Hyun Lee, Hyemin Jeong, Yejin Kim +4
Seoul National University · Ewha Womans University
Most visual tokenizers for image generation are bifurcated into two families with complementary limitations: continuous VAEs offer high-fidelity reconstruction but suffer from dense, entangled latents that are poorly suited for semantic control, whereas discrete VQ-based models enable autoregressive generation yet struggle with gradient sparsity, unstable training, and codebook collapse. In this work, we introduce MergeTok, a unified tokenizer that jointly optimizes continuous (VAE) and discrete (VQ) tokenizers within a encoder-decoder architecture, leveraging token merging techniques as a semantic bridge. By clustering similar tokens during encoding, MergeTok establishes a structural prior that provides dual supervision signals: (i) it imposes merged-token semantic alignment in the VAE branch, regularizing its latent space toward disentangled, semantic-aware representations; (ii) it derives group-wise constraints, promoting intra-group diversity and inter-group exclusivity that stabilize VQ training. MergeTok shows competitive reconstruction and generation performance on ImageNet-256, with substantially lower rFID than strong VAE and VQ models under matched token budgets, while producing semantically-organized token representations compatible with both autoregressive and diffusion generators. This shows that a single architecture can endow visual tokenizers with robust semantic organization and generator-friendly discreteness.
Luyuan Zhang, Siyuan Li, Zedong Wang +7
1Tsinghua University · 2Westlake University · 3Zhejiang University +3
Discrete autoregressive modeling, notably through next-token prediction, has become a cornerstone of modern language models. Extending this paradigm to vision allows visual and language models to converge on a unified framework, thereby fostering shared methodology and infrastructure. This work investigates a central question: how far can a finite discrete vocabulary go in representing the richness of the visual world? We present dNaViT, a Discrete Native-resolution Vision Transformer that produces discrete visual primitives analogous to language tokens. Built upon a frozen pretrained encoder, dNaViT applies lightweight residual modulation with a dual-branch objective to inject reconstruction-aware cues into semantic features. By leveraging grouped product quantization, it scales discrete capacity without inflating spatial sequence lengths, while a balanced training recipe maintains both semantic and pixel-level information. Consequently, dNaViT functions as a versatile discrete visual tokenizer, enabling unified encoding across downstream tasks alongside high-fidelity image decoding. Extensive evaluations show that dNaViT matches or exceeds task-specific baselines across 12 visual understanding benchmarks, 4 generation benchmarks, and an image editing benchmark. These findings demonstrate that a compact discrete vocabulary can serve as a universal visual currency and unlock the full potential of fully unified, native multimodal methodology.