Papers › Semantic Image Synthesis via Diffusion Models

Semantic Image Synthesis via Diffusion Models

30 Jun 2022arXiv:2207.00050archive 2025-07-28

Weilun Wang, Jianmin Bao, Wengang Zhou, Dongdong Chen, Dong Chen, Lu Yuan, Houqiang Li

Denoising Diffusion Probabilistic Models (DDPMs) have achieved remarkable success in various image generation tasks compared with Generative Adversarial Nets (GANs). Recent work on semantic image synthesis mainly follows the \emph{de facto} GAN-based approaches, which may lead to unsatisfactory quality or diversity of generated images. In this paper, we propose a novel framework based on DDPM for semantic image synthesis. Unlike previous conditional diffusion model directly feeds the semantic layout and noisy image as input to a U-Net structure, which may not fully leverage the information in the input semantic mask, our framework processes semantic layout and noisy image differently. It feeds noisy image to the encoder of the U-Net structure while the semantic layout to the decoder by multi-layer spatially-adaptive normalization operators. To further improve the generation quality and semantic interpretability in semantic image synthesis, we introduce the classifier-free guidance sampling strategy, which acknowledge the scores of an unconditional model for sampling process. Extensive experiments on three benchmark datasets demonstrate the effectiveness of our proposed method, achieving state-of-the-art performance in terms of fidelity (FID) and diversity (LPIPS).

PaperPDFCodeCode 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="2207.00050")

Code

Syntology Ran 11 of 32 code samples harvested from 3 repositories linked to this paper; 21 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · violated contract; 4 ran · our draft was wrong; 1 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: official repository: 2 samples from 1 repository, 2 ran; community (archive-listed): 30 samples from 2 repositories, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

weilunwang/semantic-diffusion-model officialmentioned in papermentioned on GitHubpytorch report
david-stojanovski/echo_from_noise mentioned on GitHubpytorchMIT report
marinadominguez/diffusion-for-us-images mentioned on GitHubpytorchMIT 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

32 samples harvested; 11 ran; 2 honoured the contract we drafted; 21 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
4ran · our draft was wrong
1ran · fixture could not drive it
3ran
21unverified

Licence: 2 of the 32 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 3 repositories linked to this paper, official or community; each sample names its own and says which. “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.

get_edges weilunwang/semantic-diffusion-model/image_sample.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · a1a99e2092dd2b01 · report
preprocess_input weilunwang/semantic-diffusion-model/image_sample.py official repository ran · our draft was wrong no licence file found · pointer only · 37c0096a424e9da1 · report
approx_standard_normal_cdf marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/losses.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · cfd76fd0d89574a4 · report
betas_for_alpha_bar marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/gaussian_diffusion.py community (archive-listed) ran · honoured contract MIT (permissive) · 2ab2316ac6fdd869 · report
discretized_gaussian_log_likelihood marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/losses.py community (archive-listed) ran · our draft was wrong MIT (permissive) · cd33283d615fb3d7 · report
get_param_groups_and_shapes marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/fp16_util.py community (archive-listed) ran MIT (permissive) · e41367ad14ff58fd · report
make_master_params marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/fp16_util.py community (archive-listed) ran MIT (permissive) · e20dd5102da3b050 · report
normal_kl marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/losses.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · cf2798b666b231ca · report
str2bool david-stojanovski/echo_from_noise/semantic_diffusion_model/image_sample.py community (archive-listed) ran · violated contract MIT (permissive) · 7c508037b40522af · report
unflatten_master_params marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/fp16_util.py community (archive-listed) ran MIT (permissive) · 64fff1e30802b815 · report
zero_module marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/nn.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 129b804760b3115f · report
avg_pool_nd marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/nn.py community (archive-listed) unverified MIT (permissive) · ecd0fc28815b65ae · report
batch_mean_and_sd david-stojanovski/echo_from_noise/echo_segmentations/utils/dataset_analyzer.py community (archive-listed) unverified MIT (permissive) · 1c1c390e2ea5518c · report
calc_epoch_dice_per_label david-stojanovski/echo_from_noise/echo_segmentations/utils/epoch_cycle.py community (archive-listed) unverified MIT (permissive) · 0dea2685bc9a0c8e · report
calculate_lpips_given_images marinadominguez/diffusion-for-us-images/semantic_diffusion_model/evaluations/lpips.py community (archive-listed) unverified MIT (permissive) · a95e5e989a7a2519 · report
center_crop_arr marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/image_datasets.py community (archive-listed) unverified MIT (permissive) · f2f282fccca577a4 · report
conv_nd marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/nn.py community (archive-listed) unverified MIT (permissive) · fe4eb545bbb728e0 · report
generate_combined_imgs david-stojanovski/echo_from_noise/semantic_diffusion_model/image_sample.py community (archive-listed) unverified MIT (permissive) · 32e0ce60e5e4a76a · report
generate_combined_imgs marinadominguez/diffusion-for-us-images/semantic_diffusion_model/image_sample.py community (archive-listed) unverified MIT (permissive) · be07736fcb3c8e08 · report
generate_save_path david-stojanovski/echo_from_noise/data_preparation/extract_camus_data.py community (archive-listed) unverified MIT (permissive) · 229f00686cd1f4e4 · report
get_eval_loader marinadominguez/diffusion-for-us-images/semantic_diffusion_model/evaluations/default_dataset.py community (archive-listed) unverified MIT (permissive) · 3ca9f515edac9150 · report
get_named_beta_schedule marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/gaussian_diffusion.py community (archive-listed) unverified MIT (permissive) · 3b613b68a06ca387 · report
get_named_bmap_schedule marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/gaussian_diffusion.py community (archive-listed) unverified MIT (permissive) · 360c5a2ff3c23cfe · report
make_output_format marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/logger.py community (archive-listed) unverified MIT (permissive) · 64dfda52a70e9d95 · report
mpi_weighted_mean marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/logger.py community (archive-listed) unverified MIT (permissive) · e515a67f7f32e76d · report
normalize marinadominguez/diffusion-for-us-images/semantic_diffusion_model/evaluations/lpips.py community (archive-listed) unverified MIT (permissive) · 0577f262ab8bb1d6 · report
og_generate_combined_imgs marinadominguez/diffusion-for-us-images/semantic_diffusion_model/image_sample.py community (archive-listed) unverified MIT (permissive) · b1b789ea29c3974d · report
postprocess_tensor david-stojanovski/echo_from_noise/data_preparation/augment_camus_labels.py community (archive-listed) unverified MIT (permissive) · e66128d1ffdca21f · report
profile marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/logger.py community (archive-listed) unverified MIT (permissive) · 4207797329fb941e · report
random_crop_and_resize_image_label marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/image_datasets.py community (archive-listed) unverified MIT (permissive) · b0c33fed3d14e394 · report
resize_arr marinadominguez/diffusion-for-us-images/semantic_diffusion_model/guided_diffusion/image_datasets.py community (archive-listed) unverified MIT (permissive) · 5a02646b45207d08 · report
subsample_segmentation david-stojanovski/echo_from_noise/data_preparation/extract_camus_data.py community (archive-listed) unverified MIT (permissive) · c6c3fe3c7e93b6c9 · report

Tasks

DecoderDenoisingDiversityImage Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Concatenated Skip ConnectionConvolutionDiffusionMax PoolingReLUU-Net

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