Mapping the Emotional Landscape of Voter Behavior: A Transformer-Based Sentiment Analysis of Reddit Discourse in the 2024 U.S. Presidential Election

This study examines voter behavior in the context of the 2024 United States Presidential Election by analyzing user comments from Reddit. Owing to the platform’s anonymity and community diversity, Reddit provides signals that reflect a wide range of socio-demographic perspectives on the electoral process. A dataset of 7,788 comments was collected through the Reddit API and the PRAW library, then preprocessed (cleaning, normalization, stopword removal, and labeling) for sentiment analysis. In the experimental stage, five transformer-based models (BERT, RoBERTa, DeBERTa, ALBERT, and GPT-2) were comparatively evaluated. Results show that DeBERTa achieved the highest accuracy and F1 scores, while GPT-2 performed relatively poorly in classification tasks. Statistical analyses revealed that 51.6% of Trump-related comments were positive, whereas comments on Harris displayed a more fragmented distribution. Neutral sentiments dominated the “Unknown” category. These findings indicate that Reddit sentiment signals reflect not only descriptive observations but also statistically robust evidence for electoral forecasting. Beyond methodological contributions, the study integrates emotional indicators into the rational-actor assumptions of public choice theory, demonstrating that voter behavior is shaped by both rational and emotional factors. In doing so, it provides an interdisciplinary framework that validates the applicability of artificial intelligence methods to political behavior analysis.

Authors

Institutions

Publication Details

Journal
Sakarya University Journal of Computer and Information Sciences
Published
2026-09-30
DOI
https://doi.org/10.35377/saucis...1802343
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Mapping the Emotional Landscape of Voter Behavior: A Transformer-Based Sentiment Analysis of Reddit Discourse in the 2024 U.S. Presidential Election

Kerem Çolak, Zeynep Hilal Kilimci, Berra Oğuz
Sakarya University Journal of Computer and Information Sciences
Sentiment Analysis and Opinion Mining
article

Mapping the Emotional Landscape of Voter Behavior: A Transformer-Based Sentiment Analysis of Reddit Discourse in the 2024 U.S. Presidential Election

Kerem Çolak, Zeynep Hilal Kilimci, Berra Oğuz
article en

Abstract

This study examines voter behavior in the context of the 2024 United States Presidential Election by analyzing user comments from Reddit. Owing to the platform’s anonymity and community diversity, Reddit provides signals that reflect a wide range of socio-demographic perspectives on the electoral process. A dataset of 7,788 comments was collected through the Reddit API and the PRAW library, then preprocessed (cleaning, normalization, stopword removal, and labeling) for sentiment analysis. In the experimental stage, five transformer-based models (BERT, RoBERTa, DeBERTa, ALBERT, and GPT-2) were comparatively evaluated. Results show that DeBERTa achieved the highest accuracy and F1 scores, while GPT-2 performed relatively poorly in classification tasks. Statistical analyses revealed that 51.6% of Trump-related comments were positive, whereas comments on Harris displayed a more fragmented distribution. Neutral sentiments dominated the “Unknown” category. These findings indicate that Reddit sentiment signals reflect not only descriptive observations but also statistically robust evidence for electoral forecasting. Beyond methodological contributions, the study integrates emotional indicators into the rational-actor assumptions of public choice theory, demonstrating that voter behavior is shaped by both rational and emotional factors. In doing so, it provides an interdisciplinary framework that validates the applicability of artificial intelligence methods to political behavior analysis.

Sakarya University Journal of Computer and Information SciencesVol. 9(4)
Kocaeli Üniversitesi (TR)
Openalex Percentile: Top 9%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.