Saved in:
Bibliographic Details
Main Authors: Byun, Min Sik, Hui, Wendy Wan Yee, Lau, Wai Kwong
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2501.07885
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913648068263936
author Byun, Min Sik
Hui, Wendy Wan Yee
Lau, Wai Kwong
author_facet Byun, Min Sik
Hui, Wendy Wan Yee
Lau, Wai Kwong
contents This study describes a procedure for applying causal modeling to detect and mitigate algorithmic bias in a multiclass classification problem. The dataset was derived from the FairFace dataset, supplemented with emotional labels generated by the DeepFace pre-trained model. A custom Convolutional Neural Network (CNN) was developed, consisting of four convolutional blocks, followed by fully connected layers and dropout layers to mitigate overfitting. Gender bias was identified in the CNN model's classifications: Females were more likely to be classified as "happy" or "sad," while males were more likely to be classified as "neutral." To address this, the one-vs-all (OvA) technique was applied. A causal model was constructed for each emotion class to adjust the CNN model's predicted class probabilities. The adjusted probabilities for the various classes were then aggregated by selecting the class with the highest probability. The resulting debiased classifications demonstrated enhanced gender fairness across all classes, with negligible impact--or even a slight improvement--on overall accuracy. This study highlights that algorithmic fairness and accuracy are not necessarily trade-offs. All data and code for this study are publicly available for download.
format Preprint
id arxiv_https___arxiv_org_abs_2501_07885
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Mitigating Algorithmic Bias in Multiclass CNN Classifications Using Causal Modeling
Byun, Min Sik
Hui, Wendy Wan Yee
Lau, Wai Kwong
Machine Learning
Computer Vision and Pattern Recognition
This study describes a procedure for applying causal modeling to detect and mitigate algorithmic bias in a multiclass classification problem. The dataset was derived from the FairFace dataset, supplemented with emotional labels generated by the DeepFace pre-trained model. A custom Convolutional Neural Network (CNN) was developed, consisting of four convolutional blocks, followed by fully connected layers and dropout layers to mitigate overfitting. Gender bias was identified in the CNN model's classifications: Females were more likely to be classified as "happy" or "sad," while males were more likely to be classified as "neutral." To address this, the one-vs-all (OvA) technique was applied. A causal model was constructed for each emotion class to adjust the CNN model's predicted class probabilities. The adjusted probabilities for the various classes were then aggregated by selecting the class with the highest probability. The resulting debiased classifications demonstrated enhanced gender fairness across all classes, with negligible impact--or even a slight improvement--on overall accuracy. This study highlights that algorithmic fairness and accuracy are not necessarily trade-offs. All data and code for this study are publicly available for download.
title Mitigating Algorithmic Bias in Multiclass CNN Classifications Using Causal Modeling
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2501.07885