ReGANIE: Rectifying GAN Inversion Errors for Accurate Real Image Editing

Abstract

The StyleGAN family succeed in high-fidelity image generation and allow for flexible and plausible editing of generated images by manipulating the semantic-rich latent style space. However, projecting a real image into its latent space encounters an inherent trade-off between inversion quality and editability. Existing encoder-based or optimization-based StyleGAN inversion methods attempt to mitigate the trade-off but see limited performance. To fundamentally resolve this problem, we propose a novel two-phase framework by designating two separate networks to tackle editing and reconstruction respectively, instead of balancing the two. Specifically, in Phase I, a W-space-oriented StyleGAN inversion network is trained and used to perform image inversion and edit- ing, which assures the editability but sacrifices reconstruction quality. In Phase II, a carefully designed rectifying network is utilized to rectify the inversion errors and perform ideal reconstruction. Experimental results show that our approach yields near-perfect reconstructions without sacrificing the editability, thus allowing accurate manipulation of real images. Further, we evaluate the performance of our rectifying net- work, and see great generalizability towards unseen manipulation types and out-of-domain images.

Cite

Text

Li et al. "ReGANIE: Rectifying GAN Inversion Errors for Accurate Real Image Editing." AAAI Conference on Artificial Intelligence, 2023. doi:10.1609/AAAI.V37I1.25210

Markdown

[Li et al. "ReGANIE: Rectifying GAN Inversion Errors for Accurate Real Image Editing." AAAI Conference on Artificial Intelligence, 2023.](https://mlanthology.org/aaai/2023/li2023aaai-reganie/) doi:10.1609/AAAI.V37I1.25210

BibTeX

@inproceedings{li2023aaai-reganie,
  title     = {{ReGANIE: Rectifying GAN Inversion Errors for Accurate Real Image Editing}},
  author    = {Li, Bingchuan and Ma, Tianxiang and Zhang, Peng and Hua, Miao and Liu, Wei and He, Qian and Yi, Zili},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2023},
  pages     = {1269-1277},
  doi       = {10.1609/AAAI.V37I1.25210},
  url       = {https://mlanthology.org/aaai/2023/li2023aaai-reganie/}
}