[Paper Review] Assessing Dataset Bias in Computer Vision
This study investigates data augmentation techniques to mitigate bias in computer vision datasets, focusing on the UTKFace dataset's imbalanced gender, age, and ethnicity distributions. It evaluates undersampling, geometric transformations, VAEs, and GANs—finding that StarGAN-based augmentation yielded the best performance (91.75% accuracy on UTKFace test set) with uniform class-wise accuracy and improved generalization across external datasets.
A biased dataset is a dataset that generally has attributes with an uneven class distribution. These biases have the tendency to propagate to the models that train on them, often leading to a poor performance in the minority class. In this project, we will explore the extent to which various data augmentation methods alleviate intrinsic biases within the dataset. We will apply several augmentation techniques on a sample of the UTKFace dataset, such as undersampling, geometric transformations, variational autoencoders (VAEs), and generative adversarial networks (GANs). We then trained a classifier for each of the augmented datasets and evaluated their performance on the native test set and on external facial recognition datasets. We have also compared their performance to the state-of-the-art attribute classifier trained on the FairFace dataset. Through experimentation, we were able to find that training the model on StarGAN-generated images led to the best overall performance. We also found that training on geometrically transformed images lead to a similar performance with a much quicker training time. Additionally, the best performing models also exhibit a uniform performance across the classes within each attribute. This signifies that the model was also able to mitigate the biases present in the baseline model that was trained on the original training set. Finally, we were able to show that our model has a better overall performance and consistency on age and ethnicity classification on multiple datasets when compared with the FairFace model. Our final model has an accuracy on the UTKFace test set of 91.75%, 91.30%, and 87.20% for the gender, age, and ethnicity attribute respectively, with a standard deviation of less than 0.1 between the accuracies of the classes of each attribute.
Motivation & Objective
- To address dataset bias in computer vision caused by imbalanced class distributions in popular datasets like UTKFace.
- To assess whether data augmentation techniques can reduce model bias and improve performance on minority classes.
- To compare the effectiveness of undersampling, geometric transformations, VAEs, and GANs in mitigating bias.
- To evaluate model generalization on external facial recognition datasets (LFWA+ and CelebA).
- To benchmark performance against the state-of-the-art FairFace attribute classifier.
Proposed method
- Applied four data augmentation techniques: undersampling, geometric transformations, variational autoencoders (VAEs), and generative adversarial networks (GANs), including StarGAN.
- Used a ResNet-18 architecture for all classifiers to ensure consistent evaluation across augmented datasets.
- Trained models on augmented UTKFace samples and evaluated on the original UTKFace test set and external datasets.
- Employed standard metrics including accuracy, standard deviation across class accuracies, and cross-dataset generalization performance.
- Compared results with a state-of-the-art model trained on the FairFace dataset to assess relative performance.
- Used PyTorch for implementation and evaluated model robustness through class-wise accuracy consistency.
Experimental results
Research questions
- RQ1RQ1: How do different data augmentation techniques affect model performance on the native UTKFace test set?
- RQ2RQ2: How well do models trained on augmented data generalize to external facial recognition datasets like LFWA+ and CelebA?
- RQ3RQ3: How does the best-performing model compare to the state-of-the-art FairFace model in terms of accuracy and bias mitigation?
Key findings
- Training on StarGAN-generated images yielded the highest overall accuracy of 91.75% on the UTKFace test set for gender classification, with 91.30% for age and 87.20% for ethnicity.
- The model trained on StarGAN-generated data achieved a standard deviation of less than 0.1 across class accuracies for each attribute, indicating uniform performance and effective bias mitigation.
- Geometric transformations provided similar performance to StarGAN but with significantly faster training times, making them a practical alternative.
- The best-performing model demonstrated superior cross-dataset generalization on LFWA+ and CelebA compared to the FairFace model.
- The study confirmed that generative augmentation, particularly via GANs, is more effective than traditional methods like undersampling or VAEs in reducing bias and improving fairness.
- The results show that data augmentation can effectively reduce performance disparities across minority classes in facial attribute classification.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.