RepControlNet: ControlNet Reparameterization

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Deng, Zhaoli, Zhou, Kaibin, Wang, Fanyi, Mi, Zhenpeng
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910569433399296
author Deng, Zhaoli
Zhou, Kaibin
Wang, Fanyi
Mi, Zhenpeng
author_facet Deng, Zhaoli
Zhou, Kaibin
Wang, Fanyi
Mi, Zhenpeng
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2408_09240
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle RepControlNet: ControlNet Reparameterization
Deng, Zhaoli
Zhou, Kaibin
Wang, Fanyi
Mi, Zhenpeng
Computer Vision and Pattern Recognition
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.
title RepControlNet: ControlNet Reparameterization
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2408.09240