E2Style: Improve the Efficiency and Effectiveness of StyleGAN Inversion
Authors:
- Tianyi WeiTWTianyi Wei
- Dongdong ChenDCDongdong Chen
- Wenbo ZhouWZWenbo Zhou
- Jing LiaoJLJing Liao
- Weiming ZhangWZWeiming Zhang
- Lu YuanLYLu Yuan
- Gang HuaGHGang Hua
- Nenghai YuNYNenghai Yu
Preprint
Abstract
This paper studies the problem of StyleGAN inversion, which plays an essential role in enabling the pretrained StyleGAN to be used for real image editing tasks. The goal of StyleGAN inversion is to find the exact latent code of the given image in the latent space of StyleGAN. This problem has a high demand for quality and efficiency. Existing optimization-based methods can produce high-quality results, but the optimization often takes a long time. On the contrary, forward-based methods are usually faster but the quality of their results is inferior. In this paper, we present a new feed-forward network "E2Style" for StyleGAN inversion, with significant improvement in terms of efficiency and effectiveness. In our inversion network, we introduce: 1) a shallower backbone with multiple efficient heads across scales; 2) multi-layer identity loss and multi-layer face parsing loss to the loss function; and 3) multi-stage refinement. Combining these designs together forms an effective and efficient method that exploits all benefits of optimization-based and forward-based methods. Quantitative and qualitative results show that our E2Style performs better than existing forward-based methods and comparably to state-of-the-art optimization-based methods while maintaining the high efficiency as well as forward-based methods. Moreover, a number of real image editing applications demonstrate the efficacy of our E2Style. Our code is available at \url{https://github.com/wty-ustc/e2style}Keywords
All Related Versions
This publication has 24 references indexed in Scilit:
- FISS GAN: A Generative Adversarial Network for Foggy Image Semantic SegmentationIEEE/CAA Journal of Automatica Sinica, 2021
- Closed-Form Factorization of Latent Semantics in GANs2021
- Inversion Based on a Detached Dual-Channel Domain Method for StyleGAN2 EmbeddingIEEE Signal Processing Letters, 2021
- Predicting Lung Cancers Using Epidemiological Data: A Generative-Discriminative FrameworkIEEE/CAA Journal of Automatica Sinica, 2021
- In-Domain GAN Inversion for Real Image Editing2020
- MU-GAN: Facial Attribute Editing Based on Multi-Attention MechanismIEEE/CAA Journal of Automatica Sinica, 2020
- Perceptual Losses for Real-Time Style Transfer and Super-Resolution2016
- Content-Adaptive Steganography by Minimizing Statistical DetectabilityIEEE Transactions on Information Forensics and Security, 2015
- Minimizing Additive Distortion in Steganography Using Syndrome-Trellis CodesIEEE Transactions on Information Forensics and Security, 2011
- Image quality assessment: from error visibility to structural similarityIEEE Transactions on Image Processing, 2004