GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models

Alex Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam, Pamela Mishkin +3 more
12/20/2021
5,206 citations
cs.CVcs.GRcs.LG
diffusion-flow

Official code: openai/glide-text2im (3,683 stars, Python, MIT, last commit 2024-03-08).

Abstract

Diffusion models have recently been shown to generate high-quality synthetic images, especially when paired with a guidance technique to trade off diversity for fidelity. We explore diffusion models for the problem of text-conditional image synthesis and compare two different guidance strategies: CLIP guidance and classifier-free guidance.

Show full abstract

We find that the latter is preferred by human evaluators for both photorealism and caption similarity, and often produces photorealistic samples. Samples from a 3.5 billion parameter text-conditional diffusion model using classifier-free guidance are favored by human evaluators to those from DALL-E, even when the latter uses expensive CLIP reranking. Additionally, we find that our models can be fine-tuned to perform image inpainting, enabling powerful text-driven image editing. We train a smaller model on a filtered dataset and release the code and weights at https://github.com/openai/glide-text2im.

View on arXivView PDF

Code Implementations(1)

MIT

GLIDE: a diffusion-based text-conditional image synthesis model

3,683499Python, Jupyter NotebookDec 10, 20212 years agoMIT

Similar Papers

Cite this paper

@article{nichol2021glide,
  title  = {GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models},
  author = {Alex Nichol and Prafulla Dhariwal and Aditya Ramesh and Pranav Shyam and Pamela Mishkin and Bob McGrew and Ilya Sutskever and Mark Chen},
  year   = {2021},
  eprint = {2112.10741},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.10741}
}

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

Discussion