# L(u)PIN: LLM-based Political Ideology Nowcasting

arXiv: https://arxiv.org/abs/2405.07320 · HTML: https://mlsanity.com/paper/2405.07320/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- Builds on 6 of its 19 references that are in the map.
- First posted on arXiv 12 May 2024.

## Builds on (most cited first, 6 of 6)

- [Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks](https://mlsanity.com/paper/1908.10084/) (2019)
- [BERTopic: Neural topic modeling with a class-based TF-IDF procedure](https://mlsanity.com/paper/2203.05794/) (2022)
- [Large Language Models Can Be Used to Estimate the Latent Positions of Politicians](https://mlsanity.com/paper/2303.12057/) (2023)
- [Embeddings-Based Clustering for Target Specific Stances: The Case of a Polarized Turkey](https://mlsanity.com/paper/2005.09649/) (2020)
- [Political Text Scaling Meets Computational Semantics](https://mlsanity.com/paper/1904.06217/) (2019)
- [Understanding Politics via Contextualized Discourse Processing](https://mlsanity.com/paper/2012.15784/) (2020)

## Built on by (most cited first, 1 of 1)

- [LimTopic: LLM-based Topic Modeling and Text Summarization for Analyzing Scientific Articles limitations](https://mlsanity.com/paper/2503.10658/) (2025)

## Abstract (arXiv)

The quantitative analysis of political ideological positions is a difficult task. In the past, various literature focused on parliamentary voting data of politicians, party manifestos and parliamentary speech to estimate political disagreement and polarization in various political systems. However previous methods of quantitative political analysis suffered from a common challenge which was the amount of data available for analysis. Also previous methods frequently focused on a more general analysis of politics such as overall polarization of the parliament or party-wide political ideological positions. In this paper, we present a method to analyze ideological positions of individual parliamentary representatives by leveraging the latent knowledge of LLMs. The method allows us to evaluate the stance of politicians on an axis of our choice allowing us to flexibly measure the stance of politicians in regards to a topic/controversy of our choice. We achieve this by using a fine-tuned BERT classifier to extract the opinion-based sentences from the speeches of representatives and projecting the average BERT embeddings for each representative on a pair of reference seeds. These reference seeds are either manually chosen representatives known to have opposing views on a particular topic or they are generated sentences which where created using the GPT-4 model of OpenAI. We created the sentences by prompting the GPT-4 model to generate a speech that would come from a politician defending a particular position.
