VAR-CLIP: Text-to-Image Generator with Visual Auto-Regressive Modeling

Qian Zhang, Xiangzi Dai, Ninghua Yang, Xiang An, Ziyong Feng +1 more
8/2/2024
cs.CV

Official code: daixiangzi/VAR-CLIP (146 stars, last commit 2025-01-23).

Abstract

VAR is a new generation paradigm that employs 'next-scale prediction' as opposed to 'next-token prediction'. This innovative transformation enables auto-regressive (AR) transformers to rapidly learn visual distributions and achieve robust generalization. However, the original VAR model is constrained to class-conditioned synthesis, relying solely on textual captions for guidance. In this paper, we introduce VAR-CLIP, a novel text-to-image model that integrates Visual Auto-Regressive techniques with the capabilities of CLIP. The VAR-CLIP framework encodes captions into text embeddings, which are then utilized as textual conditions for image generation. To facilitate training on extensive datasets, such as ImageNet, we have constructed a substantial image-text dataset leveraging BLIP2. Furthermore, we delve into the significance of word positioning within CLIP for the purpose of caption guidance. Extensive experiments confirm VAR-CLIP's proficiency in generating fantasy images with high fidelity, textual congruence, and aesthetic excellence. Our project page are https://github.com/daixiangzi/VAR-CLIP

View on arXivView PDF

Code Implementations(1)

Implements VAR+CLIP for text-to-image (T2I) generation

1468PythonApr 28, 20241 years ago

Similar Papers

Cite this paper

@article{zhang2024varclip,
  title  = {VAR-CLIP: Text-to-Image Generator with Visual Auto-Regressive Modeling},
  author = {Qian Zhang and Xiangzi Dai and Ninghua Yang and Xiang An and Ziyong Feng and Xingyu Ren},
  year   = {2024},
  eprint = {2408.01181},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.01181v1}
}

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

Discussion