TensorX
返回文献探索

Paper · arXiv 2410.13863

Fluid: Scaling Autoregressive Text-to-image Generative Models with Continuous Tokens

Lijie Fan, Tianhong Li, Siyang Qin, Yuanzhen Li, Chen Sun, Michael Rubinstein, Deqing Sun, Kaiming He, Yonglong Tian

37 upvotesOctober 17, 2024arXiv 预印本
AI 摘要

Autoregressive models for text-to-image generation achieve better visual quality with continuous tokens and random generation order compared to discrete tokens and raster order.

autoregressive modelstext-to-image generationdiscrete tokenscontinuous tokensrandom-orderraster-orderBERTGPTtransformer architecturesvalidation lossFIDGenEvalFluidzero-shotMS-COCO 30KGenEval benchmark

Abstract

Scaling up autoregressive models in vision has not proven as beneficial as in large language models. In this work, we investigate this scaling problem in the context of text-to-image generation, focusing on two critical factors: whether models use discrete or continuous tokens, and whether tokens are generated in a random or fixed raster order using BERT- or GPT-like transformer architectures. Our empirical results show that, while all models scale effectively in terms of validation loss, their evaluation performance -- measured by FID, GenEval score, and visual quality -- follows different trends. Models based on continuous tokens achieve significantly better visual quality than those using discrete tokens. Furthermore, the generation order and attention mechanisms significantly affect the GenEval score: random-order models achieve notably better GenEval scores compared to raster-order models. Inspired by these findings, we train Fluid, a random-order autoregressive model on continuous tokens. Fluid 10.5B model achieves a new state-of-the-art zero-shot FID of 6.16 on MS-COCO 30K, and 0.69 overall score on the GenEval benchmark. We hope our findings and results will encourage future efforts to further bridge the scaling gap between vision and language models.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号