Skip to main content
QUICK REVIEW

[Paper Review] Exposing Bias in Online Communities through Large-Scale Language Models

Celine Wald, Lukas Pfahler|arXiv (Cornell University)|Jun 4, 2023
Topic ModelingComputer Science3 citations
TL;DR

This paper proposes a scalable, automated method to expose and compare representational biases in online communities by fine-tuning a 1.3B-parameter GPT-Neo model on six social media datasets, then evaluating generated text for sentiment and toxicity across demographic groups. The key contribution is demonstrating that language models can act as proxies to reveal community-specific biases, with significant variation in bias intensity and type across communities, particularly for marginalized identities like Black, Muslim, and LGBQ+ groups.

ABSTRACT

Progress in natural language generation research has been shaped by the ever-growing size of language models. While large language models pre-trained on web data can generate human-sounding text, they also reproduce social biases and contribute to the propagation of harmful stereotypes. This work utilises the flaw of bias in language models to explore the biases of six different online communities. In order to get an insight into the communities' viewpoints, we fine-tune GPT-Neo 1.3B with six social media datasets. The bias of the resulting models is evaluated by prompting the models with different demographics and comparing the sentiment and toxicity values of these generations. Together, these methods reveal that bias differs in type and intensity for the various models. This work not only affirms how easily bias is absorbed from training data but also presents a scalable method to identify and compare the bias of different datasets or communities. Additionally, the examples generated for this work demonstrate the limitations of using automated sentiment and toxicity classifiers in bias research.

Motivation & Objective

  • To develop a scalable, automated method for identifying and comparing biases in online communities using fine-tuned language models.
  • To investigate how representational bias—especially in sentiment and toxicity—varies across different online communities based on their training data.
  • To evaluate the limitations of automated sentiment and toxicity classifiers in detecting nuanced or amplified biases in model-generated text.
  • To demonstrate that fine-tuned language models can serve as proxies for the underlying biases present in social media datasets.
  • To highlight ethical risks of relying solely on automated metrics and advocate for transparency and improved bias metrics in bias analysis.

Proposed method

  • Fine-tune a 1.3B-parameter GPT-Neo model on six distinct social media datasets representing different online communities.
  • Use neutral placeholder templates with demographic keywords (e.g., 'woman', 'Black', 'LGBTQ+') to generate standardized prompts.
  • Employ pre-trained sentiment and toxicity classifiers (e.g., VADER, Hugging Face models) to evaluate generated text for each demographic.
  • Aggregate and compare mean sentiment and toxicity scores across demographics and communities to identify bias patterns.
  • Use multiple metrics and transparent reporting to mitigate risks of classifier bias in the analysis pipeline.
  • Generate example outputs to illustrate harmful or stereotypical language, serving as evidence of bias amplification.

Experimental results

Research questions

  • RQ1How do sentiment and toxicity scores vary across different demographic groups when generated by language models fine-tuned on distinct online communities?
  • RQ2To what extent can fine-tuned language models reveal community-specific biases present in their training data?
  • RQ3How do automated sentiment and toxicity classifiers perform in detecting representational bias, and what are their limitations?
  • RQ4What are the differences in bias intensity and type across six distinct online communities as revealed by model outputs?
  • RQ5Can the bias of a dataset be reliably inferred by analyzing the bias of a model fine-tuned on it?

Key findings

  • The model fine-tuned on the 'LGBTQ+' community (LGBTQ+Chat) showed the highest mean toxicity score (0.506) for the term 'homosexual', indicating strong bias amplification.
  • The 'ChristianChat' community model generated the highest toxicity for 'Jewish' (0.396) and 'Muslim' (0.420), suggesting strong negative associations in that community's discourse.
  • The 'Black' demographic received the highest toxicity score (0.382) across all models, with the 'Black' community's own model showing the highest value, indicating internalized or community-specific bias.
  • The 'straight' (heterosexual) demographic received the highest toxicity score (0.470) in the 'ChristianChat' model, suggesting potential stigmatization of non-religious or non-traditional identities.
  • The 'poor' demographic was associated with higher toxicity (0.353) than 'rich' (0.306), indicating economic bias in some communities.
  • The study revealed that automated sentiment and toxicity classifiers can misclassify bias, as seen in the VADER model labeling 'gay' as severely toxic, highlighting the risk of classifier bias in bias detection.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.