DualToken: Towards Unifying Visual Understanding and Generation with Dual Visual Vocabularies
About
The differing representation spaces required for visual understanding and generation pose a challenge in unifying them within the autoregressive paradigm of large language models. A vision tokenizer trained for reconstruction excels at capturing low-level perceptual details, making it well-suited for visual generation but lacking high-level semantic representations for understanding tasks. Conversely, a vision encoder trained via contrastive learning aligns well with language but struggles to decode back into the pixel space for generation tasks. To bridge this gap, we propose DualToken, a method that unifies representations for both understanding and generation within a single tokenizer. However, directly integrating reconstruction and semantic objectives in a single tokenizer creates conflicts, leading to degraded performance in both reconstruction quality and semantic performance. Instead of forcing a single codebook to handle both semantic and perceptual information, DualToken disentangles them by introducing separate codebooks for high and low-level features, effectively transforming their inherent conflict into a synergistic relationship. As a result, DualToken achieves state-of-the-art performance in both reconstruction and semantic tasks while demonstrating remarkable effectiveness in downstream MLLM understanding and generation tasks. Notably, we also show that DualToken, as a unified tokenizer, surpasses the naive combination of two distinct types vision encoders, providing superior performance within a unified MLLM.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Multi-discipline Multimodal Understanding | MMMU | Accuracy45.8 | 317 | |
| Visual Understanding | MM-Vet | MM-Vet Score40.5 | 142 | |
| Vision Understanding | MMBench | Accuracy74.9 | 141 | |
| Image Reconstruction | ImageNet1K (val) | FID0.52 | 98 | |
| Image Reconstruction | ImageNet-1k 256 x 256 (val) | rFID0.54 | 77 | |
| Visual Understanding | MME | MME Score1.50e+3 | 54 | |
| Visual Understanding | SEED-Bench | SEED Score71.8 | 23 | |
| Visual generation | GenAI-Bench | Overall Score75 | 11 |