Unveiling ideological extremes in parliamentary debates using transformer-based language models
Abstract
This study explores how natural language processing can uncover ideological orientations in European parliamentary debates. Using speeches from 28 countries, transformer-based models (BERT, RoBERTa, and DistilBERT) were fine-tuned for binary classification and evaluated by accuracy and F1-score. RoBERTa and DistilBERT slightly outperformed BERT, and DistilBERT offered a strong balance between efficiency and accuracy. Principal Component Analysis and attention score analysis revealed cross-national linguistic and ideological patterns. The findings advance understanding of political discourse through computational linguistics, highlighting the potential of transformer models for analyzing ideological diversity in large-scale parliamentary data.
Fields of Study & Subjects
Computational and Text Analysis Methods
Sentiment Analysis and Opinion Mining
Populism
Right-Wing Movements
Publication details
- Journal / source
- Journal of Information Technology & Politics
- Publisher
- Informa UK Limited
- Pages
- 1–21
- Publication date
- 19 January 2026
- Language
- EN