GAMMA-FACE: GAussian Mixture Models Amend Diffusion Models for Bias Mitigation in Face Images

Basudha Pal, Arunkumar Kannan, Ram Prabhakar Kathirvel, Alice J. O'Toole, Rama ChellappaECCV 2024

Introduction

Diffusion models have set new benchmarks for high-fidelity image generation. However, these models often inherit and amplify societal biases present in their training data, leading to skewed distributions in generated outputs. For instance, a model trained on a dataset with a majority of young, light-skinned individuals will disproportionately generate such faces, marginalizing other groups. Addressing this bias is critical for downstream applications like facial attribute classification, where synthetic data augmentation is used to improve performance. Traditional debiasing methods often require computationally prohibitive retraining of the generative model.

Methodology: The GAMMA-FACE Framework

The proposed GAMMA-FACE (Gaussian Mixture Models Amend Diffusion Models) framework offers a "plug-and-play" solution that mitigates bias during the inference phase without requiring model retraining.

Overview of the GAMMA-FACE pipeline, illustrating latent disentanglement, GMM-based sampling, and downstream task augmentation.

The framework operates through four key stages:

  1. Latent Disentanglement: The method identifies an intermediate "noisy" latent representation within a Denoising Diffusion Probabilistic Model (DDPM). These intermediate states often capture semantic structures before the final image details are fully formed.
  2. GMM Clustering: A Gaussian Mixture Model (GMM) is fitted to these latent codes. Using the Bayesian Information Criterion (BIC), the researchers identified that four clusters ($K=4$) optimally capture major facial variations (e.g., age, gender, race) in an unsupervised manner.
  3. Uniform Sampling: To counteract the original data's bias, the system samples an equal number of images from each of the four GMM components. This ensures that the generated dataset represents various "modes" of the distribution equally.
  4. Pseudo-labeling and Augmentation: Generated images are passed through pre-trained classifiers to receive labels. This balanced synthetic dataset is then combined with the original training data to train a more robust downstream classifier.

Experimental Setup and Datasets

The effectiveness of GAMMA-FACE was evaluated using two prominent face datasets:

  • FFHQ (Flickr Faces HQ): 70,000 high-quality images.
  • FairFace: 108,000 images balanced across seven racial groups and various age ranges.

The researchers focused on facial attribute classification tasks, such as detecting smiles, glasses, or hair color, to measure the impact of debiased data augmentation.

Key Results

GAMMA-FACE demonstrated significant improvements in both fairness and classification performance:

  • Substantial Bias Reduction: In the FFHQ "smile" classification task, the method achieved a 65% reduction in bias relative to age and gender.
  • Performance Gains: Beyond fairness, the overall accuracy for the smile task improved from 93.08% to 94.84%. This suggests that a more diverse training set helps the classifier learn more generalizable features.
  • Benchmarking: GAMMA-FACE consistently outperformed existing baselines like PASS and Distributionally Generative Augmentation in metrics such as the Bias Performance Coefficient (BPC) and KL Divergence.
  • Optimal Data Mixing: Ablation studies indicated that a 1:1 ratio of original to synthetic GAMMA-FACE data yields the best trade-off between accuracy and bias mitigation.

Discussion and Future Work

GAMMA-FACE provides a scalable, unsupervised method for debiasing diffusion models. By treating bias mitigation as a sampling problem rather than a training problem, it bypasses the need for expensive GPU-intensive retraining.

However, some limitations remain. The unsupervised nature of the GMM clusters means they do not always map perfectly to specific protected attributes without the secondary pseudo-labeling step. Additionally, while more efficient than retraining, generating large-scale synthetic datasets still requires significant computation. Future research will explore the applicability of this GMM-based latent disentanglement to other domains, such as medical imaging and autonomous driving, where data bias can have critical real-world consequences.

Summary updated

BibTeX
@inproceedings{pal2024gamma,
  author = {Basudha Pal and Arunkumar Kannan and Ram Prabhakar Kathirvel and Alice J. O'Toole and Rama Chellappa},
  title = {{GAMMA-FACE: GAussian Mixture Models Amend Diffusion Models for Bias Mitigation in Face Images}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72855-6\_27},
}
Figure