Skip to main navigation Skip to search Skip to main content

Transforming the latent space of StyleGAN for real face editing

  • Heyi Li
  • , Jinlong Liu
  • , Xinyu Zhang
  • , Yunzhi Bai
  • , Huayan Wang
  • , Klaus Mueller
  • China Aerospace Science and Technology Corporation
  • Kuaishou
  • Stony Brook University

Research output: Contribution to journalArticlepeer-review

8 Scopus citations

Abstract

Despite recent advances in semantic manipulation using StyleGAN, semantic editing of real faces remains challenging. The gap between the W space and the W+ 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 StyleGAN’s mapping network with attention-based transformers. This simple and effective technique integrates the two spaces mentioned above and transforms them into one new latent space called W++. Our modified StyleGAN maintains the state-of-the-art generation quality of the original StyleGAN with moderately better diversity. But more importantly, the proposed W++ space achieves superior performance in both reconstruction quality and editing quality. Besides these significant advantages, our W++ space supports existing inversion algorithms and editing methods with only negligible modifications thanks to its structural similarity with the W/W+ space. Extensive experiments on the FFHQ dataset prove that our proposed W++ space is evidently preferable to the previous W/W+ space for real face editing. The code is publicly available for research purposes at https://github.com/AnonSubm2021/TransStyleGAN.

Original languageEnglish
Pages (from-to)3553-3568
Number of pages16
JournalVisual Computer
Volume40
Issue number5
DOIs
StatePublished - May 2024

Keywords

  • Disentanglement
  • Explainable artificial intelligence
  • Generative adversarial network
  • Semantic editing
  • Transformer

Fingerprint

Dive into the research topics of 'Transforming the latent space of StyleGAN for real face editing'. Together they form a unique fingerprint.

Cite this