Research Article

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

Volume: 9 Number: 4 September 30, 2026
EN TR

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

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.

Keywords

References

  1. J. M. Buchanan and G. Tullock, The Calculus of Consent: Logical Foundations of Constitutional Democracy. Ann Arbor: Univ. of Michigan Press, 1962.
  2. A. Downs, An Economic Theory of Democracy. New York: Harper & Row, 1957.
  3. Khan, A., Zhang, H., Boudjellal, N., Ahmad, A., & Khan, M., Improving sentiment analysis in election-based conversations on Twitter with ElecBERT language model. Computers, Materials & Continua, 76(3), 3345-3361, 2023. https://doi.org/10.32604/cmc.2023.041520
  4. Sabuncu, I., & Şen, E. Derin makine öğrenmesi metoduyla sosyal medya verilerine dayalı seçim sonucu tahmini. Business and Management Studies: An International Journal, 9(4), 1582-1598, 2021. https://doi.org/10.15295/bmij.v9i4.1957
  5. Ali, R. H., Pinto, G., Lawrie, E., et al., A large-scale sentiment analysis of tweets pertaining to the 2020 US presidential election. Journal of Big Data, 9(1), 79, 2022. https://doi.org/10.1186/s40537-022-00633-z
  6. Chaudhry, H. N., Javed, Y., Kulsoom, F., Mehmood, Z., Khan, Z. I., Shoaib, U., & Janjua, S. H., Sentiment Analysis of before and after Elections: Twitter Data of U.S. Election 2020. Electronics, 10(17), 2082, 2021. https://doi.org/10.3390/electronics10172082
  7. Belcastro, L., Branda, F., Cantini, R., et al., Analyzing voter behavior on social media during the 2020 US presidential election campaign. Social Network Analysis and Mining, 12, 83, 2022. https://doi.org/10.1007/s13278-022-00913-9
  8. Singh, A., Kumar, A., Dua, N., Mishra, V. K., Singh, D., & Agrawal, A., Predicting election results using social media activity: A case study of the USA presidential election 2020. 7th International Conference on Advanced Computing and Communication Systems (ICACCS), 2021, pp. 314-319. https://doi.org/10.1109/ICACCS51430.2021.9441835

Details

Primary Language

English

Subjects

Computing Applications in Social Sciences and Education, Software Testing, Verification and Validation

Journal Section

Research Article

Publication Date

September 30, 2026

Submission Date

October 13, 2025

Acceptance Date

April 21, 2026

Published in Issue

Year 2026 Volume: 9 Number: 4

APA
Oğuz, B., Çolak, K., & Kilimci, Z. H. (2026). Mapping the Emotional Landscape of Voter Behavior: A Transformer-Based Sentiment Analysis of Reddit Discourse in the 2024 U.S. Presidential Election. Sakarya University Journal of Computer and Information Sciences, 9(4), 1264-1277. https://doi.org/10.35377/saucis...1802343
AMA
1.Oğuz B, Çolak K, Kilimci ZH. Mapping the Emotional Landscape of Voter Behavior: A Transformer-Based Sentiment Analysis of Reddit Discourse in the 2024 U.S. Presidential Election. SAUCIS. 2026;9(4):1264-1277. doi:10.35377/saucis.1802343
Chicago
Oğuz, Berra, Kerem Çolak, and Zeynep Hilal Kilimci. 2026. “Mapping the Emotional Landscape of Voter Behavior: A Transformer-Based Sentiment Analysis of Reddit Discourse in the 2024 U.S. Presidential Election”. Sakarya University Journal of Computer and Information Sciences 9 (4): 1264-77. https://doi.org/10.35377/saucis. 1802343.
EndNote
Oğuz B, Çolak K, Kilimci ZH (September 1, 2026) Mapping the Emotional Landscape of Voter Behavior: A Transformer-Based Sentiment Analysis of Reddit Discourse in the 2024 U.S. Presidential Election. Sakarya University Journal of Computer and Information Sciences 9 4 1264–1277.
IEEE
[1]B. Oğuz, K. Çolak, and Z. H. Kilimci, “Mapping the Emotional Landscape of Voter Behavior: A Transformer-Based Sentiment Analysis of Reddit Discourse in the 2024 U.S. Presidential Election”, SAUCIS, vol. 9, no. 4, pp. 1264–1277, Sept. 2026, doi: 10.35377/saucis...1802343.
ISNAD
Oğuz, Berra - Çolak, Kerem - Kilimci, Zeynep Hilal. “Mapping the Emotional Landscape of Voter Behavior: A Transformer-Based Sentiment Analysis of Reddit Discourse in the 2024 U.S. Presidential Election”. Sakarya University Journal of Computer and Information Sciences 9/4 (September 1, 2026): 1264-1277. https://doi.org/10.35377/saucis. 1802343.
JAMA
1.Oğuz B, Çolak K, Kilimci ZH. Mapping the Emotional Landscape of Voter Behavior: A Transformer-Based Sentiment Analysis of Reddit Discourse in the 2024 U.S. Presidential Election. SAUCIS. 2026;9:1264–1277.
MLA
Oğuz, Berra, et al. “Mapping the Emotional Landscape of Voter Behavior: A Transformer-Based Sentiment Analysis of Reddit Discourse in the 2024 U.S. Presidential Election”. Sakarya University Journal of Computer and Information Sciences, vol. 9, no. 4, Sept. 2026, pp. 1264-77, doi:10.35377/saucis. 1802343.
Vancouver
1.Berra Oğuz, Kerem Çolak, Zeynep Hilal Kilimci. Mapping the Emotional Landscape of Voter Behavior: A Transformer-Based Sentiment Analysis of Reddit Discourse in the 2024 U.S. Presidential Election. SAUCIS. 2026 Sep. 1;9(4):1264-77. doi:10.35377/saucis. 1802343

 

INDEXING & ABSTRACTING & ARCHIVING

 

31045 31044   Anadolu Türk Eğitim Dergisi  31047 

31043 28939 28938 34240
 

 

29070    The papers in this journal are licensed under a Creative Commons Attribution-NonCommercial 4.0 International License