QLIP: Text-Aligned Visual Tokenization Unifies Auto-Regressive Multimodal Understanding and Generation

Yue Zhao, Fuzhao Xue, Scott Reed, Linxi Fan, Yuke Zhu +4 more
2/7/2025
cs.CV

No official code found. Best implementation: NVlabs/QLIP (97 stars, last commit 2025-03-01).

Abstract

We introduce Quantized Language-Image Pretraining (QLIP), a visual tokenization method that combines state-of-the-art reconstruction quality with state-of-the-art zero-shot image understanding. QLIP trains a binary-spherical-quantization-based autoencoder with reconstruction and language-image alignment objectives. We are the first to show that the two objectives do not need to be at odds. We balance the two loss terms dynamically during training and show that a two-stage training pipeline effectively mixes the large-batch requirements of image-language pre-training with the memory bottleneck imposed by the reconstruction objective. We validate the effectiveness of QLIP for multimodal understanding and text-conditioned image generation with a single model. Specifically, QLIP serves as a drop-in replacement for the visual encoder for LLaVA and the image tokenizer for LlamaGen with comparable or even better performance. Finally, we demonstrate that QLIP enables a unified mixed-modality auto-regressive model for understanding and generation.

View on arXivView PDF

Code Implementations(1)

NVlabs/QLIPCommunity77%

[arXiv: 2502.05178] QLIP: Text-Aligned Visual Tokenization Unifies Auto-Regressive Multimodal Understanding and Generation

975Python, Jupyter NotebookFeb 6, 20251 years agoNOASSERTION

Similar Papers

Cite this paper

@article{zhao2025qlip,
  title  = {QLIP: Text-Aligned Visual Tokenization Unifies Auto-Regressive Multimodal Understanding and Generation},
  author = {Yue Zhao and Fuzhao Xue and Scott Reed and Linxi Fan and Yuke Zhu and Jan Kautz and Zhiding Yu and Philipp Krähenbühl and De-An Huang},
  year   = {2025},
  eprint = {2502.05178},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.05178v1}
}

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/2502.05178.svg)](https://codeofpaper.com/paper/2502.05178)

Discussion