[Paper Review] Quite Good, but Not Enough: Nationality Bias in Large Language Models -- A Case Study of ChatGPT
This study investigates nationality bias in ChatGPT by generating 4,680 nationality-related discourses across 195 countries in English and Chinese, using automated metrics and human/LLM pairwise comparisons. Despite predominantly positive and non-offensive outputs, ChatGPT reflects real-world nationality biases—especially in Chinese outputs—demonstrating that even well-behaved LLMs embed subtle, culturally conditioned stereotypes.
While nationality is a pivotal demographic element that enhances the performance of language models, it has received far less scrutiny regarding inherent biases. This study investigates nationality bias in ChatGPT (GPT-3.5), a large language model (LLM) designed for text generation. The research covers 195 countries, 4 temperature settings, and 3 distinct prompt types, generating 4,680 discourses about nationality descriptions in Chinese and English. Automated metrics were used to analyze the nationality bias, and expert annotators alongside ChatGPT itself evaluated the perceived bias. The results show that ChatGPT's generated discourses are predominantly positive, especially compared to its predecessor, GPT-2. However, when prompted with negative inclinations, it occasionally produces negative content. Despite ChatGPT considering its generated text as neutral, it shows consistent self-awareness about nationality bias when subjected to the same pair-wise comparison annotation framework used by human annotators. In conclusion, while ChatGPT's generated texts seem friendly and positive, they reflect the inherent nationality biases in the real world. This bias may vary across different language versions of ChatGPT, indicating diverse cultural perspectives. The study highlights the subtle and pervasive nature of biases within LLMs, emphasizing the need for further scrutiny.
Motivation & Objective
- To investigate the presence and nature of nationality bias in large language models, particularly in ChatGPT.
- To examine how nationality bias varies across different languages (English and Chinese) and prompt conditions.
- To develop a novel pairwise comparison framework for evaluating bias as a continuum rather than a binary classification.
- To assess the consistency between human annotators and ChatGPT’s self-evaluation of bias in generated text.
- To explore the influence of real-world social indicators (e.g., GDP, HDI) on the model’s perceived bias in generated discourse.
Proposed method
- Generated 4,680 nationality-related discourses using 195 countries, 4 temperature settings, and 3 prompt types in both English and Chinese.
- Applied automated metrics including sentiment, offensiveness, hate speech, regard, and vocabulary richness to evaluate generated text.
- Employed a novel pairwise comparison annotation framework where both human experts and ChatGPT itself evaluated relative bias between text pairs.
- Correlated model outputs with real-world social indicators such as PCGDP, HDI, and WHR to assess alignment with global stereotypes.
- Used Spearman correlation to analyze relationships between social metrics and perceived bias in generated text.
- Validated consistency between human annotators and ChatGPT’s self-assessment using inter-annotator agreement and correlation analysis.
Experimental results
Research questions
- RQ1To what extent does ChatGPT generate nationality-biased content, even when prompted with neutral or positive instructions?
- RQ2How does nationality bias in ChatGPT’s outputs differ between English and Chinese language versions?
- RQ3Can ChatGPT reliably self-assess its own bias using a pairwise comparison framework, and how does this compare to human annotators?
- RQ4To what extent do real-world social indicators (e.g., GDP, human development) correlate with the perceived bias in ChatGPT’s generated text?
- RQ5Does the model’s output reflect real-world national stereotypes, even when the sentiment is predominantly positive?
Key findings
- ChatGPT’s generated text is predominantly positive and non-offensive across both English and Chinese prompts, showing significant improvement over GPT-2.
- Despite positive sentiment, ChatGPT’s outputs show significant correlation with real-world social indicators such as PCGDP, HDI, and WHR, indicating alignment with global stereotypes.
- In Chinese outputs, countries with higher economic development and human development scores received more favorable descriptions, while less developed countries were portrayed more negatively.
- ChatGPT demonstrates strong self-awareness of bias through pairwise comparisons, with results highly consistent with human annotators’ judgments.
- There is almost no correlation between Chinese and English language outputs for the same country, indicating distinct cultural perspectives in different language versions.
- Even when the model generates neutral or positive text, subtle nationality biases persist, suggesting that bias is not easily eliminated and operates on a spectrum rather than as a binary trait.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.