English

Transforming the Latent Space of StyleGAN for Real Face Editing

Computer Vision and Pattern Recognition 2022-07-22 v2

Abstract

Despite recent advances in semantic manipulation using StyleGAN, semantic editing of real faces remains challenging. The gap between the WW space and the WW+ space demands an undesirable trade-off between reconstruction quality and editing quality. To solve this problem, we propose to expand the latent space by replacing fully-connected layers in the StyleGAN's mapping network with attention-based transformers. This simple and effective technique integrates the aforementioned two spaces and transforms them into one new latent space called WW++. Our modified StyleGAN maintains the state-of-the-art generation quality of the original StyleGAN with moderately better diversity. But more importantly, the proposed WW++ space achieves superior performance in both reconstruction quality and editing quality. Despite these significant advantages, our WW++ space supports existing inversion algorithms and editing methods with only negligible modifications thanks to its structural similarity with the W/WW/W+ space. Extensive experiments on the FFHQ dataset prove that our proposed WW++ space is evidently more preferable than the previous W/WW/W+ space for real face editing. The code is publicly available for research purposes at https://github.com/AnonSubm2021/TransStyleGAN.

Keywords

Cite

@article{arxiv.2105.14230,
  title  = {Transforming the Latent Space of StyleGAN for Real Face Editing},
  author = {Heyi Li and Jinlong Liu and Xinyu Zhang and Yunzhi Bai and Huayan Wang and Klaus Mueller},
  journal= {arXiv preprint arXiv:2105.14230},
  year   = {2022}
}

Comments

28 pages, 15 figures