Multiclass Sentiment Analysis for Identifying Political Viewpoints

Girma Yohannis Bade, Olga Kolesnikova, Jose Luis Oropeza, Grigori Sidorov
8/11/2026
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

The rapid growth of social media has created vast amounts of political discourse, which provides valuable opportunities to analyze public opinions and identify different political perspectives. Sentiment Analysis (SA) is a core task in Natural Language Processing (NLP) that allows the computational study of attitudes and opinions in textual data, and has become increasingly important for understanding political discourse.

Show full abstract

In this work, we investigate multiclass sentiment analysis of political view- points on social media, that is to automatically discriminate multiple sentiment classes over political issues and figures. To solve this task we design and evaluate two machine-learning approaches based on XGBoost and BERT. We train and evaluate the models on a labeled dataset of political social media posts using standard classification metrics. The experimental results show that the XGBoost model reaches an F1-score of 0.2835 and the BERT- based model reaches an F1-score of 0.2806 on the test set. These results demonstrate the challenge of classifying complex and contextualized political discourse sentiment and provide a baseline for future research in multiclass political sentiment analysis.

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. Any repos shown below are weak matches — 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{bade2026multiclass,
  title  = {Multiclass Sentiment Analysis for Identifying Political Viewpoints},
  author = {Girma Yohannis Bade and Olga Kolesnikova and Jose Luis Oropeza and Grigori Sidorov},
  year   = {2026},
  eprint = {2608.11049},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.11049v1}
}

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

Discussion