Analyzing Political Bias in LLMs via Target-Oriented Sentiment Classification

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Elbouanani, Akram, Dufraisse, Evan, Popescu, Adrian
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866908380139880448
author Elbouanani, Akram
Dufraisse, Evan
Popescu, Adrian
author_facet Elbouanani, Akram
Dufraisse, Evan
Popescu, Adrian
contents Political biases encoded by LLMs might have detrimental effects on downstream applications. Existing bias analysis methods rely on small-size intermediate tasks (questionnaire answering or political content generation) and rely on the LLMs themselves for analysis, thus propagating bias. We propose a new approach leveraging the observation that LLM sentiment predictions vary with the target entity in the same sentence. We define an entropy-based inconsistency metric to encode this prediction variability. We insert 1319 demographically and politically diverse politician names in 450 political sentences and predict target-oriented sentiment using seven models in six widely spoken languages. We observe inconsistencies in all tested combinations and aggregate them in a statistically robust analysis at different granularity levels. We observe positive and negative bias toward left and far-right politicians and positive correlations between politicians with similar alignment. Bias intensity is higher for Western languages than for others. Larger models exhibit stronger and more consistent biases and reduce discrepancies between similar languages. We partially mitigate LLM unreliability in target-oriented sentiment classification (TSC) by replacing politician names with fictional but plausible counterparts.
format Preprint
id arxiv_https___arxiv_org_abs_2505_19776
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Analyzing Political Bias in LLMs via Target-Oriented Sentiment Classification
Elbouanani, Akram
Dufraisse, Evan
Popescu, Adrian
Computation and Language
Artificial Intelligence
Political biases encoded by LLMs might have detrimental effects on downstream applications. Existing bias analysis methods rely on small-size intermediate tasks (questionnaire answering or political content generation) and rely on the LLMs themselves for analysis, thus propagating bias. We propose a new approach leveraging the observation that LLM sentiment predictions vary with the target entity in the same sentence. We define an entropy-based inconsistency metric to encode this prediction variability. We insert 1319 demographically and politically diverse politician names in 450 political sentences and predict target-oriented sentiment using seven models in six widely spoken languages. We observe inconsistencies in all tested combinations and aggregate them in a statistically robust analysis at different granularity levels. We observe positive and negative bias toward left and far-right politicians and positive correlations between politicians with similar alignment. Bias intensity is higher for Western languages than for others. Larger models exhibit stronger and more consistent biases and reduce discrepancies between similar languages. We partially mitigate LLM unreliability in target-oriented sentiment classification (TSC) by replacing politician names with fictional but plausible counterparts.
title Analyzing Political Bias in LLMs via Target-Oriented Sentiment Classification
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2505.19776