Recent advances in generative adversarial networks have shown that it is possible to generate high-resolution and hyperrealistic images. However, the images produced by GANs are only as fair and representative as the datasets on which they are trained. In this paper, we propose a method for directly modifying a pre-trained StyleGAN2 model that can be used to generate a balanced set of images with respect to one (e.g., eyeglasses) or more attributes (e.g., gender and eyeglasses). Our method takes advantage of the style space of the StyleGAN2 model to perform disentangled control of the target attributes to be debiased. Our method does not require training additional models and directly debiases the GAN model, paving the way for its use in various downstream applications. Our experiments show that our method successfully debiases the GAN model within a few minutes without compromising the quality of the generated images. To promote fair generative models, we share the code and debiased models at https://github.com/catlab-team/fairstyle.
An overview of the FairStyle architecture,
Distribution of single and joint attributes before and after debiasing StyleGAN2 model with our methods.
Qualitative results for fair image generation in GANs with
@article{karakas2022fairstyle,
title={FairStyle: Debiasing StyleGAN2 with Style Channel Manipulations},
author={Cemre Karakas and Alara Dirik and Eylul Yalcınkaya and Pinar Yanardag},
journal={ArXiv},
year={2022},
volume={abs/2202.06240}
}
}
This publication has been produced benefiting from the 2232 International Fellowship for Outstanding Researchers Program of TUBITAK (Project No: 118c321). We also acknowledge the support of NVIDIA Corporation through the donation of the TITAN RTX GPU and GCP research credits from Google.