On the Fairness of Generative Adversarial Networks (GANs)

Patrik Joslin Kenfack, Daniil Dmitrievich Arapovy, Rasheed Hussain, S. M. Ahsan Kazmi, Adil Mehmood KhanarXiv 2021

Abstract

Generative Adversarial Networks (GANs) are increasingly employed to mitigate dataset imbalances through synthetic data generation. However, this study reveals that GANs are susceptible to "representation bias," often favoring specific data subgroups even when trained on balanced datasets. We analyze this phenomenon across MNIST, SVHN, and CelebA datasets, demonstrating that GANs tend to converge toward the "easiest" modes to fool the discriminator. To address these inequities, we propose the use of Conditional GANs (CGANs) and a novel boosting ensemble strategy with a diversity-promoting regularization term.

Introduction

Generative Adversarial Networks (GANs) have revolutionized data augmentation, particularly for addressing class imbalance in machine learning. By generating synthetic samples of minority classes, researchers aim to create fairer downstream models. However, the generative process itself is not immune to bias. This paper explores representation bias, where a generator disproportionately produces samples from one group over others, effectively amplifying existing biases or creating new ones from balanced inputs.

Methodology

The research evaluates standard GAN architectures, including Stacked GANs and Progressive GANs (PGANs), across three datasets modified to test group fairness:

  1. MNIST: Inverted colors (black-on-white vs. white-on-black).
  2. SVHN: Artificially darkened subsets to test brightness-based bias.
  3. CelebA: Inherent attributes like gender and skin tone.
Figure 3: A sample generated digit from the initial experiments on digit datasets.

Proposed Solutions

To counteract representation bias, two primary methods are proposed:

  • Conditional GANs (CGANs): By conditioning the model on group labels, the generator is forced to learn the specific distribution of each group, preventing the model from ignoring minority modes.
  • GAN Boosting (Ensemble): A sequential training strategy where multiple generators are trained. A regularization term ($\Theta$) is introduced to penalize new generators for producing samples similar to those already covered by previous generators in the ensemble. A softmax selection mechanism ensures equal-rate sampling during inference.

Key Insights

The "Easy Path" and Mode Collapse

GAN training is a minimax game. Generators often find the "path of least resistance" by focusing on features that are easier to replicate to fool the discriminator. This leads to a form of mode collapse where the generator "picks a favorite" group.

Bias Amplification

One of the most striking findings was that even with a 50/50 balanced training set, generators frequently drifted toward a single mode. When the training data was even slightly imbalanced (e.g., 70/30), the GAN's output became extremely skewed, often almost entirely ignoring the minority group.

Results

On the SVHN and MNIST datasets, visualizations of generated samples confirmed consistent drift. In the CelebA experiments using PGAN, the model predominantly generated lighter-skinned female faces, failing to capture the full diversity of the 202,599-image dataset. Furthermore, the quality of minority group samples was significantly lower, indicating a disparity in both quantity and fidelity.

Figure 6: A grid of generated SVHN samples illustrating the variety and potential bias in house number generation.

Conclusion

While GANs are powerful, they are not inherently fair. Representation bias can lead to synthetic datasets that reinforce societal prejudices. While CGANs offer a partial solution, the proposed boosting ensemble provides a more robust mathematical framework for ensuring group diversity. Future work will focus on the computational efficiency of these ensembles and comparative benchmarks against other fairness-aware architectures.

Summary updated

BibTeX
@misc{kenfack2021fairness,
  author = {Patrik Joslin Kenfack and Daniil Dmitrievich Arapovy and Rasheed Hussain and S. M. Ahsan Kazmi and Adil Mehmood Khan},
  title = {{On the Fairness of Generative Adversarial Networks (GANs)}},
  year = {2021},
  eprint = {2103.00950},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.00950},
}
Figure