Measuring Political Bias in Large Language Models: What Is Said and How It Is Said

Yejin Bang, Delong Chen, Nayeon Lee, Pascale Fung · DOI

Introduction

As Large Language Models (LLMs) become increasingly integrated into information retrieval and content generation, understanding their inherent biases is critical. While existing research has extensively covered gender and racial biases, political bias remains a complex and often oversimplified domain. Traditional evaluations frequently rely on multiple-choice benchmarks like the "Political Compass" test, which fail to capture the nuances of how bias manifests in natural language generation.

This research addresses the subtle nature of political bias by moving beyond binary "left vs. right" labels. Instead, it focuses on framing—the deliberate selection and emphasis of specific information to shape a reader's perception. By decomposing bias into what is said (content) and how it is said (style), the authors provide a granular, explainable framework for measuring political leanings in generative AI.

Methodology: A Two-Tiered Evaluation Framework

The researchers propose a comprehensive two-tiered framework designed to analyze both the position an LLM takes and the linguistic strategies it employs to convey that position.

The proposed two-tiered framework: Anchors-based Political Stance Analysis (top) and Decomposition of Framing Biases (bottom).

1. Anchors-based Political Stance Analysis

To determine a model's stance without relying on rigid external labels, the framework uses "extreme anchor comparison." The model is prompted to generate "pro" and "anti" headlines for a given topic, creating reference distributions (anchors). The model's standard, unguided output is then compared to these anchors using SentenceBERT (SBERT) embeddings and cosine similarity. If the natural output is mathematically closer to the "pro" anchor, the model is identified as having a proponent stance.

2. Decomposition of Framing Biases

This tier analyzes the underlying components of the generated text:

  • Content Bias: This measures the specific dimensions of a topic the model emphasizes (e.g., focusing on "morality" vs. "economics") and tracks the frequency of mentioned political entities using Named Entity Recognition (NER).
  • Style Bias: This evaluates the linguistic delivery, measuring lexical polarity (sentiment toward specific entities) and utilizing a classifier trained on the Bias Annotation By Experts (BABE) dataset to detect biased wording.

Experimental Setup

The study evaluated 11 prominent open-source LLMs, including the Llama-2, Vicuna, Falcon, and Yi families, as well as the bilingual JAIS model. These models were tested across 14 politically sensitive topics (e.g., Reproductive Rights, Gun Control, Climate Change) and major global events (e.g., the Russia-Ukraine war).

Key Insights and Results

The evaluation revealed that political bias in LLMs is highly dynamic and topic-dependent. Models rarely exhibit a uniform political identity; for example, Llama-2-13B showed strong support for reproductive rights while leaning conservative on immigration issues.

Heatmap of stance intensity (||s||) across 11 LLMs and various political topics, illustrating that bias varies significantly by topic and model size.

Size and Lineage Variance

Contrary to the intuition that larger models might be more neutral, the study found that size does not guarantee a reduction in bias. In the Yi model family, the 6B version was often more neutral than the 34B version. Furthermore, models from the same family (e.g., Llama-2 7B vs. 13B) frequently exhibited different intensities of bias, even when agreeing on the general stance.

Geographical and Media Bias

The research highlighted a significant US-centricity in most models, with entities like "Trump" or "US States" appearing frequently even in global contexts. Additionally, the JAIS model, which is optimized for Arabic and English, showed a distinct geographical preference for UAE-related content. In terms of stylistic bias, the BABE classifier revealed that media-style bias peaked in topics like the Death Penalty, while Same-Sex Marriage generally elicited more neutral wording across the board.

Conclusion and Future Work

This framework provides a scalable method for auditing the political leanings of generative AI. However, the authors note several limitations: the current focus is on news headline generation, which may differ from long-form conversational bias. Additionally, the use of binary "pro vs. anti" anchors simplifies multi-faceted political debates. Future research will aim to distinguish between intentional bias and factual hallucinations, as well as expand the framework to accommodate more complex, non-binary political landscapes.

Summary updated

BibTeX
@inproceedings{bang2024measuring,
  author = {Yejin Bang and Delong Chen and Nayeon Lee and Pascale Fung},
  title = {{Measuring Political Bias in Large Language Models: What Is Said and How It Is Said}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.600},
}
Figure