Reproduce “Adding Conditional Control to Text-to-Image Diffusion Models” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Lvmin Zhang, Anyi Rao, Maneesh Agrawala

ControlNet lets users guide a pretrained text-to-image generator with spatial inputs including edges and pose. It freezes a network block and adds a trainable copy, connected through zero-initialized layers, so the added route contributes zero initially. In a depth-conditioned Stable Diffusion V2 comparison, 12 participants identified the models with average precision 0.52 ± 0.17, a result limited to that user task.

Key insights

  • Zero convolutions, initialized to zero, prevent initial training noise from disrupting the pretrained backbone, allowing the model to learn conditional control progressively without harming pre-existing image generation capabilities.
  • Locking the parameters of the original large diffusion model and only training a copy effectively preserves its vast knowledge base, mitigating catastrophic forgetting when adapting to new conditions.
  • The architecture efficiently learns diverse spatial controls from relatively small datasets by leveraging the powerful, frozen backbone of the large pretrained model.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.