Wuerstchen: An Efficient Architecture for Large-Scale Text-to-Image Diffusion Models

Pablo Pernias, Dominic Rampas, Mats L. Richter, Christopher J. Pal, Marc Aubreville
6/1/2023
cs.CV

No official code found. Best implementation: dome272/Wuerstchen (553 stars, MIT, last commit 2024-04-06).

Abstract

We introduce Würstchen, a novel architecture for text-to-image synthesis that combines competitive performance with unprecedented cost-effectiveness for large-scale text-to-image diffusion models. A key contribution of our work is to develop a latent diffusion technique in which we learn a detailed but extremely compact semantic image representation used to guide the diffusion process. This highly compressed representation of an image provides much more detailed guidance compared to latent representations of language and this significantly reduces the computational requirements to achieve state-of-the-art results. Our approach also improves the quality of text-conditioned image generation based on our user preference study. The training requirements of our approach consists of 24,602 A100-GPU hours - compared to Stable Diffusion 2.1's 200,000 GPU hours. Our approach also requires less training data to achieve these results. Furthermore, our compact latent representations allows us to perform inference over twice as fast, slashing the usual costs and carbon footprint of a state-of-the-art (SOTA) diffusion model significantly, without compromising the end performance. In a broader comparison against SOTA models our approach is substantially more efficient and compares favorably in terms of image quality. We believe that this work motivates more emphasis on the prioritization of both performance and computational accessibility.

View on arXivView PDF

Code Implementations(1)

dome272/WuerstchenCommunity100%
MIT

Official implementation of Würstchen: Efficient Pretraining of Text-to-Image Models

55334Shell, PythonMay 24, 20232 years agoMIT
diffusion-modelsefficiencymachine-learningstable-diffusion

Similar Papers

Cite this paper

@article{pernias2023wuerstchen,
  title  = {Wuerstchen: An Efficient Architecture for Large-Scale Text-to-Image Diffusion Models},
  author = {Pablo Pernias and Dominic Rampas and Mats L. Richter and Christopher J. Pal and Marc Aubreville},
  year   = {2023},
  eprint = {2306.00637},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.00637v2}
}

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

Discussion