Reducing Gender Bias in Word-Level Language Models with a Gender-Equalizing Loss Function
Abstract
Gender bias exists in natural language datasets which neural language models tend to learn, resulting in biased text generation. In this research, we propose a debiasing approach based on the loss function modification. We introduce a new term to the loss function which attempts to equalize the probabilities of male and female words in the output. Using an array of bias evaluation metrics, we provide empirical evidence that our approach successfully mitigates gender bias in language models without increasing perplexity. In comparison to existing debiasing strategies, data augmentation, and word embedding debiasing, our method performs better in several aspects, especially in reducing gender bias in occupation words. Finally, we introduce a combination of data augmentation and our approach, and show that it outperforms existing strategies in all bias evaluation metrics.
- Publication:
-
arXiv e-prints
- Pub Date:
- May 2019
- DOI:
- 10.48550/arXiv.1905.12801
- arXiv:
- arXiv:1905.12801
- Bibcode:
- 2019arXiv190512801Q
- Keywords:
-
- Computer Science - Computation and Language
- E-Print:
- Accepted at ACL-SRW 2019. To appear in Proceedings of ACL-SRW 2019