The Presence of Bias Based on Pre-trained Language Models
Abstract
One of the most active fields of machine learning research is natural language processing (NLP). Although existing linguistic machine learning models excel numerically on a variety of linguistic comprehension tasks, they frequently lack implicit bias reduction optimization. To ensure that deep learning models can avoid the traps of implicit bias and that robots can make fair judgments, bias in NLP must be addressed adequately. The ramifications of permitting biased models to reach the actual world are serious. Thus must address this issue as quickly as feasible. This paper conducted data validation-bias experiments on several real datasets to verify the presence of gender bias in the pre-trained models, then proposed a word vector balancing algorithm to modify the actual vector representation of words by biasing the models and verifying the effectiveness of the debiasing method through debiasing experiments to mitigate the gender bias of the models while ensuring data accuracy, thereby improving the fairness of the classification results. Furthermore, this paper provides more accurate information for the future development and use of deep learning.
References
- Cheng L, Ge S, Liu H. “Toward Understanding Bias Correlations for Mitigation in NLP” [J]. arXiv preprint arXiv:2205.12391, 2022.
- Mandis I S. “Reducing Racial and Gender Bias in Machine Learning and Natural Language Processing Tasks Using a GAN Approach” [J]. International Journal of High School Research, 2021, 3(6): 17-24.
- Schick T, Udupa S, Schütze H. “Self-diagnosis and self-debiasing: A proposal for reducing corpus-based bias in nlp” [J]. Transactions of the Association for Computational Linguistics, 2021, 9: 1408-1424.
- Sun T, Gaut A, Tang S, et al. “Mitigating gender bias in natural language processing: Literature review” [J]. arXiv preprint arXiv:1906.08976, 2019.
- Devlin J, Chang M W, Lee K, et al. “Bert: Pre-training of deep bidirectional transformers for language understanding” [J]. arXiv preprint arXiv:1810.04805, 2018.
- Wang S, Zhou W, Jiang C. “A survey of word embeddings based on deep learning” [J]. Computing, 2020, 102: 717-740.
- Birknerová Z, Benková E, Lajčin D, et al. “IDENTIFICATION OF THE EFFECTS OF NEURO-LINGUISTIC PROGRAMMING TECHNIQUES IN MANAGERIAL ENVIRONMENT IN THE CONTEXT OF GENDER DIFFERENCES” [J]. Polish Journal of Management Studies, 2022, 26(2): 60-74.
- Alabdulmohsin I M, Lucic M. “A near-optimal algorithm for debiasing trained machine learning models” [J]. Advances in Neural Information Processing Systems, 2021, 34: 8072-8084.
- Gonen H, Goldberg Y. “Lipstick on a pig: Debiasing methods cover up systematic gender biases in word embeddings but do not remove them” [J]. arXiv preprint arXiv:1903.03862, 2019.
- Mu J, Bhat S, Viswanath P. “All-but-the-top: Simple and effective postprocessing for word representations” [J]. arXiv preprint arXiv:1702.01417, 2017.
- Gong C, He D, Tan X, et al. “Frage: Frequency-agnostic word representation” [J]. Advances in neural information processing systems, 2018, 31.
- Wang T, Lin X V, Rajani N F, et al. “Double-hard debias: tailoring word embeddings for gender bias mitigation” [J]. arXiv preprint arXiv:2005.00965, 2020.
- Li B, Peng H, Sainju R, et al. “Detecting gender bias in transformer-based models: a case study on Bert” [J]. arXiv preprint arXiv:2110.15733, 2021.
- Joulin A, Grave E, Bojanowski P, et al. “Fasttext. zip: Compressing text classification models” [J]. arXiv preprint arXiv:1612.03651, 2016.
- Pennington J, Socher R, Manning C D. “Glove: Global vectors for word representation” [C]//Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP). 2014: 1532-1543.
- Zhestiankin B, Ponomareva M. “Zhestyatsky at SemEval-2021 Task 2: ReLU over Cosine Similarity for BERT Fine-tuning” [J]. arXiv preprint arXiv:2104.06439, 2021.
- Bolukbasi T, Chang K W, Zou J Y, et al. “Man is to computer programmer as woman is to homemaker? debiasing word embeddings” [J]. Advances in neural information processing systems, 2016, 29.