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

RefineStyle:面向StyleGAN的动态卷积精炼

RefineStyle: Dynamic Convolution Refinement for StyleGAN

East China Normal University(华东师范大学)

Siwei Xia, Xueqi Hu, Li Sun, Qingli Li

AI总结:

针对StyleGAN的$\mathcal{W}^+$空间限制导致域外图像合成效果差的问题,提出基于低秩残差的动态卷积核精炼方法RefineStyle,在图像反转和域适配任务上均取得更优表现。

摘要:

在StyleGAN中,卷积核由跨图像共享的静态参数与每张图像特有的动态调制因子$w^+\u2208\mathcal{W}^+$共同决定,因此$\mathcal{W}^+$空间常被用于图像反转与编辑。然而,受限于$\mathcal{W}^+$空间及其生成卷积核的能力,预训练模型难以合成域外图像,需要通过全量微调或复杂超网络进行适配。本文提出一种高效的动态卷积核精炼策略,核心思路是通过从输入图像或域引导中学习的低秩残差来修改卷积核。这些残差由两组数量相同的token通过矩阵乘法生成,可控制计算复杂度。我们在图像反转和域适配两个任务中验证了该精炼方案:在图像反转任务中,设计了分组transformer块,通过一阶段或两阶段训练学习这些token集;在域适配任务中,直接优化token集以支持目标域的合成同时保留原始内容。大量实验表明,该方法在图像反转任务中实现了低失真,在域外编辑任务中达到了高质量效果。

英文摘要:

In StyleGAN, convolution kernels are shaped by both static parameters shared across images and dynamic modulation factors $w^+\in\mathcal{W}^+$ specific to each image. Therefore, $\mathcal{W}^+$ space is often used for image inversion and editing. However, pre-trained model struggles with synthesizing out-of-domain images due to the limited capabilities of $\mathcal{W}^+$ and its resultant kernels, necessitating full fine-tuning or adaptation through a complex hypernetwork. This paper proposes an efficient refining strategy for dynamic kernels. The key idea is to modify kernels by low-rank residuals, learned from input image or domain guidance. These residuals are generated by matrix multiplication between two sets of tokens with the same number, which controls the complexity. We validate the refining scheme in image inversion and domain adaptation. In the former task, we design grouped transformer blocks to learn these token sets by one- or two-stage training. In the latter task, token sets are directly optimized to support synthesis in the target domain while preserving original content. Extensive experiments show that our method achieves low distortions for image inversion and high quality for out-of-domain editing.

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

↑