Scinovex
articleTop 1% cited

Designing an encoder for StyleGAN image manipulation

ACM Transactions on Graphics · 2021 · Vol. 40(4) · pp. 1–14
Omer TovYuval AlalufYotam NitzanOr PatashnikDaniel 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.

Generative Adversarial Networks and Image SynthesisAdvanced Image Processing TechniquesAdvanced Vision and ImagingComputer scienceEncoderGenerator (circuit theory)Distortion (music)Artificial intelligenceImage (mathematics)Computer visionImage editingSource codeInversion (geology)

Funding

  • Israel Science Foundation
Citations
642
FWCI
50.30
field-weighted impact
References
27
Percentile
100%
vs. same field & year
Citations per year
Citation Network

How this paper connects to the literature. Drag to explore, click any node to open that paper.

Designing an encoder for StyleGAN image manipulation · Scinovex