Generative language models exhibit social identity biases
Social identity biases, particularly the tendency to favor one's own group (ingroup solidarity) and derogate other groups (outgroup hostility), are deeply rooted in human psychology and social behavior. However, it is unknown if such biases are also present in artificial intelligence systems. Here we show that large language models (LLMs) exhibit patterns of social identity bias, similarly to humans. By administering sentence completion prompts to 77 different LLMs (for instance, 'We are…'), we demonstrate that nearly all base models and some instruction-tuned and preference-tuned models display clear ingroup favoritism and outgroup derogation. These biases manifest both in controlled experimental settings and in naturalistic human-LLM conversations. However, we find that careful curation of training data and specialized fine-tuning can substantially reduce bias levels. These findings have important implications for developing more equitable artificial intelligence systems and highlight the urgent need to understand how human-LLM interactions might reinforce existing social biases.
Authors
- Tiancheng Hu (ORCID: https://orcid.org/0009-0006-7354-1088)
- Jon Roozenbeek (ORCID: https://orcid.org/0000-0002-8150-9305)
- Steve Rathje (ORCID: https://orcid.org/0000-0001-6727-571X)
- Nigel Collier (ORCID: https://orcid.org/0000-0002-7230-4164)
- Sander van der Linden (ORCID: https://orcid.org/0000-0002-0269-1744)
- Yara Kyrychenko (ORCID: https://orcid.org/0000-0003-0636-5046)
Institutions
- King's College London (GB)
- University of Cambridge (GB)
- New York University (US)
Publication Details
- Journal
- Nature Computational Science
- Published
- 2024-12-12
- DOI
- https://doi.org/10.1038/s43588-024-00741-1
- Citations
- 53
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 18.41
Funders
- Bill and Melinda Gates Foundation
- Dell EMC
- Cambridge Trust
- Gates Cambridge Trust
- Engineering and Physical Sciences Research Council
- Science and Technology Facilities Council