Textual Data Bias Detection and Mitigation -- An Extensible Pipeline with Experimental Evaluation
Not on the map. Why?
Abstract (arXiv)
Textual data used to train large language models (LLMs) exhibits multifaceted bias manifestations encompassing harmful language and skewed demographic distributions. Regulations such as the European AI Act require identifying and mitigating biases against protected groups in data, with the ultimate goal of preventing unfair model outputs. However, practical guidance and operationalization are lacking. We propose a comprehensive data bias detection and mitigation pipeline comprising four components that address two data bias types, namely representation bias and (explicit) stereotypes for a configurable sensitive attribute. First, we leverage LLM-generated word lists created based on quality criteria to detect relevant group labels. Second, representation bias is quantified using the Demographic Representation Score. Third, we detect and mitigate stereotypes using sociolinguistically informed filtering. Finally, we compensate representation bias through Grammar- and Context-Aware Counterfactual Data Augmentation. We conduct a two-fold evaluation using the examples of gender, religion and age. First, the effectiveness of each individual component on data debiasing is evaluated through human validation and baseline comparison. The findings demonstrate that we successfully reduce representation bias and (explicit) stereotypes in a text dataset. Second, the effect of data debiasing on model bias reduction is evaluated by bias benchmarking of several models (0.6B-8B parameters), fine-tuned on the debiased text dataset. This evaluation reveals that LLMs fine-tuned on debiased data do not consistently show improved performance on bias benchmarks, exposing critical gaps in current evaluation methodologies and highlighting the need for targeted data manipulation to address manifested model bias.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 77 of its 126 references that are in the map. First posted on arXiv 11 Dec 2025.
Builds on
77 of 126 references.
References · 77
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2019A Survey on Bias and Fairness in Machine Learningcited by 1,917
- 2018Datasheets for Datasetscited by 1,386
- 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,312
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 956
- 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 924
- 2016Semantics derived automatically from language corpora contain human-like biasescited by 901
38 more
- 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736
- 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
- 2021BBQ: A Hand-Built Bias Benchmark for Question Answeringcited by 701
- 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 659
- 2023Bias and Fairness in Large Language Models: A Surveycited by 639
- 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 548
- 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 412
- 2019On Measuring Social Biases in Sentence Encoderscited by 398
- 2019Social Bias Frames: Reasoning about Social and Power Implications of Languagecited by 380
- 2024LoRA Learns Less and Forgets Lesscited by 328
- 2018AI Fairness 360: An Extensible Toolkit for Detecting, Understanding, and Mitigating Unwanted Algorithmic Biascited by 319
- 2020Measuring and Reducing Gendered Correlations in Pre-trained Modelscited by 224
- 2019Identifying and Reducing Gender Bias in Word-Level Language Modelscited by 214
- 2024When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning Methodcited by 204
- 2019Counterfactual Data Augmentation for Mitigating Gender Stereotypes in Languages with Rich Morphologycited by 200
- 2019A Framework for Understanding Sources of Harm throughout the Machine Learning Life Cyclecited by 193
- 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 182
- 2018Learning Gender-Neutral Word Embeddingscited by 169
- 2019Queens are Powerful too: Mitigating Gender Bias in Dialogue Generationcited by 152
- 2021RedditBias: A Real-World Resource for Bias Evaluation and Debiasing of Conversational Language Modelscited by 149
- 2020Intrinsic Bias Metrics Do Not Correlate with Application Biascited by 148
- 2023Should ChatGPT be Biased? Challenges and Risks of Bias in Large Language Modelscited by 148
- 2019Black is to Criminal as Caucasian is to Police: Detecting and Removing Multiclass Bias in Word Embeddingscited by 147
- 2022Sociotechnical Harms of Algorithmic Systems: Scoping a Taxonomy for Harm Reductioncited by 138
- 2019It's All in the Name: Mitigating Gender Bias with Name-Based Counterfactual Data Substitutioncited by 103
- 2021Quantifying Social Biases in NLP: A Generalization and Empirical Comparison of Extrinsic Fairness Metricscited by 83
- 2021On Measures of Biases and Harms in NLPcited by 81
- 2021What's in the Box? A Preliminary Analysis of Undesirable Content in the Common Crawl Corpuscited by 80
- 2024Fairness in Large Language Models: A Taxonomic Surveycited by 58
- 2024Investigating Bias in LLM-Based Bias Detection: Disparities between LLMs and Human Perceptioncited by 56
- 2023ROBBIE: Robust Bias Evaluation of Large Generative Language Modelscited by 53
- 2024Measuring Implicit Bias in Explicitly Unbiased Large Language Modelscited by 51
- 2024Parameter-Efficient Fine-Tuning in Large Models: A Survey of Methodologiescited by 47
- 2024Bias in Language Models: Beyond Trick Tests and Toward RUTEd Evaluationcited by 41
- 2021Mitigating harm in language models with conditional-likelihood filtrationcited by 40
- 2022Mitigating Gender Bias in Distilled Language Models via Counterfactual Role Reversalcited by 40
- 2021Improving Gender Fairness of Pre-Trained Language Models without Catastrophic Forgettingcited by 35
- 2021Balancing out Bias: Achieving Fairness Through Balanced Trainingcited by 34
50 most cited of 77 All 77 (JSON)
Built on by
Not cited yet.