A Novel Sampling Scheme for Text- and Image-Conditional Image Synthesis in Quantized Latent Spaces
Dominic Rampas, Pablo Pernias, Marc Aubreville
TL;DR
Paella tackles the problem of high compute cost in text-to-image generation by introducing a convolutional, token-based generator that operates in a discretized latent space produced by a VQGAN with compression $f=4$. It employs a novel token noising and denoising training objective along with a 12-step iterative sampling scheme that uses classifier-free guidance and ByT5-XL plus CLIP conditioning to produce text- and image-conditioned outputs. The method achieves competitive zero-shot FID on COCO with a 1B parameter model while using far fewer sampling steps than diffusion or transformer-based models, and it benefits from simple training and sampling paradigms that are easier to reproduce. The authors release the code and model weights under the MIT license, aiming to democratize access to high-quality text-to-image synthesis and enable downstream applications such as image variations and mixed conditioning.
Abstract
Recent advancements in the domain of text-to-image synthesis have culminated in a multitude of enhancements pertaining to quality, fidelity, and diversity. Contemporary techniques enable the generation of highly intricate visuals which rapidly approach near-photorealistic quality. Nevertheless, as progress is achieved, the complexity of these methodologies increases, consequently intensifying the comprehension barrier between individuals within the field and those external to it. In an endeavor to mitigate this disparity, we propose a streamlined approach for text-to-image generation, which encompasses both the training paradigm and the sampling process. Despite its remarkable simplicity, our method yields aesthetically pleasing images with few sampling iterations, allows for intriguing ways for conditioning the model, and imparts advantages absent in state-of-the-art techniques. To demonstrate the efficacy of this approach in achieving outcomes comparable to existing works, we have trained a one-billion parameter text-conditional model, which we refer to as "Paella". In the interest of fostering future exploration in this field, we have made our source code and models publicly accessible for the research community.
