Positioning Political Texts with Large Language Models by Asking and Averaging

Gaël Le Mens, Aina Gallego
11/28/2023
cs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mens2023positioning,
  title  = {Positioning Political Texts with Large Language Models by Asking and Averaging},
  author = {Gaël Le Mens and Aina Gallego},
  year   = {2023},
  eprint = {2311.16639},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.16639v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.16639.svg)](https://codeofpaper.com/paper/2311.16639)

Discussion