CVFeb 4, 2021

Designing an Encoder for StyleGAN Image Manipulation

arXiv:2102.02766v1891 citations
Originality Incremental advance
AI Analysis

This work improves the quality of real-image editing for users of StyleGAN by providing a more effective inversion method.

This paper addresses the challenge of inverting real images into StyleGAN's latent space for image editing. It identifies and analyzes distortion-editability and distortion-perception tradeoffs within StyleGAN's latent space. The authors propose an encoder design based on two principles that balances these tradeoffs, resulting in superior real-image editing quality with only a small reconstruction accuracy drop.

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.

Code Implementations8 repos

Data from Papers with Code (CC-BY-SA-4.0)

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes