Political Leaning and Politicalness Classification of Texts

Matous Volf, Jakub Simko
7/18/2025
cs.CLcs.AI

No official code found. Best implementation: matous-volf/political-leaning-prediction (8 stars, Jupyter Notebook, last commit 2025-07-21).

Abstract

This paper addresses the challenge of automatically classifying text according to political leaning and politicalness using transformer models. We compose a comprehensive overview of existing datasets and models for these tasks, finding that current approaches create siloed solutions that perform poorly on out-of-distribution texts.

Show full abstract

To address this limitation, we compile a diverse dataset by combining 12 datasets for political leaning classification and creating a new dataset for politicalness by extending 18 existing datasets with the appropriate label. Through extensive benchmarking with leave-one-in and leave-one-out methodologies, we evaluate the performance of existing models and train new ones with enhanced generalization capabilities.

View on arXivView PDF

Code Implementations(1)

The source code of the research done in the paper Political Leaning and Politicalness Classification of Texts.

80Jupyter Notebook, PythonOct 13, 20241 years agoNOASSERTION

Similar Papers

Cite this paper

@article{volf2025political,
  title  = {Political Leaning and Politicalness Classification of Texts},
  author = {Matous Volf and Jakub Simko},
  year   = {2025},
  eprint = {2507.13913},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.13913v1}
}

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/2507.13913.svg)](https://codeofpaper.com/paper/2507.13913)

Discussion