Lune

ACM MM2023Top-tier venue

StylePrompter: All Styles Need Is Attention

Chenyi Zhuang, Pan Gao, Aljosa Smolic

2023Year
1Citations

Abstract

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 W + latent codes at token level. We further apply a Style-driven Multi-scale Adaptive Refinement Transformer (SMART) in 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 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 F -involved inversion methods. Our code is available at: https://github.com/I2-Multimedia- Lab/StylePrompter.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext be114e16-225d-4cf4-9acc-473b73ec5893

Builds on32

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines