TokenFlow: Unified Image Tokenizer for Multimodal Understanding and Generation

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Qu, Liao, Zhang, Huichao, Liu, Yiheng, Wang, Xu, Jiang, Yi, Gao, Yiming, Ye, Hu, Du, Daniel K., Yuan, Zehuan, Wu, Xinglong
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913978200883200
author Qu, Liao
Zhang, Huichao
Liu, Yiheng
Wang, Xu
Jiang, Yi
Gao, Yiming
Ye, Hu
Du, Daniel K.
Yuan, Zehuan
Wu, Xinglong
author_facet Qu, Liao
Zhang, Huichao
Liu, Yiheng
Wang, Xu
Jiang, Yi
Gao, Yiming
Ye, Hu
Du, Daniel K.
Yuan, Zehuan
Wu, Xinglong
contents We present TokenFlow, a novel unified image tokenizer that bridges the long-standing gap between multimodal understanding and generation. Prior research attempt to employ a single reconstruction-targeted Vector Quantization (VQ) encoder for unifying these two tasks. We observe that understanding and generation require fundamentally different granularities of visual information. This leads to a critical trade-off, particularly compromising performance in multimodal understanding tasks. TokenFlow addresses this challenge through an innovative dual-codebook architecture that decouples semantic and pixel-level feature learning while maintaining their alignment via a shared mapping mechanism. This design enables direct access to both high-level semantic representations crucial for understanding tasks and fine-grained visual features essential for generation through shared indices. Our extensive experiments demonstrate TokenFlow's superiority across multiple dimensions. Leveraging TokenFlow, we demonstrate for the first time that discrete visual input can surpass LLaVA-1.5 13B in understanding performance, achieving a 7.2\% average improvement. For image reconstruction, we achieve a strong FID score of 0.63 at 384*384 resolution. Moreover, TokenFlow establishes state-of-the-art performance in autoregressive image generation with a GenEval score of 0.55 at 256*256 resolution, achieving comparable results to SDXL.
format Preprint
id arxiv_https___arxiv_org_abs_2412_03069
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle TokenFlow: Unified Image Tokenizer for Multimodal Understanding and Generation
Qu, Liao
Zhang, Huichao
Liu, Yiheng
Wang, Xu
Jiang, Yi
Gao, Yiming
Ye, Hu
Du, Daniel K.
Yuan, Zehuan
Wu, Xinglong
Computer Vision and Pattern Recognition
Artificial Intelligence
We present TokenFlow, a novel unified image tokenizer that bridges the long-standing gap between multimodal understanding and generation. Prior research attempt to employ a single reconstruction-targeted Vector Quantization (VQ) encoder for unifying these two tasks. We observe that understanding and generation require fundamentally different granularities of visual information. This leads to a critical trade-off, particularly compromising performance in multimodal understanding tasks. TokenFlow addresses this challenge through an innovative dual-codebook architecture that decouples semantic and pixel-level feature learning while maintaining their alignment via a shared mapping mechanism. This design enables direct access to both high-level semantic representations crucial for understanding tasks and fine-grained visual features essential for generation through shared indices. Our extensive experiments demonstrate TokenFlow's superiority across multiple dimensions. Leveraging TokenFlow, we demonstrate for the first time that discrete visual input can surpass LLaVA-1.5 13B in understanding performance, achieving a 7.2\% average improvement. For image reconstruction, we achieve a strong FID score of 0.63 at 384*384 resolution. Moreover, TokenFlow establishes state-of-the-art performance in autoregressive image generation with a GenEval score of 0.55 at 256*256 resolution, achieving comparable results to SDXL.
title TokenFlow: Unified Image Tokenizer for Multimodal Understanding and Generation
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2412.03069