SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.16322 · 2023

Uni-ControlNet: All-in-One Control to Text-to-Image Diffusion Models

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 5 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2305.16322.json · badge: /api/ran/2305.16322.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
shihaozhaozsh/uni-controlnet canonical (classifier label)
classifier basis not recorded on the link
7 ran · 1 no recorded run
FunctionStatusWhere it lives
HWC3 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
shihaozhaozsh/uni-controlnet/annotator/util.py
pointer only (licence: MIT) · get_code("f9ec7d70add02b6f")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shihaozhaozsh/uni-controlnet, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

default Ran
ran, violated the contract we drafted
shihaozhaozsh/uni-controlnet/ldm/modules/attention.py
pointer only (licence: MIT) · get_code("424012cb37b31172")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shihaozhaozsh/uni-controlnet, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

exists Ran
ran, violated the contract we drafted
shihaozhaozsh/uni-controlnet/ldm/modules/attention.py
pointer only (licence: MIT); the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shihaozhaozsh/uni-controlnet, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_state_dict Ran
ran; our contract draft was wrong, not the code
shihaozhaozsh/uni-controlnet/models/util.py
pointer only (licence: MIT) · get_code("cfc17707f35e7ec4")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shihaozhaozsh/uni-controlnet, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_layers Ran
ran; our contract draft was wrong, not the code
shihaozhaozsh/uni-controlnet/annotator/openpose/model.py
pointer only (licence: MIT) · get_code("0af8635db2bb32a2")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shihaozhaozsh/uni-controlnet, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resize_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
shihaozhaozsh/uni-controlnet/annotator/util.py
pointer only (licence: MIT); the stored copy get_code serves, from DeepakSridhar/fgdm, is pointer only (licence: NOASSERTION) · get_code("50fd68f6989503c6")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shihaozhaozsh/uni-controlnet, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

uniq Ran
ran; our contract draft was wrong, not the code
shihaozhaozsh/uni-controlnet/ldm/modules/attention.py
pointer only (licence: MIT); the stored copy get_code serves, from JingWu321/MUNBa, is pointer only (licence: NONE) · get_code("9a299fe5ae09e407")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shihaozhaozsh/uni-controlnet, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_state_dict Not yet run
unverified (harvested, no recorded run)
shihaozhaozsh/uni-controlnet/models/util.py
pointer only (licence: MIT) · get_code("df733a879693145d")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, shihaozhaozsh/uni-controlnet, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 8 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 8 the same month, 8 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
exists 486 other papers
174 dated earlier, 13 the same month, 293 later, 4 same year, order not determinable, 2 undated · 78 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
and 483 more not named here
default 207 other papers
51 dated earlier, 8 the same month, 146 later, 2 same year, order not determinable · 41 only as an assembly brick
1711.11585 (2017-11)
High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.08162 (2020-10)
SidechainNet: An All-Atom Protein Structure Dataset for Machine Learning
and 204 more not named here
uniq 115 other papers
18 dated earlier, 3 the same month, 92 later, 2 same year, order not determinable
2112.10752 (2021-12)
High-Resolution Image Synthesis with Latent Diffusion Models
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2206.02779 (2022-06)
Blended Latent Diffusion
and 112 more not named here
get_state_dict 29 other papers
1 dated earlier, 2 the same month, 26 later
2304.04269 (2023-04)
HumanSD: A Native Skeleton-Guided Diffusion Model for Human Image Generation
2305.02034 (2023-05)
SAMRS: Scaling-up Remote Sensing Segmentation Dataset with Segment Anything Model
2305.11147 (2023-05)
UniControl: A Unified Diffusion Model for Controllable Visual Generation In the Wild
and 26 more not named here
load_state_dict 25 other papers
1 dated earlier, 2 the same month, 22 later
2304.04269 (2023-04)
HumanSD: A Native Skeleton-Guided Diffusion Model for Human Image Generation
2305.02034 (2023-05)
SAMRS: Scaling-up Remote Sensing Segmentation Dataset with Segment Anything Model
2305.11147 (2023-05)
UniControl: A Unified Diffusion Model for Controllable Visual Generation In the Wild
and 22 more not named here
HWC3 18 other papers
2 the same month, 16 later
2305.10973 (2023-05)
Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold
2305.17098 (2023-05)
ControlVideo: Conditional Control for One-shot Text-driven Video Editing and Beyond
2308.09592 (2023-08)
StableVideo: Text-driven Consistency-aware Diffusion Video Editing
and 15 more not named here
resize_image 13 other papers
1 the same month, 12 later
2305.17098 (2023-05)
ControlVideo: Conditional Control for One-shot Text-driven Video Editing and Beyond
2308.09592 (2023-08)
StableVideo: Text-driven Consistency-aware Diffusion Video Editing
2310.13165 (2023-10)
CycleNet: Rethinking Cycle Consistency in Text-Guided Diffusion for Image Manipulation
and 10 more not named here
make_layers 6 other papers
1 the same month, 5 later
2305.17098 (2023-05)
ControlVideo: Conditional Control for One-shot Text-driven Video Editing and Beyond
2310.13165 (2023-10)
CycleNet: Rethinking Cycle Consistency in Text-Guided Diffusion for Image Manipulation
2312.04524 (2023-12)
RAVE: Randomized Noise Shuffling for Fast and Consistent Video Editing with Diffusion Models
and 3 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Text-to-Image diffusion models have made tremendous progress over the past two years, enabling the generation of highly realistic images based on open-domain text descriptions. However, despite their success, text descriptions often struggle to adequately convey detailed controls, even when composed of long and complex texts. Moreover, recent studies have also shown that these models face challenges in understanding such complex texts and generating the corresponding images. Therefore, there is a growing need to enable more control modes beyond text description. In this paper, we introduce Uni-ControlNet, a unified framework that allows for the simultaneous utilization of different local controls (e.g., edge maps, depth map, segmentation masks) and global controls (e.g., CLIP image embeddings) in a flexible and composable manner within one single model. Unlike existing methods, Uni-ControlNet only requires the fine-tuning of two additional adapters upon frozen pre-trained text-to-image diffusion models, eliminating the huge cost of training from scratch. Moreover, thanks to some dedicated adapter designs, Uni-ControlNet only necessitates a constant number (i.e., 2) of adapters, regardless of the number of local or global controls used. This not only reduces the fine-tuning costs and model size, making it more suitable for real-world deployment, but also facilitate composability of different conditions. Through both quantitative and qualitative comparisons, Uni-ControlNet demonstrates its superiority over existing methods in terms of controllability, generation quality and composability. Code is available at \url{https://github.com/ShihaoZhaoZSH/Uni-ControlNet}.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2305.16322")
get_code_for_paper("2305.16322")
have("2305.16322")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2305.16322.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2305.16322.svg)](https://syntology.ai/paper/2305.16322)

Connect an agent — have() is free.