[Paper Review] Scaling Autoregressive Models for Content-Rich Text-to-Image Generation
This paper presents Parti, a Pathways Autoregressive Text-to-Image model that scales up to 20B parameters, using a Transformer-based image tokenizer (ViT-VQGAN) and an encoder-decoder architecture to achieve state-of-the-art zero-shot and finetuned FID on MS-COCO and Localized Narratives, along with a new open-domain evaluation benchmark (PartiPrompts).
We present the Pathways Autoregressive Text-to-Image (Parti) model, which generates high-fidelity photorealistic images and supports content-rich synthesis involving complex compositions and world knowledge. Parti treats text-to-image generation as a sequence-to-sequence modeling problem, akin to machine translation, with sequences of image tokens as the target outputs rather than text tokens in another language. This strategy can naturally tap into the rich body of prior work on large language models, which have seen continued advances in capabilities and performance through scaling data and model sizes. Our approach is simple: First, Parti uses a Transformer-based image tokenizer, ViT-VQGAN, to encode images as sequences of discrete tokens. Second, we achieve consistent quality improvements by scaling the encoder-decoder Transformer model up to 20B parameters, with a new state-of-the-art zero-shot FID score of 7.23 and finetuned FID score of 3.22 on MS-COCO. Our detailed analysis on Localized Narratives as well as PartiPrompts (P2), a new holistic benchmark of over 1600 English prompts, demonstrate the effectiveness of Parti across a wide variety of categories and difficulty aspects. We also explore and highlight limitations of our models in order to define and exemplify key areas of focus for further improvements. See https://parti.research.google/ for high-resolution images.
Motivation & Objective
- Scale autoregressive text-to-image models to 20B parameters and evaluate on open-domain prompts.
- Demonstrate state-of-the-art image quality and text-image alignment in zero-shot and finetuned settings.
- Introduce comprehensive benchmarks (PartiPrompts) and analysis of model limitations to guide future work.
Proposed method
- Treat text-to-image generation as sequence-to-sequence learning with image tokens generated by a Transformer-based ViT-VQGAN tokenizer.
- Train encoder-decoder Transformers to map text token sequences to image token sequences, with image tokens decoded to pixels by ViT-VQGAN.
- Pretrain the text encoder on large language data and fine-tune jointly for text-to-image generation.
- Apply classifier-free guidance and contrastive reranking (CoCa) to improve sample quality and image-text alignment.
- Use distributed training with GSPMD on CloudTPUv4, including in-layer model parallelism and data parallelism, plus a 4x encoder/decoder design for large models.
- Optionally incorporate a super-resolution module on top of the image tokenizer to produce higher-resolution outputs.
Experimental results
Research questions
- RQ1Can autoregressive, encoder-decoder text-to-image models scaled to 20B parameters outperform existing baselines on standard and long-form descriptions?
- RQ2How does the ViT-VQGAN image tokenizer influence reconstruction quality and codebook usage at scale?
- RQ3What is the impact of text encoder pretraining on downstream text-to-image generation performance?
- RQ4Do classifier-free guidance and reranking improve text-to-image alignment and sample diversity in large Parti models?
- RQ5How do open-domain prompts and longer descriptions generalize to Parti beyond MS-COCO-style captions?
Key findings
- The 20B Parti model achieves a zero-shot FID of 7.23 and a finetuned FID of 3.22 on MS-COCO.
- Parti attains a zero-shot FID of 15.97 and a finetuned FID of 8.39 on Localized Narratives.
- Scaling up to 20B parameters yields consistent gains in text-image alignment and image fidelity across datasets.
- PartiPrompts (P2) provides a holistic 1600-prompt benchmark spanning 12 categories and 11 challenge aspects to evaluate open-domain generation.
- Classifier-free guidance and contrastive reranking are complementary and improve sample quality and alignment.
- The approach demonstrates strong zero-shot generalization to longer, more detailed prompts and supports content-rich synthesis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.