Fair-SSL: Building fair ML Software with less data

Joymallya Chakraborty, Suvodeep Majumder, Huy Tu
11/3/2021
cs.SEcs.LG

Official code: joymallyac/FairSSL (2 stars, Jupyter Notebook, last commit 2022-02-27).

Abstract

Ethical bias in machine learning models has become a matter of concern in the software engineering community. Most of the prior software engineering works concentrated on finding ethical bias in models rather than fixing it.

Show full abstract

After finding bias, the next step is mitigation. Prior researchers mainly tried to use supervised approaches to achieve fairness. However, in the real world, getting data with trustworthy ground truth is challenging and also ground truth can contain human bias. Semi-supervised learning is a machine learning technique where, incrementally, labeled data is used to generate pseudo-labels for the rest of the data (and then all that data is used for model training). In this work, we apply four popular semi-supervised techniques as pseudo-labelers to create fair classification models. Our framework, Fair-SSL, takes a very small amount (10%) of labeled data as input and generates pseudo-labels for the unlabeled data. We then synthetically generate new data points to balance the training data based on class and protected attribute as proposed by Chakraborty et al. in FSE 2021. Finally, the classification model is trained on the balanced pseudo-labeled data and validated on test data. After experimenting on ten datasets and three learners, we find that Fair-SSL achieves similar performance as three state-of-the-art bias mitigation algorithms. That said, the clear advantage of Fair-SSL is that it requires only 10% of the labeled training data. To the best of our knowledge, this is the first SE work where semi-supervised techniques are used to fight against ethical bias in SE ML models.

View on arXivView PDF

Code Implementations(1)

joymallyac/FairSSLOfficial100%

Source Code for ICSE Fairware 2022 paper - ``Fair-SSL: Building fair ML Software with less data''

23Jupyter Notebook, PythonFeb 27, 20224 years ago

Similar Papers

Cite this paper

@article{chakraborty2021fairssl,
  title  = {Fair-SSL: Building fair ML Software with less data},
  author = {Joymallya Chakraborty and Suvodeep Majumder and Huy Tu},
  year   = {2021},
  eprint = {2111.02038},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.02038}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.02038.svg)](https://codeofpaper.com/paper/2111.02038)

Discussion