Papers › Shifted Diffusion for Text-to-image Generation

Shifted Diffusion for Text-to-image Generation

24 Nov 2022CVPR 2023 1arXiv:2211.15388archive 2025-07-28

Yufan Zhou, Bingchen Liu, Yizhe Zhu, Xiao Yang, Changyou Chen, Jinhui Xu

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. 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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2211.15388")

Code

Syntology Ran 7 of 17 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · violated contract; 3 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

drboog/Shifted_Diffusion officialmentioned in papermentioned on GitHubjaxCC0-1.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 7 ran; 2 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · violated contract
3ran · our draft was wrong
1ran
10unverified

Licence: 0 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from drboog/Shifted_Diffusion. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

approx_standard_normal_cdf drboog/Shifted_Diffusion/model_lib/diffusion/losses.py official repository ran · our draft was wrong fingerprinted CC0-1.0 (permissive) · cfd76fd0d89574a4 · report
args_to_dict drboog/Shifted_Diffusion/model_lib/diffusion/script_util.py official repository ran CC0-1.0 (permissive) · 4e2ac192b520c457 · report
betas_for_alpha_bar drboog/Shifted_Diffusion/model_lib/diffusion/gaussian_diffusion.py official repository ran · honoured contract CC0-1.0 (permissive) · 2ab2316ac6fdd869 · report
discretized_gaussian_log_likelihood drboog/Shifted_Diffusion/model_lib/diffusion/losses.py official repository ran · our draft was wrong CC0-1.0 (permissive) · cd33283d615fb3d7 · report
normal_kl drboog/Shifted_Diffusion/model_lib/diffusion/losses.py official repository ran · honoured contract fingerprinted CC0-1.0 (permissive) · cf2798b666b231ca · report
str2bool drboog/Shifted_Diffusion/model_lib/diffusion/script_util.py official repository ran · violated contract CC0-1.0 (permissive) · 721eef93e7a633a1 · report
zero_module drboog/Shifted_Diffusion/model_lib/diffusion/nn.py official repository ran · our draft was wrong CC0-1.0 (permissive) · 129b804760b3115f · report
alpha_schedules drboog/Shifted_Diffusion/diffusers/src/diffusers/schedulers/scheduling_vq_diffusion.py official repository unverified CC0-1.0 (permissive) · 0b6af1610028f48b · report
avg_pool_nd drboog/Shifted_Diffusion/model_lib/diffusion/nn.py official repository unverified CC0-1.0 (permissive) · ecd0fc28815b65ae · report
conv_nd drboog/Shifted_Diffusion/model_lib/diffusion/nn.py official repository unverified CC0-1.0 (permissive) · fe4eb545bbb728e0 · report
create_named_schedule_sampler drboog/Shifted_Diffusion/model_lib/diffusion/resample.py official repository unverified CC0-1.0 (permissive) · 74468cb5afcdceba · report
file_ext drboog/Shifted_Diffusion/process_img.py official repository unverified CC0-1.0 (permissive) · b1986232479684ae · report
get_full_repo_name drboog/Shifted_Diffusion/finetune.py official repository unverified CC0-1.0 (permissive) · 6431708d8f3ff177 · report
get_named_beta_schedule drboog/Shifted_Diffusion/model_lib/diffusion/gaussian_diffusion.py official repository unverified CC0-1.0 (permissive) · 7b3d746840b3d405 · report
gumbel_noised drboog/Shifted_Diffusion/diffusers/src/diffusers/schedulers/scheduling_vq_diffusion.py official repository unverified CC0-1.0 (permissive) · c849cc3a392127d7 · report
index_to_log_onehot drboog/Shifted_Diffusion/diffusers/src/diffusers/schedulers/scheduling_vq_diffusion.py official repository unverified CC0-1.0 (permissive) · 815ff46e50dd7353 · report
space_timesteps drboog/Shifted_Diffusion/model_lib/diffusion/respace.py official repository unverified CC0-1.0 (permissive) · 9afcec4ee15ce58d · report

Tasks

Image GenerationText to Image GenerationText-to-Image GenerationZero-Shot Text-to-Image Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Text-to-Image Generation COCO (Common Objects in Context) Corgi-Semi FID 10.6 #27 of 69 Archive leaderboard report
Text-to-Image Generation COCO (Common Objects in Context) Corgi FID 10.88 #28 of 69 Archive leaderboard report
Text-to-Image Generation Multi-Modal-CelebA-HQ Corgi FID 19.74 #3 of 10 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

CLIPDiffusion

1 archive method tag without a method page not shown.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections