Abstract
Large language models (LMs) often inherit and amplify societal biases from their training data. This paper explores a novel mitigation strategy: fine-tuning models on text authored by specific demographic groups, particularly those historically disadvantaged. By shifting from a "one-size-fits-all" training approach to demographic-aware fine-tuning, we demonstrate significant reductions in gender and racial biases, suggesting that diverse perspectives can naturally counteract systemic stereotypes.
Introduction
Pre-trained language models like BERT are foundational to modern NLP but frequently encode harmful social stereotypes, such as gendered career associations. Traditional bias mitigation often relies on universal algorithmic fixes that are agnostic to the speaker's identity. This research investigates whether the demographic identity of an author influences the bias encoded in a model. We hypothesize that language reflecting the "lens" of disadvantaged groups can serve as a corrective mechanism against broader societal biases.
Methodology
The study utilizes a straightforward experimental framework:
- Fine-tuning: A pre-trained
BERT-base-uncasedmodel underwent additional Masked Language Modeling (MLM) fine-tuning on datasets partitioned by gender and geographic region. - Evaluation: Bias was quantified using the Sentence Encoder Association Test (SEAT), which measures the strength of association between target concepts (e.g., gendered terms) and attributes (e.g., career vs. family) within standardized sentence templates.
- Comparison: The "effect size" of bias in the vanilla BERT model was compared against demographic-specific variants, such as BERT-Female versus BERT-Male.
Data Sources
Four primary datasets were used to capture diverse demographic voices:
- Gender-Aware Data: Self-identified gender profiles from Google Blogger (1999–2016) and Reddit comments containing self-identification phrases (e.g., "I am a woman").
- Regional/Race-Aware Data: The GeoWAC corpus, consisting of geographically-located web pages (e.g., Nigeria), and Reddit comments filtered by location-identifying phrases. Regional data from Africa and North America were used as proxies for studying racial bias (African American vs. European American).
Results and Discussion
Gender Bias Mitigation
Fine-tuning on text authored by women consistently reduced gender bias. In the Blogger dataset, BERT-Female achieved an average bias score of 0.26, a marked improvement over BERT-Male (0.52) and the vanilla BERT (0.29).
Interestingly, the source platform matters. While female-authored blog posts reduced bias, Reddit data sometimes increased it unless the training volume was reduced. This suggests that platform-specific cultures can override the perspectives of individual demographic groups, embedding high levels of stereotypical language even within disadvantaged cohorts.
Racial and Regional Bias Mitigation
Similar trends were observed in racial bias mitigation. Using the GeoWAC dataset, BERT-Africa demonstrated the lowest bias against African Americans with a score of 0.09, compared to 0.18 for the baseline BERT. In Reddit-based evaluations, BERT-North America achieved the lowest average bias score of 0.17, compared to the baseline's 0.23.
These results highlight that representation is a powerful tool for mitigation. BERT-Female trained on just 30K blog examples (score of 0.20) outperformed specialized post-training debiasing techniques like SENT-DEBIAS (average score of 0.27).
Conclusion and Future Work
Demographic-aware fine-tuning offers a simple yet effective path toward fairer language models. However, the study notes several limitations:
- Platform Influence: The "Stereotype Trap" of platforms like Reddit indicates that the context of data collection is as critical as the demographic identity.
- Categorical Granularity: Future research should move beyond binary gender and broad regions to include non-binary identities and intersectional demographics.
- Scalability: While effective for BERT, the applicability of these techniques to massive models like GPT-4 or Llama-3 remains to be tested.
The core insight remains: bias mitigation does not always require complex algorithmic constraints; often, it simply requires ensuring that diverse voices are represented during the training process.
Summary updated