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

实用的即插即用扩散模型

Towards Practical Plug-and-Play Diffusion Models

Riiid AI Research(Riiid AI 研究院)

Hyojun Go, Yunsung Lee, Jin-Young Kim, Seunghyun Lee, Myeongho Jeong, Hyun Seung Lee, Seungtaek Choi

摘要:

基于扩散的生成模型在图像生成方面取得了显著的成功。他们的指导制定允许一个外部模型,即插即用控制生成过程中的各种任务,而无需微调的扩散模型。然而,直接使用公开可用的现成的模型进行指导失败,由于其性能差的噪声输入。为此,现有的做法是微调与噪声污染的标记数据的制导模型。在本文中,我们认为这种做法在两个方面存在局限性:(1)对于单个制导模型来说,在具有各种噪声的输入上执行太难了;(2)收集标记数据集阻碍了各种任务的扩展。为了解决这些局限性,我们提出了一种新的策略,该策略利用多个专家,其中每个专家都专门研究特定的噪声范围,并在相应的时间步指导扩散的反向过程。然而,由于管理多个网络和利用标记数据是不可行的,我们提出了一个实用的指导框架,称为实用的即插即用(PPAP),它利用参数高效微调和无数据的知识转移。我们详尽地进行了ImageNet类条件生成实验,以证明我们的方法可以成功地用小的可训练参数和无标记数据引导扩散。最后,我们表明,图像分类器,深度估计,和语义分割模型可以通过我们的框架,即插即用的方式引导公开可用的GLIDE。我们的代码可在https://github.com/riiid/PPAP上获得。

英文摘要:

Diffusion-based generative models have achieved remarkable success in image generation. Their guidance formulation allows an external model to plug-and-play control the generation process for various tasks without finetuning the diffusion model. However, the direct use of publicly available off-the-shelf models for guidance fails due to their poor performance on noisy inputs. For that, the existing practice is to fine-tune the guidance models with labeled data corrupted with noises. In this paper, we argue that this practice has limitations in two aspects: (1) performing on inputs with extremely various noises is too hard for a single guidance model; (2) collecting labeled datasets hinders scaling up for various tasks. To tackle the limitations, we propose a novel strategy that leverages multiple experts where each expert is specialized in a particular noise range and guides the reverse process of the diffusion at its corresponding timesteps. However, as it is infeasible to manage multiple networks and utilize labeled data, we present a practical guidance framework termed Practical Plug-And-Play (PPAP), which leverages parameter-efficient fine-tuning and data-free knowledge transfer. We exhaustively conduct ImageNet class conditional generation experiments to show that our method can successfully guide diffusion with small trainable parameters and no labeled data. Finally, we show that image classifiers, depth estimators, and semantic segmentation models can guide publicly available GLIDE through our framework in a plug-and-play manner. Our code is available at https://github.com/riiid/PPAP.

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

↑