TL;DR
This paper reveals a surprising bias in large language models (LLMs): their performance on spatial reasoning tasks can be significantly affected by the choice of proper nouns used, even when the task itself is name-agnostic. Furthermore, the models' confidence scores (beam scores) are poorly calibrated, failing to reliably distinguish correct from incorrect answers in these biased scenarios.
What Problem Does This Paper Address?
The paper tackles the growing concern of "responsible AI," specifically investigating whether large language models exhibit biases that are independent of the core task they are designed to perform. While LLMs have demonstrated impressive emergent reasoning capabilities, it's crucial to understand if these capabilities are robust and unbiased. The authors focus on spatial reasoning, a task that should be invariant to the specific names used to describe entities. They hypothesize that, similar to human cognitive biases related to personal names, LLMs might also be influenced by the choice of proper nouns, leading to performance variations. This is particularly important as LLMs are increasingly deployed in real-world applications where fairness and reliability are paramount.
Methods
The researchers designed a synthetic spatial reasoning task where individuals are placed on a straight line, and their relative positions (left/right) are described. The LLM is then asked to infer a new, undeclared spatial relationship. This task was designed to be simple enough to isolate the effect of proper nouns, rather than testing the LLM's raw reasoning limits.
They specifically used the BLOOM family of open-science, multilingual LLMs for their experiments. They systematically varied the proper nouns used in the task, drawing from popular names in different countries (USA, UK, France, Germany, Australia, China, Morocco, South Africa, India, Canada, New Zealand). They also analyzed the beam scores (a measure of confidence) of the model's predictions to assess calibration.
Datasets
The paper does not explicitly mention training datasets for the LLMs, as they are using pre-trained models (BLOOM).
For evaluation, they created a novel benchmark by synthesizing spatial reasoning problems using popular male names from various countries. These names were transliterated into English, and in some cases, accents and diacritics were included to potentially introduce phonetic variations.
Key Insights and Ideas
- Name Bias is Real and Significant: LLMs, even large ones, are demonstrably affected by the choice of proper nouns in spatial reasoning tasks. This suggests that the models are not purely reasoning based on the logical structure of the problem but are picking up on subtle cues or patterns associated with specific names.
- Bias Increases with Model Size: Counterintuitively, the impact of name choice on accuracy appears to increase as LLM size grows. This implies that larger models, while more capable, might also be more susceptible to these emergent biases.
- Poor Calibration Undermines Trust: The beam scores generated by BLOOM models are not well-calibrated. This means that a high score doesn't necessarily indicate a correct answer, and a low score doesn't reliably signal an incorrect one. This lack of reliable confidence estimation is a major hurdle for deploying these models in safety-critical applications.
- International Names Pose Greater Challenges: Names from countries outside the US, particularly those with different phonetic structures or requiring transliteration with accents, tend to lead to lower accuracy. This could be due to factors like term frequency in training data, phonetic complexity, or the use of Unicode characters.
Key Results
- The accuracy of BLOOM models on the spatial reasoning task varied significantly based on the origin of the proper names. For instance, with 4 individuals, accuracy for US names reached 0.83, while for Chinese names it was 0.59 (for the BLOOM-176B model).
- The variation in accuracy (difference between best and regional accuracy) for the BLOOM-176B model on a 5-individual task was as high as 0.24 for China, 0.17 for India, and 0.14 for South Africa, compared to 0.03 for the US.
- Beam scores for correct and incorrect responses were largely indistinguishable, indicating poor calibration.
Limitations and Future Work
Limitations:
- The study primarily focuses on the BLOOM family of models. It's unclear if these findings generalize to all LLMs, especially proprietary ones with inaccessible weights.
- The researchers acknowledge that the use of English transliterations with accents and diacritics for international names might contribute to the observed variations. It's not definitively proven that the name itself is the sole cause, but rather its representation and associated linguistic features.
- The study is limited to spatial reasoning; other reasoning tasks might exhibit different or no name-based biases.
Future Work:
- Internal Auditing of Proprietary Models: Encourage similar internal auditing for closed-source LLMs.
- Investigating Unaccented English: Conduct experiments using unaccented English names to isolate the effect of phonetic complexity versus the name itself.
- Broader Scope of Proper Nouns: Extend the study to include other types of proper nouns like places and brand names, and explore names of varying complexity.
- Developing Bias Mitigation Strategies: Research and develop training strategies and inference algorithms to mitigate emergent biases in LLMs, especially for tasks where performance should be name-agnostic.
Summary updated