Large Language Models are Geographically Biased

Rohin Manvi, Samar Khanna, Marshall Burke, David B. Lobell, Stefano Ermon

Abstract

As Large Language Models (LLMs) become increasingly integrated into global systems for search, education, and decision-making, understanding their inherent biases is critical. This paper investigates "geographic bias"—the systematic association of specific geographic regions with subjective traits. By evaluating several state-of-the-art LLMs, the study reveals that while these models possess sophisticated zero-shot geospatial knowledge, they consistently project socioeconomic disparities onto sensitive human characteristics such as intelligence, morality, and attractiveness. This research introduces a novel metric to quantify these biases and highlights the risks of perpetuating regional stereotypes through AI.

Introduction

Previous research into LLM bias has largely focused on protected categories such as gender, race, and religion. However, geography serves as a powerful and often overlooked proxy for human variables, as culture, economics, and politics are physically projected onto the globe. This study addresses the problem of systemic errors in geospatial predictions, exploring how models "view" different populations based on their location. As LLMs are trained on massive datasets scraped from the internet, they risk internalizing and amplifying the geographic prejudices present in their training corpora.

Methodology

The authors evaluate a range of models, including GPT-4 Turbo, GPT-3.5, Gemini Pro, Llama 2, and Mixtral, using a zero-shot regression framework.

Prompting and Precision

The evaluation utilizes a modified "GeoLLM" prompt, providing models with specific coordinates, reverse-geocoded addresses, and nearby landmarks. Instead of relying on simple text generation, which can be limited by "greedy" sampling, the researchers calculate the expected value of the first digit of a rating (on a scale of 0.0 to 9.9) using the model's log-probabilities (logprobs). This method reveals subtle, latent biases that might be hidden when a model outputs a seemingly neutral integer.

The Bias Score

To quantify bias on subjective topics, the authors introduce a novel metric, $B_y(x)$: $$B_y(x) = \rho(x, y) \cdot \text{MAD}(x) \cdot a^2$$ Where:

  • $\rho$ is the Spearman correlation with an "anchoring" distribution (such as infant mortality).
  • MAD is the Mean Absolute Deviation of the ratings.
  • $a$ is the model's answer rate, which penalizes models that refuse to provide a rating.

Experimental Design

The study samples 2,000 global locations across three distinct data categories:

  1. Objective Topics (Ground Truth): Metrics such as Infant Mortality Rate, Population Density, and Nighttime Light Intensity used to establish the model's baseline geospatial knowledge.
  2. Sensitive Subjective Topics (Stereotypes): Ratings for Likability, Attractiveness, Morality, Intelligence, and Work Ethic.
  3. Geographically Independent Topics (Controls): Variables that should show zero geographic correlation, such as average body temperature or solar neutrino flux.

Key Insights

LLMs as "Closet Geographers"

The study finds that LLMs possess a high degree of zero-shot correlation with objective ground truth. For instance, GPT-4 Turbo achieved a Spearman’s $\rho$ of 0.83 for Infant Mortality Rate and 0.82 for Temperature. This suggests that LLMs have developed a sophisticated internal map of the world during pre-training.

The Socioeconomic Mirror

Subjective ratings are not distributed randomly; they are strongly correlated with socioeconomic proxies. Models consistently associate regions of lower socioeconomic status (e.g., parts of Africa and South Asia) with lower ratings for intelligence and morality. The correlation between a model's "intelligence" rating and a region's infant survival rate reached as high as $\rho = 0.70$.

Latent Bias in Probabilities

A significant finding is that bias is often "hidden" in the underlying probability distributions. While a model might generate a neutral text response, its logprobs often lean toward lower ratings for specific regions, indicating a latent prejudice that standard generation masks.

Results and Discussion

Across all tested LLMs, the mean correlation between "Intelligence" ratings and socioeconomic status was 0.40, while "Likability" showed a correlation of 0.53. Furthermore, models exhibited a Western-centric view of development, consistently underestimating population density in India and Africa while overestimating the infrastructure of underdeveloped regions.

While GPT-4 Turbo and Llama 2 70B demonstrated lower overall bias scores than Gemini Pro or Mixtral, all models exhibited some level of geographic prejudice. This suggests that the bias is systemic across current training methodologies.

Conclusion

This research demonstrates that LLMs are not neutral observers of the world; they carry significant geographic biases that mirror global socioeconomic inequalities. While the study is limited by its reliance on monotonic relationships (Spearman’s $\rho$) and a specific set of 11 topics, it provides a vital benchmark for future de-biasing efforts. The authors suggest that these metrics should be integrated into the alignment phase (RLHF) to ensure that future AI systems treat all global regions with equity.

Summary updated

BibTeX
@inproceedings{manvi2024large,
  author = {Rohin Manvi and Samar Khanna and Marshall Burke and David B. Lobell and Stefano Ermon},
  title = {{Large Language Models are Geographically Biased}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=sHtIStlg0v},
}
Figure