E2Style: Improve the Efficiency and Effectiveness of StyleGAN Inversion
- 19 April 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Image Processing
- Vol. 31 (10577149) , 3267-3280
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 https://github.com/wty-ustc/e2styleKeywords
All Related Versions
Funding Information
- NSFC (U20B2047, U1636201, 62002334, 62121002)
- Anhui Science Foundation of China (2008085QF296)
- Exploration Fund Project of USTC (YD3480002001)
- ECS Grant from the RGC of the Hong Kong (CityU 21209119)
- DON_RMG Grant from CityU, Hong Kong (9229064)
- National Key Research and Development Program of China (2018AAA0101400)
- NSFC (61629301)
This publication has 54 references indexed in Scilit:
- Feature Pyramid Networks for Object Detection2017
- ImageNet classification with deep convolutional neural networksCommunications of the ACM, 2017
- Perceptual Losses for Real-Time Style Transfer and Super-Resolution2016
- Deep Residual Learning for Image Recognition2016
- Content-Adaptive Steganography by Minimizing Statistical DetectabilityIEEE Transactions on Information Forensics and Security, 2015
- Going deeper with convolutions2015
- Universal distortion function for steganography in an arbitrary domainEURASIP Journal on Information Security, 2014
- 3D Object Representations for Fine-Grained Categorization2013
- 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