Papers › Adding Conditional Control to Text-to-Image Diffusion Models

Adding Conditional Control to Text-to-Image Diffusion Models

10 Feb 2023ICCV 2023 1arXiv:2302.05543archive 2025-07-28

Lvmin Zhang, Anyi Rao, Maneesh Agrawala

We present ControlNet, a neural network architecture to add spatial conditioning controls to large, pretrained text-to-image diffusion models. ControlNet locks the production-ready large diffusion models, and reuses their deep and robust encoding layers pretrained with billions of images as a strong backbone to learn a diverse set of conditional controls. The neural architecture is connected with "zero convolutions" (zero-initialized convolution layers) that progressively grow the parameters from zero and ensure that no harmful noise could affect the finetuning. We test various conditioning controls, eg, edges, depth, segmentation, human pose, etc, with Stable Diffusion, using single or multiple conditions, with or without prompts. We show that the training of ControlNets is robust with small (<50k) and large (>1m) datasets. Extensive results show that ControlNet may facilitate wider applications to control image diffusion models.

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="2302.05543")

Code

Syntology Ran 2 of 4 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 1 ran · fixture could not drive it.

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

lllyasviel/controlnet officialmentioned in papermentioned on GitHubpytorch report
DingDing33/BPS-v1-1 mentioned on GitHubpytorch report
Francis-Rings/MotionEditor mentioned on GitHubpytorch report
KU-CVLAB/Perturbed-Attention-Guidance mentioned on GitHubpytorchMIT report
bytedance/x-dyna mentioned on GitHubpytorchApache-2.0 report
explainingai-code/ControlNet-PyTorch mentioned on GitHubpytorchMIT report
fhshen2022/prunerepaint mentioned on GitHubpytorch report
google/style-aligned mentioned on GitHubpytorchApache-2.0 report
microsoft/visual-chatgpt mentioned on GitHubNOASSERTION report
quereste/implicit-deepfake mentioned on GitHubpytorch report
xuanliu2000/vgcdm mentioned on GitHubpytorch report
modelscope/modelscope pytorchApache-2.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

4 samples harvested; 2 ran; 0 honoured the contract we drafted; 2 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.

1ran · our draft was wrong
1ran · fixture could not drive it
2unverified

Licence: 0 of the 4 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 explainingai-code/ControlNet-PyTorch. “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_time_embedding explainingai-code/ControlNet-PyTorch/models/blocks.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · d3705ec829eb39f1 · report
spatial_average explainingai-code/ControlNet-PyTorch/models/lpips.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 29e5e72bcd006dcd · report
get_config_value explainingai-code/ControlNet-PyTorch/utils/config_utils.py community (archive-listed) unverified MIT (permissive) · 97f9c554227c4d08 · report
make_zero_module explainingai-code/ControlNet-PyTorch/models/controlnet.py community (archive-listed) unverified MIT (permissive) · cc09ac4f5193b11a · report

Tasks

Image GenerationLayout-to-Image GenerationText to Image Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Layout-to-Image Generation LayoutBench-COCO - Combination ControlNet AP 6.4 #4 of 4 Archive leaderboard report
Layout-to-Image Generation LayoutBench-COCO - Number ControlNet AP 9.2 #4 of 4 Archive leaderboard report
Layout-to-Image Generation LayoutBench-COCO - Position ControlNet AP 15.3 #4 of 4 Archive leaderboard report
Layout-to-Image Generation LayoutBench-COCO - Size ControlNet AP 10.8 #4 of 4 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

ConvolutionDiffusion

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