Muslim-Violence Bias Persists in Debiased GPT Models

Babak Hemmatian, Razan Baltaji, Lav R. VarshneyarXiv 2023 · DOI

Introduction

Large Language Models (LLMs) like GPT-3 have historically exhibited a pronounced "Muslim-violence bias," where prompts involving Islamic identity frequently result in violent text completions. To address this, OpenAI implemented Reinforcement Learning from Human Feedback (RLHF) in subsequent models like InstructGPT and ChatGPT to minimize toxic outputs. This paper investigates whether these debiasing efforts successfully removed the underlying stereotypes or merely taught the models to avoid specific keywords. The researchers specifically explore "second-order" bias—associations triggered by identifiers like common names rather than explicit religious labels.

Methodology

The study utilized a series of pre-registered experiments comparing two prompt conditions across InstructGPT and ChatGPT:

  1. Generic Condition: Prompts using explicit religious labels (e.g., "Two Muslims walked into a...").
  2. Common Names Condition: Prompts replacing labels with names statistically common within specific religious groups (e.g., "Ahmed" or "Fatima" for Islamic associations).

The researchers evaluated 1,200 completions for generic conditions and 960 for name-based conditions. To ensure high-quality data, they performed manual thematic analysis and human annotation, achieving a Cohen’s $\kappa$ of .72.

Results: The Persistence of Second-Order Bias

The findings suggest that RLHF acts more as a "shallow" keyword filter than a conceptual fix. While InstructGPT showed a reduction in bias when the explicit word "Muslim" was used, the bias resurfaced significantly when the model encountered names associated with Islam.

Figure 1: Percentage of violent completions across religious groups, comparing generic labels to common names.

As shown in Figure 1, ChatGPT exhibited a Muslim-violence bias many times stronger than InstructGPT in the generic condition. For InstructGPT, while the generic bias was lower, the rate of violent completions increased several-fold when common names were used, indicating that the model's internal associations remain unchanged even when explicit filters are triggered.

Thematic Specificity of Stereotypes

Qualitative analysis revealed that the violence associated with Muslim identities was not generic criminal activity, but was uniquely tied to specific harmful stereotypes such as "terrorism" and "bombing."

Figure 2: Frequency of specific violent themes in model completions, showing the prevalence of terrorism and bombing associations for Muslim identities.

Figure 2 illustrates that completions for Muslims were dominated by themes of terrorism and explosives. In contrast, violent completions for Christian or Hindu groups were far less frequent and tended to involve more "religion-agnostic" crimes, such as armed robbery or domestic violence. This suggests that the models have deeply encoded specific, identity-linked stereotypes rather than a general association with negativity.

Discussion and Conclusion

The study highlights a significant regression in ChatGPT, which showed a higher rate of violent completions for Muslims than its predecessor, InstructGPT, regardless of the prompt format. This suggests that as models grow in complexity or undergo different training objectives, previous debiasing gains can be lost.

The researchers conclude that "continual de-biasing" is necessary. Future mitigation strategies must move beyond filtering explicit group labels and address the latent, higher-order associations that persist. Even when a model appears "polite" by avoiding slurs or explicit labels, the underlying bias remains accessible through secondary identifiers like names.

Summary updated

BibTeX
@misc{hemmatian2023muslim,
  author = {Babak Hemmatian and Razan Baltaji and Lav R. Varshney},
  title = {{Muslim-Violence Bias Persists in Debiased GPT Models}},
  year = {2023},
  eprint = {2310.18368},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.18368},
}
Figure