Enhancing Fairness in Image Classification: Modified Loss Functions for Mitigating Race and Sex Bias

Artificial intelligence and machine learning have become ubiquitous in everyday life. With ubiquity, there is a need to ensure minimal algorithmic bias from these systems. Training data distributions can cause these systems to be unfair, negatively impacting users. One solution to this is to ensure fair, unbiased training sets. Unfortunately, unbiased training data is not enough to fully mitigate the issue. In this work, we utilize modified loss functions to mitigate race and sex bias that can appear when training machine learning models on biased data. We used face images from the FairFace dataset for binary and categorical classification tasks. Although FairFace has better diversity than other available face image datasets, it remains biased due to uneven distributions of race-sex groups. We find that the modified loss functions work moderately well at mitigating data bias. In some cases, combining multiple loss functions yields improved results compared to using one alone.

Authors

Publication Details

Journal
ScholarSpace (University of Hawaii at Manoa)
Published
2025-12-23
Primary Topic
Face recognition and analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Fairness in Image Classification: Modified Loss Functions for Mitigating Race and Sex Bias

C. Trotter, Yixin Chen, Charles Walter
ScholarSpace (University of Hawaii at Manoa)
Face recognition and analysis
article

Enhancing Fairness in Image Classification: Modified Loss Functions for Mitigating Race and Sex Bias

C. Trotter, Yixin Chen, Charles Walter
article en

Abstract

Artificial intelligence and machine learning have become ubiquitous in everyday life. With ubiquity, there is a need to ensure minimal algorithmic bias from these systems. Training data distributions can cause these systems to be unfair, negatively impacting users. One solution to this is to ensure fair, unbiased training sets. Unfortunately, unbiased training data is not enough to fully mitigate the issue. In this work, we utilize modified loss functions to mitigate race and sex bias that can appear when training machine learning models on biased data. We used face images from the FairFace dataset for binary and categorical classification tasks. Although FairFace has better diversity than other available face image datasets, it remains biased due to uneven distributions of race-sex groups. We find that the modified loss functions work moderately well at mitigating data bias. In some cases, combining multiple loss functions yields improved results compared to using one alone.

ScholarSpace (University of Hawaii at Manoa)
Gender equality
Openalex Percentile: Top 35%
Face recognition and analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.