GANalyzer: Analysis and Manipulation of GANs Latent Space for Controllable Face Synthesis

Ali Pourramezan Fard, Mohammad H. Mahoor, Sarah Ariel Lamer, Timothy Sweeny
2/2/2023
cs.CVcs.LG

No official code found. Best implementation: aliprf/GANalyzer (41 stars, last commit 2024-02-15).

Abstract

Generative Adversarial Networks (GANs) are capable of synthesizing high-quality facial images. Despite their success, GANs do not provide any information about the relationship between the input vectors and the generated images. Currently, facial GANs are trained on imbalanced datasets, which generate less diverse images. For example, more than 77% of 100K images that we randomly synthesized using the StyleGAN3 are classified as Happy, and only around 3% are Angry. The problem even becomes worse when a mixture of facial attributes is desired: less than 1% of the generated samples are Angry Woman, and only around 2% are Happy Black. To address these problems, this paper proposes a framework, called GANalyzer, for the analysis, and manipulation of the latent space of well-trained GANs. GANalyzer consists of a set of transformation functions designed to manipulate latent vectors for a specific facial attribute such as facial Expression, Age, Gender, and Race. We analyze facial attribute entanglement in the latent space of GANs and apply the proposed transformation for editing the disentangled facial attributes. Our experimental results demonstrate the strength of GANalyzer in editing facial attributes and generating any desired faces. We also create and release a balanced photo-realistic human face dataset. Our code is publicly available on GitHub.

View on arXivView PDF

Code Implementations(1)

aliprf/GANalyzerCommunity100%

GANalyzer: Analysis and Manipulation of GANs Latent Space for Controllable Face Synthesis

410C++, CudaJan 31, 20232 years agoNOASSERTION
facial-attribute-editingganganalyzergenerative-adversarial-networkimage-synthesis+3 more

Similar Papers

Cite this paper

@article{fard2023ganalyzer,
  title  = {GANalyzer: Analysis and Manipulation of GANs Latent Space for Controllable Face Synthesis},
  author = {Ali Pourramezan Fard and Mohammad H. Mahoor and Sarah Ariel Lamer and Timothy Sweeny},
  year   = {2023},
  eprint = {2302.00908},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.00908v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.00908.svg)](https://codeofpaper.com/paper/2302.00908)

Discussion