TL;DR
This paper reveals that Large Language Models (LLMs) possess a sophisticated "spatial intuition" but suffer from significant geographic bias. While models can accurately predict objective data like population density zero-shot, they systematically associate regions of lower socioeconomic status—particularly in Africa and South Asia—with negative subjective traits like lower intelligence and morality.
What Problem Does This Paper Address?
As LLMs become foundational to everything from search engines to decision-support systems, understanding their inherent biases is critical. Most bias research focuses on specific categories like gender, race, or religion. However, the authors argue that geography is a powerful, inclusive lens for studying bias because almost every aspect of human life—culture, economics, and politics—is projected onto geographic space.
The paper addresses two main questions:
- How much do LLMs actually "know" about the physical and human geography of the world in a zero-shot setting?
- Do these models exhibit systemic errors (biases) when prompted about sensitive subjective topics across different locations?
Methods
The researchers developed a framework to elicit geospatial knowledge without fine-tuning, which can often mask a model's inherent biases.
- Zero-shot Prompting: They used a modified version of the GeoLLM prompt, providing the model with latitude/longitude coordinates, a text address, and a list of nearby landmarks. The model was then asked to provide a rating from 0.0 to 9.9 for a specific topic.
- Extracting Ratings: To get precise data, they moved beyond simple text generation. For models where API access allowed it (like GPT-4), they calculated the expected value of the rating using "logprobs" (the probability distribution over tokens). This revealed subtle biases that are invisible in discrete text outputs.
- Bias Score ($B_y$): They introduced a novel metric to quantify geographic bias on subjective topics: $$B_y(x) = \rho(x, y) \cdot MAD(x) \cdot a^2$$ Where $\rho$ is the Spearman correlation with an "anchoring" distribution (like infant mortality as a proxy for socioeconomic status), $MAD$ is the Mean Absolute Deviation of ratings, and $a$ is the model's answer rate. This score penalizes models that show high correlation with socioeconomic proxies on topics that should be geographically uniform.
Datasets
The study utilized a diverse range of geospatial datasets for evaluation:
- Objective Topics (Ground Truth): Infant Mortality Rate (CIESIN), Population Density (WorldPop), Built-Up Area Ratio (GHSL), Nighttime Light Intensity (VIIRS), and climate data (Average Temperature and Precipitation).
- Sensitive Subjective Topics: Average Likability, Attractiveness, Morality, Intelligence, and Work Ethic of residents.
- Geographically Independent Controls: Topics expected to have no geographic correlation, such as Average Body Temperature or Solar Neutrino Flux.
Key Insights and Ideas
- LLMs are Zero-shot Geographers: Even without specific geospatial training, LLMs can predict complex variables like infant mortality or population density just from a coordinate and address. As shown in Figure 3, GPT-4 Turbo's predictions closely mirror real-world ground truth. Zero-shot GPT-4 Turbo comparison with ground truth.
- The Socioeconomic Bias Anchor: The most striking finding is that LLMs' subjective ratings are not random. They are strongly correlated with socioeconomic conditions. Models consistently rate residents of wealthier, "developed" regions higher on positive traits than those in "developing" regions.
- Logprobs Reveal Hidden Prejudices: A model might appear unbiased by consistently outputting a "5.0" for intelligence everywhere. However, looking at the underlying probabilities (logprobs) often reveals that the model is slightly more likely to predict a 4.9 for one region and a 5.1 for another, following a biased geographic pattern.
- Agreement on Bias: Figure 1 demonstrates that different LLMs often "agree" on these biases. The maps for sensitive subjective topics show consistent red clusters (lower ratings) in Africa, the Middle East, and South Asia across multiple models. Figure 1. The mean rank plots illustrate agreement across LLM predictions.
Key Results
-
High Accuracy on Objective Tasks: LLMs achieved a Spearman’s $\rho$ of up to 0.89 for temperature and 0.85 for infant mortality, proving they have substantial geospatial knowledge (see Table 1). Performance metrics of all models on objective topics.
-
Strong Subjective Correlation: Ratings for traits like "intelligence" showed a correlation of up to 0.70 with infant survival rates.
- Model Variance: There is significant variation in bias magnitude. The authors found that GPT-4 Turbo and Llama 2 70B were generally the least biased, while Gemini Pro exhibited much higher bias scores.
Limitations and Future Work
The authors acknowledge that their evaluation, while specific, may not capture a single "comprehensive" bias score for all possible topics. They also note that observing bias is difficult if a topic is truly independent of geography (like solar neutrino flux).
Future work could explore how these internal geographic biases manifest in real-world applications, such as travel recommendations or automated visa screening. The authors also suggest that their "Bias Score" could be used as a benchmark for researchers to evaluate and mitigate geographic stereotypes during the training of future foundation models.
Summary updated