Adding Conditional Control to Text-to-Image Diffusion Models
Lvmin Zhang, Anyi Rao, Maneesh Agrawala · IEEE/CVF International Conference on Computer Vision (ICCV) · 2023
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, e.g., 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 (1m) datasets. Extensive results show that ControlNet may facilitate wider applications to control image diffusion models.
Cited by 4,408 works. doi:10.1109/iccv51070.2023.00355
Authors
References
- Gradient-based learning applied to document recognition
- Learning representations by back-propagating errors
- Deep learning
- U-Net: Convolutional Networks for Biomedical Image Segmentation
- A Computational Approach to Edge Detection
- Image-to-Image Translation with Conditional Adversarial Networks
- Unpaired Image-to-Image Translation Using Cycle-Consistent Adversarial Networks
- High-Resolution Image Synthesis with Latent Diffusion Models
- Proceedings of the 24th international conference on Machine learning
- Advances in Neural Information Processing Systems 29