向文本到图像扩散模型添加条件控制

Adding Conditional Control to Text-to-Image Diffusion Models

张吕敏 Lvmin Zhang · Stanford · 2023-02-10 · arXiv:2302.05543 ↗ · 被引 7239

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

我们提出了 ControlNet,一种神经网络架构,用于向大型预训练文本到图像扩散模型添加空间条件控制。ControlNet 锁定生产就绪的大型扩散模型,并重用其经过数十亿图像预训练的深度且稳健的编码层作为强大骨干,以学习多样化的条件控制。该神经架构通过“零卷积”(零初始化的卷积层)连接,这些层从零开始逐步增长参数,确保不会引入有害噪声影响微调。我们使用 Stable Diffusion 测试了各种条件控制,例如边缘、深度、分割、人体姿态等,使用单个或多个条件,带或不带提示。我们展示了 ControlNet 的训练对于小数据集(<50k)和大数据集(>1m)都是稳健的。大量结果表明,ControlNet 可能促进控制图像扩散模型的更广泛应用。

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 (&lt;50k) and large (&gt;1m) datasets. Extensive results show that ControlNet may facilitate wider applications to control image diffusion models.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 17)

阅读逐段中英对照全文 →