Positioning Political Texts with Large Language Models by Asking and Averaging

Abstract We use instruction-tuned large language models (LLMs) like GPT-4, Llama 3, MiXtral, or Aya to position political texts within policy and ideological spaces. We ask an LLM where a tweet or a sentence of a political text stands on the focal dimension and take the average of the LLM responses to position political actors such as US Senators, or longer texts such as UK party manifestos or EU policy speeches given in 10 different languages. The correlations between the position estimates obtained with the best LLMs and benchmarks based on text coding by experts, crowdworkers, or roll call votes exceed .90. This approach is generally more accurate than the positions obtained with supervised classifiers trained on large amounts of research data. Using instruction-tuned LLMs to position texts in policy and ideological spaces is fast, cost-efficient, reliable, and reproducible (in the case of open LLMs) even if the texts are short and written in different languages. We conclude with cautionary notes about the need for empirical validation.

Authors

Institutions

Publication Details

Journal
Political Analysis
Published
2025-01-27
DOI
https://doi.org/10.1017/pan.2024.29
Citations
23
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
54.58

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Positioning Political Texts with Large Language Models by Asking and Averaging

Gaël Le Mens, Aina Gallego
23 citations
Political Analysis
Topic Modeling
54.58
article

Positioning Political Texts with Large Language Models by Asking and Averaging

Gaël Le Mens, Aina Gallego
article en
23 citations

Abstract

Abstract We use instruction-tuned large language models (LLMs) like GPT-4, Llama 3, MiXtral, or Aya to position political texts within policy and ideological spaces. We ask an LLM where a tweet or a sentence of a political text stands on the focal dimension and take the average of the LLM responses to position political actors such as US Senators, or longer texts such as UK party manifestos or EU policy speeches given in 10 different languages. The correlations between the position estimates obtained with the best LLMs and benchmarks based on text coding by experts, crowdworkers, or roll call votes exceed .90. This approach is generally more accurate than the positions obtained with supervised classifiers trained on large amounts of research data. Using instruction-tuned LLMs to position texts in policy and ideological spaces is fast, cost-efficient, reliable, and reproducible (in the case of open LLMs) even if the texts are short and written in different languages. We conclude with cautionary notes about the need for empirical validation.

Political AnalysisVol. 33(3)
Universitat Pompeu Fabra (ES), Barcelona Graduate School of Mathematics (ES), Barcelona School of Economics (ES)
Ministerio de Ciencia, Innovación y Universidades, European Commission, Institució Catalana de Recerca i Estudis Avançats, Universitat de Barcelona, Ministerio de Ciencia y Tecnología, Directorate-General XII, Science, Research, and Development
Openalex Percentile: Top 0%
Topic Modeling
54.58
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.