Exploring and Mitigating Gender Bias in Encoder-Based Transformer Models
Ariyan Hossain, Khondokar Mohammad Ahanaf Hannan, Rakinul Haque, Nowreen Tarannum Rafa, Humayra Musarrat, Shoaib Ahmed Dipu, Farig Yousuf Sadeque

TL;DR
This paper investigates gender bias in transformer models like BERT and RoBERTa, introduces a new bias metric MALoR, and proposes a mitigation method that significantly reduces bias while maintaining task performance.
Contribution
It introduces MALoR, a novel bias metric, and a mitigation strategy using gender-balanced data, effectively reducing bias in encoder-based transformer models.
Findings
Significant reduction in gender bias scores across models.
Bias mitigation does not impair downstream task performance.
Demonstrated effectiveness on multiple transformer architectures.
Abstract
Gender bias in language models has gained increasing attention in the field of natural language processing. Encoder-based transformer models, which have achieved state-of-the-art performance in various language tasks, have been shown to exhibit strong gender biases inherited from their training data. This paper investigates gender bias in contextualized word embeddings, a crucial component of transformer-based models. We focus on prominent architectures such as BERT, ALBERT, RoBERTa, and DistilBERT to examine their vulnerability to gender bias. To quantify the degree of bias, we introduce a novel metric, MALoR, which assesses bias based on model probabilities for filling masked tokens. We further propose a mitigation approach involving continued pre-training on a gender-balanced dataset generated via Counterfactual Data Augmentation. Our experiments reveal significant reductions in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Computational and Text Analysis Methods · Hate Speech and Cyberbullying Detection
