arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.09240cs.CV
收藏

RepControlNet:ControlNet重参数化

RepControlNet: ControlNet Reparameterization

Honor Device Co., Ltd(荣耀终端有限公司);Tongji University(同济大学)

Zhaoli Deng, Kaibin Zhou, Fanyi Wang, Zhenpeng Mi

AI总结:

针对扩散模型可控生成推理成本高的问题,提出RepControlNet模态重参数化方法,训练时用适配器调制模态信息、复制原模型可学习层并仅优化模态网络参数,推理时重参数化融合权重,在SD1.5和SDXL上验证了其高效性与有效性。

摘要:

随着扩散模型的广泛应用,推理资源成本高昂已成为其普及应用的重要瓶颈。以ControlNet为代表的可控生成是扩散模型的关键研究方向之一,推理加速与模型压缩相关研究的重要性愈发凸显。为解决这一问题,本文提出一种模态重参数化方法RepControlNet,在不增加计算量的前提下实现扩散模型的可控生成。训练阶段,RepControlNet使用适配器将模态信息调制到特征空间,复制原始扩散模型的CNN与MLP可学习层作为模态网络,并基于原始权重与系数初始化这些权重,训练过程仅优化模态网络的参数。推理阶段,将模态网络中的权重与原始扩散模型的权重进行重参数化融合,在不增加参数量的情况下,性能可媲美甚至超越ControlNet这类需额外参数与计算量的方法。我们在SD1.5与SDXL上开展了大量实验,实验结果验证了所提RepControlNet的有效性与高效性。

英文摘要:

With the wide application of diffusion model, the high cost of inference resources has became an important bottleneck for its universal application. Controllable generation, such as ControlNet, is one of the key research directions of diffusion model, and the research related to inference acceleration and model compression is more important. In order to solve this problem, this paper proposes a modal reparameterization method, RepControlNet, to realize the controllable generation of diffusion models without increasing computation. In the training process, RepControlNet uses the adapter to modulate the modal information into the feature space, copy the CNN and MLP learnable layers of the original diffusion model as the modal network, and initialize these weights based on the original weights and coefficients. The training process only optimizes the parameters of the modal network. In the inference process, the weights of the neutralization original diffusion model in the modal network are reparameterized, which can be compared with or even surpass the methods such as ControlNet, which use additional parameters and computational quantities, without increasing the number of parameters. We have carried out a large number of experiments on both SD1.5 and SDXL, and the experimental results show the effectiveness and efficiency of the proposed RepControlNet.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑