Shifted Diffusion for Text-to-image Generation

Yufan Zhou, Bingchen Liu, Yizhe Zhu, Xiao Yang, Changyou Chen +1 more
11/24/2022
cs.CVcs.AIcs.LG
diffusion-flow

Official code: drboog/Shifted_Diffusion (164 stars, Python, CC0-1.0, last commit 2023-05-18).

Abstract

We present Corgi, a novel method for text-to-image generation. Corgi is based on our proposed shifted diffusion model, which achieves better image embedding generation from input text.

Show full abstract

Unlike the baseline diffusion model used in DALL-E 2, our method seamlessly encodes prior knowledge of the pre-trained CLIP model in its diffusion process by designing a new initialization distribution and a new transition step of the diffusion. Compared to the strong DALL-E 2 baseline, our method performs better in generating image embedding from the text in terms of both efficiency and effectiveness, resulting in better text-to-image generation. Extensive large-scale experiments are conducted and evaluated in terms of both quantitative measures and human evaluation, indicating a stronger generation ability of our method compared to existing ones. Furthermore, our model enables semi-supervised and language-free training for text-to-image generation, where only part or none of the images in the training dataset have an associated caption. Trained with only 1.7% of the images being captioned, our semi-supervised model obtains FID results comparable to DALL-E 2 on zero-shot text-to-image generation evaluated on MS-COCO. Corgi also achieves new state-of-the-art results across different datasets on downstream language-free text-to-image generation tasks, outperforming the previous method, Lafite, by a large margin.

View on arXivView PDF

Code Implementations(1)

CC0-1.0

Code for Shifted Diffusion for Text-to-image Generation (CVPR 2023)

16410Python, DockerfileMar 15, 20233 years agoCC0-1.0

Similar Papers

Cite this paper

@article{zhou2022shifted,
  title  = {Shifted Diffusion for Text-to-image Generation},
  author = {Yufan Zhou and Bingchen Liu and Yizhe Zhu and Xiao Yang and Changyou Chen and Jinhui Xu},
  year   = {2022},
  eprint = {2211.15388},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.15388}
}

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

Discussion