Hostname: page-component-89b8bd64d-7zcd7 Total loading time: 0 Render date: 2026-05-06T04:20:30.421Z Has data issue: false hasContentIssue false

Mapping (A)Ideology: A Taxonomy of European Parties Using Generative LLMs as Zero-Shot Learners

Published online by Cambridge University Press:  14 April 2025

Riccardo Di Leo*
Affiliation:
Research Fellow, Department of Political and Social Sciences, European University Institute, Fiesole, Italy
Chen Zeng
Affiliation:
Research Associate, Department of Political and Social Sciences, European University Institute, Fiesole, Italy; PhD Student, Department of European and International Studies, King’s College London, London, UK
Elias Dinas
Affiliation:
Swiss Chair in Federalism, Democracy and International Governance, Department of Political and Social Sciences, European University Institute, Fiesole, Italy
Reda Tamtam
Affiliation:
Research Associate, Department of Political and Social Sciences, European University Institute, Fiesole, Italy; Graduate Student, Department of Politics, Princeton University, Princeton, NJ, USA
*
Corresponding author: Riccardo Di Leo; Email: riccardo.dileo@eui.eu
Rights & Permissions [Opens in a new window]

Abstract

We perform the first mapping of the ideological positions of European parties using generative Artificial Intelligence (AI) as a “zero-shot” learner. We ask OpenAI’s Generative Pre-trained Transformer 3.5 (GPT-3.5) to identify the more “right-wing” option across all possible duplets of European parties at a given point in time, solely based on their names and country of origin, and combine this information via a Bradley–Terry model to create an ideological ranking. A cross-validation employing widely-used expert-, manifesto- and poll-based estimates reveals that the ideological scores produced by Large Language Models (LLMs) closely map those obtained through the expert-based evaluation, i.e., CHES. Given the high cost of scaling parties via trained coders, and the scarcity of expert data before the 1990s, our finding that generative AI produces estimates of comparable quality to CHES supports its usage in political science on the grounds of replicability, agility, and affordability.

Information

Type
Letter
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of The Society for Political Methodology
Figure 0

Figure 1 Benchmarking European parties’ left-right positions according to GPT-3.5 against experts, manifestos, and opinion polls.Note: In each facet, we plot the left-right ideological positions of European parties obtained applying a Bradley–Terry model to the pairwise comparisons performed by GPT-3.5 (GPT-BTm), in a given reference year (indicated on top of the sub-figure). In each row we employ different validation datasets, namely: Chapel Hill Expert Survey (CHES), Comparative Manifesto Project (CMP), True European Voter (TEV). The varying number of observations across each panel and, in turn, the different number of GPT-BTm comparisons performed, reflect the different sampling criteria adopted by each data source, as outlined in Section A of the Supplementary Material.

Figure 1

Figure 2 Benchmarking European parties’ left-right positions according to Llama-3.1 70B against experts, manifestos and opinion polls.Note: In each facet, we plot the left-right ideological positions of European parties obtained applying a Bradley-Terry model to the pairwise comparisons performed by Llama-3.1 70B (Llama-BTm), in a given reference year (indicated on top of the sub-figure). In each row we employ different validation datasets, namely: Chapel Hill Expert Survey (CHES), Comparative Manifesto Project (CMP), True European Voter (TEV). The varying number of observations across each panel and, in turn, the different number of Llama-BTm comparisons performed, reflect the different sampling criteria adopted by each data source, as outlined in Section A of the Supplementary Material.

Supplementary material: File

Di Leo et al. supplementary material

Di Leo et al. supplementary material
Download Di Leo et al. supplementary material(File)
File 3.6 MB