Abstract
We design general-purpose algorithms for addressing fairness issues and mode collapse in generative modeling. To design fair algorithms for as many sensitive variables as possible, including variables we might not be aware of, we assume no prior knowledge of sensitive variables: our algorithms use unsupervised fairness only, meaning no information related to the sensitive variables is used for our fairness-improving methods. All images of faces (even generated ones) have been removed to mitigate legal risks.
Introduction
Generative models, such as Generative Adversarial Networks (GANs), often face a fundamental trade-off between image quality and diversity. As models are optimized to produce higher-quality outputs, they frequently suffer from Mode Collapse (MC), a phenomenon where the model stops generating rare classes present in the training data. When these rare classes correspond to sensitive attributes like ethnicity, gender, or age, mode collapse becomes a significant algorithmic fairness issue.
Most existing solutions for fair generative modeling are supervised, requiring explicit labels for sensitive variables. However, in practice, these variables are often unknown or unlabeled. This research proposes unsupervised methods to restore diversity without prior knowledge of which variables are sensitive.
Methodology
We introduce two primary algorithmic frameworks to mitigate diversity loss:
1. Stratified Rejection Sampling
This method uses "strata" based on auxiliary variables that are correlated with, but not identical to, the sensitive variables (e.g., image quality scores or technical camera attributes). By applying a rejection sampling algorithm, we reweight the model's output to match target frequencies. This approach demonstrates that reweighting based on correlated auxiliary features can successfully recover minority classes even without direct access to sensitive labels.
2. User-Assisted Multi-Objective Optimization (MOO)
Instead of generating a single image, this framework produces a set of diverse candidate images for user selection. We explore several selection strategies:
- Multiple Simple Runs (MSR): Independent generator runs.
- Pareto-based Optimization: Simultaneous optimization of multiple criteria (e.g., quality vs. latent variable constraints).
- Domain-Covering: Selecting a subset of images that maximize diversity in the image domain.
The Pareto Trap
A significant finding of this research is the "Pareto Trap." While Multi-Objective Optimization is often used to balance competing goals, it can inadvertently decrease fairness. If a majority class is easier for the model to generate at high quality, the entire Pareto front may be occupied by that class, effectively erasing minority groups.
Empirical Evaluation
Our experiments across various datasets, including StyleGAN2 and EvolGan, confirm that unsupervised reweighting significantly reduces diversity loss. Notably, using four auxiliary variables for reweighting proved beneficial across 18 different experimental contexts without being detrimental in cases of poor correlation.
In user-assisted scenarios, we compared different selection strategies. As shown in the table below, Domain-Covering selection consistently outperformed standard Pareto-based methods (like eps or loss-covering) in maintaining diversity across different optimization algorithms.
Conclusion
This work demonstrates that fairness in generative modeling can be improved through unsupervised methods. By identifying the limitations of standard Pareto optimization and leveraging auxiliary variable reweighting and domain-covering selection, we can mitigate mode collapse and restore diversity to sensitive classes. Future work will explore enhancing diversity within specific classes to further refine these unsupervised frameworks.
Summary updated