arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.16151cs.CV

StylePrompter:所有风格所需的只是注意力

StylePrompter: All Styles Need Is Attention

Nanjing University of Aeronautics and Astronautics(南京航空航天大学);Lucerne University of Applied Sciences and Arts(卢塞恩应用科学与艺术大学)

Chenyi Zhuang, Pan Gao, Aljosa Smolic

AI总结:

本文提出StylePrompter,创新性地采用分层视觉Transformer在token级别预测$\mathcal{W^+}$潜码,并引入SMART模块在$\mathcal{F}$空间细化风格特征,在平衡图像重建质量与可编辑性上取得优异性能。

摘要:

GAN inversion旨在将给定图像反转为对应的潜码,以用于生成对抗网络(GANs),特别是存在解耦潜空间从而允许在潜空间层级进行基于属性图像编辑的StyleGAN。由于大多数反演方法基于卷积神经网络(CNNs)构建,我们创新性地引入分层视觉Transformer骨干网络,在token级别预测$\mathcal{W^+}$潜码。我们进一步在$\mathcal{F}$空间中应用风格驱动的多尺度自适应细化Transformer(SMART),以细化生成器的中间风格特征。通过将风格特征作为查询,从编码器的特征图中检索丢失的身份信息,SMART不仅能生成高质量的反转图像,还能出人意料地适应编辑任务。随后我们证明StylePrompter位于更解耦的$\mathcal{W^+}$空间中,并展示了SMART的可控性。最后,定量与定性实验表明,StylePrompter能在平衡重建质量与可编辑性方面取得理想性能,并且足够“智能”以适应大多数编辑,优于其他涉及$\mathcal{F}$的反演方法。

英文摘要:

GAN inversion aims at inverting given images into corresponding latent codes for Generative Adversarial Networks (GANs), especially StyleGAN where exists a disentangled latent space that allows attribute-based image manipulation at latent level. As most inversion methods build upon Convolutional Neural Networks (CNNs), we transfer a hierarchical vision Transformer backbone innovatively to predict $\mathcal{W^+}$ latent codes at token level. We further apply a Style-driven Multi-scale Adaptive Refinement Transformer (SMART) in $\mathcal{F}$ space to refine the intermediate style features of the generator. By treating style features as queries to retrieve lost identity information from the encoder's feature maps, SMART can not only produce high-quality inverted images but also surprisingly adapt to editing tasks. We then prove that StylePrompter lies in a more disentangled $\mathcal{W^+}$ and show the controllability of SMART. Finally, quantitative and qualitative experiments demonstrate that StylePrompter can achieve desirable performance in balancing reconstruction quality and editability, and is "smart" enough to fit into most edits, outperforming other $\mathcal{F}$-involved inversion methods.

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

↑