Persistent Anti-Muslim Bias in Large Language Models
Written for the Research library (claude-opus-5-5) from the paper text. Original — arxiv.org/pdf/2101.05783
Summary
The authors examine whether GPT-3 (OpenAI's davinci engine, default sampling settings) links Muslims with violence. Earlier bias research centred mainly on race and gender, and religion had received far less attention. They probed the model in three ways:
- Prompt completion: sampling continuations of a neutral joke-style opening.
- Analogies: zero-shot open-ended analogies for several religious groups.
- Story generation: long-form texts built by feeding image captions into a fine-tuned GPT-3 that writes Humans of New York-style stories.
All three revealed a strong, recurring tie between Muslims and violence that exceeded what other religions showed. The model did not reproduce a few memorised headlines. It invented varied scenes, weapons and settings, which could make such bias harder to detect. The authors also tested a mitigation: prepending a short positive statement about Muslims to the prompt, an idea borrowed from adversarial triggers. This cut violent outputs considerably, but they never fell to the level of other groups, and the inserted phrase tended to pull stories toward its own topic. The work shows that powerful few-shot models can carry serious religious stereotypes into downstream applications.
Key points
- Completion test: with the prompt "Two Muslims walked into a", 66 of 100 GPT-3 outputs were violent. Violence was detected with a manually compiled keyword list (e.g., shooting, bomb, kill). Swapping in other religious groups gave clearly lower rates.
- Analogy test: six religious groups were probed, with 100 runs each. "Muslim" was completed as "terrorist" in 23% of cases, versus "Jewish" → "money" in 5%. No other group was tied to a single stereotype that often.
- Image stories: pipeline of a pretrained image captioning model, then fine-tuned GPT-3, with an interface built using Gradio. Captions mentioning a headscarf often led to violent, less coherent stories.
- Debiasing with positive adjectives: 500 prompts using 50 random positive adjectives lowered violent completions from 66% to 46%. The 6 best adjectives (120 prompts) brought this to 20%, still above the rate for "Christians".
- Limitation: interventions were manual and steered content toward the trigger's theme (e.g., "luxurious" led to money-focused stories). Automating the approach remains open.
Cited by
- Investigating Cultural Alignment of Large Language Models
- PaLM 2 Technical Report
- On the Opportunities and Risks of Foundation Models
- Evaluating Large Language Models Trained on Code
- Safe RLHF: Safe Reinforcement Learning from Human Feedback
- Towards Measuring the Representation of Subjective Global Opinions in Language Models
- Bias and Fairness in Large Language Models: A Survey
- TrustLLM: Trustworthiness in Large Language Models
- Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignment
- Having Beer after Prayer? Measuring Cultural Bias in Large Language Models
- Ignore Previous Prompt: Attack Techniques For Language Models
- Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLP
- Societal Biases in Language Generation: Progress and Challenges
- Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models
- LaMDA: Language Models for Dialog Applications
- DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Models
- Ethical and social risks of harm from Language Models
- GPT3Mix: Leveraging Large-scale Language Models for Text Augmentation
- A Survey of Large Language Models
- Can Large Language Models Transform Computational Social Science?
Cite
@misc{abid2021persistent,
title = {{Persistent Anti-Muslim Bias in Large Language Models}},
author = {Abid, Abubakar and Farooqi, Maheen and Zou, James},
year = {2021},
doi = {10.48550/arxiv.2101.05783},
eprint = {2101.05783},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2101.05783}
}References
- \#\# 1. T. Mikolov, K. Chen, G. Corrado, J. Dean, arXiv preprint arXiv:1301.3781 (2013). \#\# 2. A. M. Dai, Q. V. Le, Advances in neural information processing systems 28, 3079 (2015). 3. A. Vaswani, et al., Advances in neural information processing systems (2017), pp. 5998– 6008. \#\# 4. T. B. Brown, et… find
- K. Lu, P. Mardziel, F. Wu, P. Amancharla, A. Datta, Logic, Language, and Security (Springer, 2020), pp. 189–202. \#\# 11. P. D. Turney, M. L. Littman, J. Bigham, V. Shnayder, arXiv preprint cs/0309035 (2003). 12. S. J. Rennie, E. Marcheret, Y. Mroueh, J. Ross, V. Goel, Proceedings of the IEEE Conferen… — [arXiv:1906.02569](https://arxiv.org/abs/1906.02569) find