Muse: Text-To-Image Generation via Masked Generative Transformers

Huiwen Chang, Han Zhang, Jarred Barber, AJ Maschinot, Jose Lezama +7 more
1/2/2023
cs.CVcs.AIcs.LG

No official code found. Best implementation: lucidrains/muse-maskgit-pytorch (918 stars, MIT, last commit 2024-02-29).

Abstract

We present Muse, a text-to-image Transformer model that achieves state-of-the-art image generation performance while being significantly more efficient than diffusion or autoregressive models. Muse is trained on a masked modeling task in discrete token space: given the text embedding extracted from a pre-trained large language model (LLM), Muse is trained to predict randomly masked image tokens. Compared to pixel-space diffusion models, such as Imagen and DALL-E 2, Muse is significantly more efficient due to the use of discrete tokens and requiring fewer sampling iterations; compared to autoregressive models, such as Parti, Muse is more efficient due to the use of parallel decoding. The use of a pre-trained LLM enables fine-grained language understanding, translating to high-fidelity image generation and the understanding of visual concepts such as objects, their spatial relationships, pose, cardinality etc. Our 900M parameter model achieves a new SOTA on CC3M, with an FID score of 6.06. The Muse 3B parameter model achieves an FID of 7.88 on zero-shot COCO evaluation, along with a CLIP score of 0.32. Muse also directly enables a number of image editing applications without the need to fine-tune or invert the model: inpainting, outpainting, and mask-free editing. More results are available at https://muse-model.github.io

View on arXivView PDF

Code Implementations(1)

MIT

Implementation of Muse: Text-to-Image Generation via Masked Generative Transformers, in Pytorch

91886PythonJan 3, 20232 years agoMIT
artificial-intelligenceattention-mechanismsdeep-learningtext-to-imagetransformers

Similar Papers

Cite this paper

@article{chang2023muse,
  title  = {Muse: Text-To-Image Generation via Masked Generative Transformers},
  author = {Huiwen Chang and Han Zhang and Jarred Barber and AJ Maschinot and Jose Lezama and Lu Jiang and Ming-Hsuan Yang and Kevin Murphy and William T. Freeman and Michael Rubinstein and Yuanzhen Li and Dilip Krishnan},
  year   = {2023},
  eprint = {2301.00704},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.00704v1},
  journal = {ICML 2023 2023}
}

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

Discussion