TL;DR
While diffusion models have overtaken GANs in image quality, they are significantly more prone to amplifying social biases. This paper demonstrates that diffusion-based face generators exacerbate imbalances in gender, race, and age found in training data, and that unlike GANs, their bias behavior is highly sensitive to the size of the training dataset.
What Problem Does This Paper Address?
Generative models are no longer just research toys; they are increasingly used to create synthetic datasets for training other AI systems and for commercial graphic design. If these models are biased—for example, by over-representing certain racial groups or genders—they propagate these "algorithmic harms" into every downstream application.
While the bias in Generative Adversarial Networks (GANs) has been studied extensively, Denoising Diffusion Probabilistic Models (DDPMs) are a newer paradigm. We know they produce stunningly realistic images, but we don't fully understand how they handle social attributes. The authors set out to answer: Do diffusion models reflect the training distribution, or do they make existing biases worse? And how does the sheer volume of training data change this equation?
Methods
The researchers compared two heavyweights in generative modeling:
- Diffusion: A lighter version of the Ablated Diffusion Model (ADM).
- GAN: The widely used StyleGAN2-ADA.
To measure bias, they didn't just look at the images; they used pre-trained ResNet-18 classifiers to categorize the "perceived" gender, race, and age of thousands of generated faces. They evaluated these models in two scenarios:
- Full Dataset Training: Training on the complete, naturally imbalanced datasets.
- Balanced Subset Training: Training on carefully curated subsets (ranging from 300 to 10,000 samples) where attributes like gender or race were perfectly 50/50. This allowed them to isolate the effect of dataset size on bias.
Perceptual quality was measured using the Fréchet Inception Distance (FID), a standard metric where lower scores indicate higher image quality and diversity.
Datasets
The study utilized two cornerstone datasets in computer vision:
- FFHQ (Flickr Faces HQ): 70,000 high-quality images used to study gender and age bias.
- FairFace: A dataset designed to reduce selection bias. The authors focused on a subset called FairFace-BW (containing Black and White racial categories) to simplify the initial investigation into racial and gender disparities.
Key Insights and Ideas
- The Amplification Effect: Diffusion models don't just mirror the training data; they act as a "bias megaphone." If a dataset is slightly skewed toward one group, the model's output will be even more skewed.
- Dataset Size is a Double-Edged Sword: For diffusion models, bias isn't a linear function of data. They found that models trained on very small (300) or very large (10,000) balanced subsets exhibited the highest gender bias, while mid-sized subsets were more stable.
- GANs are More Robust to Imbalance: When trained on balanced data, GANs were much better at preserving that balance in their outputs compared to diffusion models, especially as the number of samples increased.
- Data Replication vs. Fairness: Diffusion models are known to "memorize" or replicate training samples when data is scarce. The authors found that this replication doesn't happen uniformly; the model might replicate specific "preferred" samples more often, leading to a biased distribution even if the training set itself was balanced.
Key Results
The quantitative shifts were stark. When trained on the full FFHQ dataset:
- Gender: The training data was 55.3% female, but the diffusion model generated 57.7% female faces.
- Age: The model showed a clear bias toward younger faces, significantly under-representing age groups over 50.
When trained on the FairFace-BW dataset:
- Race: The training data was 57.5% White, but the generated output jumped to 65.7% White.
In the balanced subset experiments, the difference between architectures became clear. As shown in the figure below, GANs (right bars in each group) stayed much closer to the 50/50 training line than DDPMs (left bars) as the dataset size grew.
Limitations and Future Work
The authors acknowledge that their racial analysis was simplified to two categories (Black and White), which does not capture the full spectrum of human diversity. Furthermore, this study focused on unconditional generation; the dynamics of bias in popular text-to-image models (like Stable Diffusion) may involve additional complexities related to prompt engineering and language model biases.
Future research directions include:
- Investigating Latent Diffusion Models (LDM).
- Studying the impact of other attributes like hair style, makeup, and skin tone.
- Developing specific bias-mitigation layers or training strategies for the diffusion process.
Summary updated