Lune

SIGGRAPH2021Top-tier venue

Designing an encoder for StyleGAN image manipulation

Omer Tov, Yuval Alaluf, Yotam Nitzan, Or Patashnik, Daniel Cohen-Or

Abstract

Recently, there has been a surge of diverse methods for performing image editing by employing pre-trained unconditional generators. Applying these methods on real images, however, remains a challenge, as it necessarily requires the inversion of the images into their latent space. To successfully invert a real image, one needs to find a latent code that reconstructs the input image accurately, and more importantly, allows for its meaningful manipulation. In this paper, we carefully study the latent space of StyleGAN, the state-of-the-art unconditional generator. We identify and analyze the existence of a distortion-editability tradeoff and a distortion-perception tradeoff within the StyleGAN latent space. We then suggest two principles for designing encoders in a manner that allows one to control the proximity of the inversions to regions that StyleGAN was originally trained on. We present an encoder based on our two principles that is specifically designed for facilitating editing on real images by balancing these tradeoffs. By evaluating its performance qualitatively and quantitatively on numerous challenging domains, including cars and horses, we show that our inversion method, followed by common editing techniques, achieves superior real-image editing quality, with only a small reconstruction accuracy drop.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

47 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Encoder-based Domain Tuning for Fast Personalization of Text-to-Image Models cites Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?
  • Encoder-based Domain Tuning for Fast Personalization of Text-to-Image Models cites StyleGAN-NADA: CLIP-guided domain adaptation of image generators
  • Unsupervised Discovery of Interpretable Directions in the GAN Latent Space cites On the "steerability" of generative adversarial networks
  • Effective Real Image Editing with Accelerated Iterative Diffusion Inversion cites Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?
  • Effective Real Image Editing with Accelerated Iterative Diffusion Inversion cites StyleGAN-NADA: CLIP-guided domain adaptation of image generators
  • StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets cites On the "steerability" of generative adversarial networks
  • StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets cites Unsupervised Discovery of Interpretable Directions in the GAN Latent Space
  • StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets cites Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?
  • StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets cites GANSpace: Discovering Interpretable GAN Controls
  • StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets cites Training Generative Adversarial Networks with Limited Data
  • GANSpace: Discovering Interpretable GAN Controls cites On the "steerability" of generative adversarial networks
  • GANSpace: Discovering Interpretable GAN Controls cites Unsupervised Discovery of Interpretable Directions in the GAN Latent Space
  • StyleGAN-NADA: CLIP-guided domain adaptation of image generators cites Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?
  • StyleGAN-NADA: CLIP-guided domain adaptation of image generators cites GANSpace: Discovering Interpretable GAN Controls
  • StyleGAN-NADA: CLIP-guided domain adaptation of image generators cites Only a matter of style: age transformation using a style-based regression model
  • StyleGAN-NADA: CLIP-guided domain adaptation of image generators cites Training Generative Adversarial Networks with Limited Data
  • Only a matter of style: age transformation using a style-based regression model cites Unsupervised Discovery of Interpretable Directions in the GAN Latent Space
  • Only a matter of style: age transformation using a style-based regression model cites Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?
  • Only a matter of style: age transformation using a style-based regression model cites GANSpace: Discovering Interpretable GAN Controls
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers47

  1. StyleGAN-NADA: CLIP-guided domain adaptation of image generatorsRinon Gal, Or Patashnik, Haggai Maron, Amit H. Bermano et al.SIGGRAPH 2022 · 501 citations
  2. StyleGAN-XL: Scaling StyleGAN to Large Diverse DatasetsAxel Sauer, Katja Schwarz, Andreas GeigerSIGGRAPH 2022 · 326 citations
  3. Encoder-based Domain Tuning for Fast Personalization of Text-to-Image ModelsRinon Gal, Moab Arar, Yuval Atzmon, Amit H. Bermano et al.SIGGRAPH 2023 · 154 citations
  4. Only a matter of style: age transformation using a style-based regression modelYuval Alaluf, Or Patashnik, Daniel Cohen-OrSIGGRAPH 2021 · 143 citations
  5. Effective Real Image Editing with Accelerated Iterative Diffusion InversionZhihong Pan, Riccardo Gherardi, Xiufeng Xie, Stephen HuangICCV 2023 · 86 citations

Builds on19

  1. Training Generative Adversarial Networks with Limited DataTero Karras, Miika Aittala, Janne Hellsten, Samuli Laine et al.NeurIPS 2020 · 2,345 citations
  2. Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?Rameen Abdal, Yipeng Qin, Peter WonkaICCV 2019 · 1,195 citations
  3. GANSpace: Discovering Interpretable GAN ControlsErik Härkönen, Aaron Hertzmann, Jaakko Lehtinen, Sylvain ParisNeurIPS 2020 · 1,049 citations
  4. Unsupervised Discovery of Interpretable Directions in the GAN Latent SpaceAndrey Voynov, Artem BabenkoICML 2020 · 459 citations
  5. On the "steerability" of generative adversarial networksAli Jahanian, Lucy Chai, Phillip IsolaICLR 2020 · 421 citations

Related papers

  1. ReGANIE: Rectifying GAN Inversion Errors for Accurate Real Image EditingBingchuan Li, Tianxiang Ma, Peng Zhang, Miao Hua et al.AAAI 2023 · 11 citations
  2. HyperStyle: StyleGAN Inversion with HyperNetworks for Real Image EditingYuval Alaluf, Omer Tov, Ron Mokady, Rinon Gal et al.CVPR 2022 · 250 citations
  3. A Latent Transformer for Disentangled Face Editing in Images and VideosXu Yao, Alasdair Newson, Yann Gousseau, Pierre HellierICCV 2021 · 97 citations
  4. Diverse Inpainting and Editing with GAN InversionAhmet Burak Yildirim, Hamza Pehlivan, Bahri Batuhan Bilecen, Aysegul DundarICCV 2023 · 35 citations
  5. StyleRes: Transforming the Residuals for Real Image Editing with StyleGANHamza Pehlivan, Yusuf Dalva, Aysegul DundarCVPR 2023
Dusk over the sea between two cliffs drawn in fine vertical lines