Volume 15 , Issue 1 , PP: 185-197, 2025 | Cite this article as | XML | Html | PDF | Full Length Article
Yazan Alnsour 1 * , Mohammad Alsharo 2 , Malik AL-Essa 3 , Aseel Smerat 4
Doi: https://doi.org/10.54216/JISIoT.150116
The United States presidential elections receive a substantial attention not only from American voters, but also from news agencies, politicians, and international governments due to the local and global impact of the outcome. Therefore, different parties strive to predict the election’s results ahead of time, and opinion polls remain the predominant prediction method despite their bias and flaws. Online political communication has immensely evolved in recent years, especially on social media websites like Reddit, which has become a key platform in political discourse offering a valuable resource for studying public opinions on key issues. This study aims to utilize advanced machine learning methods to predict the outcome of the upcoming 2024 U.S. presidential election with a focus on the two primary candidates, former President Trump and Vice President Harris. Employing deep learning techniques to analyze more than 25 thousand online posts on Reddit, the results indicate that on the national level, Harris has more favorable sentiment in comparison to Trump among online users. However, analyzing the data associated with the battleground states, our model predicts that Trump has an edge over Harris, which may result in Trump winning the majority of the electoral votes in these states. This study underscores the importance of integrating social media data with machine learning capabilities for enhanced data-driven forecasts in upcoming elections and major public events.
Elections , Deep Learning , Political forecast , Trump vs Harris , Public opinion Analysis , Reddit
[1] N. J. Spykman, America's strategy in world politics: the United States and the balance of power, Routledge, 2017.
[2] B. Heredia, J. D. Prusa, and T. M. Khoshgoftaar, "Location-based twitter sentiment analysis for predicting the US 2016 presidential election," in Proc. The Thirty-First International Flairs Conference, 2018.
[3] D. Ebanks, J. N. Katz, and G. King, "If a statistical model predicts that common events should occur only once in 10,000 elections, maybe it’s the wrong model," presented at 39th Annual Meeting of the Society for Political Methodology, 2022.
[4] A. J. Lichtman and A. Lichtman, Predicting the next president: The Keys to the White House, 2024, Rowman & Littlefield, 2024.
[5] R. C. Fair, "The effect of economic events on votes for president: 1984 update," Political Behavior, vol. 10, pp. 168-179, 1988.
[6] M. S. Lewis-Beck and T. W. Rice, "Forecasting presidential elections: A comparison of naive models," Political Behavior, vol. 6, pp. 9-21, 1984.
[7] R. Brody and L. Sigelman, "Presidential popularity and presidential elections: An update and extension," Public Opinion Quarterly, vol. 47, no. 3, pp. 325-328, 1983.
[8] A. Jungherr, "Twitter use in election campaigns: A systematic literature review," Journal of Information Technology & Politics, vol. 13, no. 1, pp. 72-91, 2016.
[9] C. Kennedy, et al., "An evaluation of the 2016 election polls in the United States," Public Opinion Quarterly, vol. 82, no. 1, pp. 1-33, 2018.
[10] S. Boulianne, C. P. Hoffmann, and M. Bossetta, "Social media platforms for politics: A comparison of Facebook, Instagram, Twitter, YouTube, Reddit, Snapchat, and WhatsApp," New Media & Society, 2024, doi: 14614448241262415.
[11] S. Lee and M. Xenos, "Social distraction? Social media use and political knowledge in two US presidential elections," Computers in Human Behavior, vol. 90, pp. 18-25, 2019.
[12] J. Massachs, et al., "Roots of Trumpism: Homophily and social feedback in Donald Trump support on Reddit," in Proc. 12th ACM Conference on Web Science, 2020.
[13] S. Stier, et al., "Election campaigning on social media: Politicians, audiences, and the mediation of political communication on Facebook and Twitter," in Studying Politics Across Media, Routledge, 2020, pp. 50-74.
[14] A. H. Juma’h and Y. Alnsour, "Using social media analytics: The effect of President Trump’s tweets on companies’ performance," Journal of Accounting and Management Information Systems, vol. 17, pp. 100-121, 2018.
[15] N. Beauchamp, "Predicting and interpolating stateālevel polls using Twitter textual data," American Journal of Political Science, vol. 61, no. 2, pp. 490-503, 2017.
[16] H.-H. Nguyen, "Enhancing sentiment analysis on social media data with advanced deep learning techniques," International Journal of Advanced Computer Science & Applications, vol. 15, no. 5, 2024.
[17] A. Rajadesingan, P. Resnick, and C. Budak, "Quick, community-specific learning: How distinctive toxicity norms are maintained in political subreddits," in Proc. International AAAI Conference on Web and Social Media, 2020.
[18] A. Bovet and H. A. Makse, "Influence of fake news in Twitter during the 2016 US presidential election," Nature Communications, vol. 10, no. 1, p. 7, 2019.
[19] K. Naithani and Y. P. Raiwani, "Realization of natural language processing and machine learning approaches for text-based sentiment analysis," Expert Systems, vol. 40, no. 5, p. e13114, 2023.
[20] A. Rajput, "Natural language processing, sentiment analysis, and clinical analytics," in Innovation in Health Informatics, Elsevier, 2020, pp. 79-97.
[21] H. Hapke, C. Howard, and H. Lane, Natural Language Processing in Action: Understanding, Analyzing, and Generating Text with Python, Simon and Schuster, 2019.
[22] C. Redl, "Uncertainty matters: Evidence from close elections," Journal of International Economics, vol. 124, p. 103296, 2020.
[23] J. Pasek, "Predicting elections: Considering tools to pool the polls," Public Opinion Quarterly, vol. 79, no. 2, pp. 594-619, 2015.
[24] A. N. Philippou, "Why do polls fail? The case of four US presidential elections, Brexit, and two India general elections," arXiv preprint arXiv:2107.14166, 2021.
[25] A. Mitchell, et al., "In Western Europe, public attitudes toward news media more divided by populist views than left-right ideology," Pew Research Center, 2018, vol. 14.
[26] D. J. S. Oliveira, P. H. d. S. Bermejo, and P. A. dos Santos, "Can social media reveal the preferences of voters? A comparison between sentiment analysis and traditional opinion polls," Journal of Information Technology & Politics, vol. 14, no. 1, pp. 34-45, 2017.
[27] M. Felt, "Social media and the social sciences: How researchers employ Big Data analytics," Big Data & Society, vol. 3, no. 1, p. 2053951716645828, 2016.
[28] T. W. Smith, "Making the most of online discussion: A retrospective analysis," International Journal of Teaching and Learning in Higher Education, vol. 31, no. 1, pp. 21-31, 2019.
[29] M. Brown and T. Johnson, "Secular change in metamorphism and the onset of global plate tectonics," American Mineralogist, vol. 103, no. 2, pp. 181-196, 2018.
[30] A. Tumasjan, et al., "Predicting elections with Twitter: What 140 characters reveal about political sentiment," in Proc. International AAAI Conference on Web and Social Media, 2010.
[31] S. H. D. Kolagani, A. Negahban, and C. Witt, "Identifying trending sentiments in the 2016 US presidential election: A case study of Twitter analytics," Issues in Information Systems, vol. 18, no. 2, pp. 80-86, 2017.
[32] U. Yaqub, et al., "Analysis of political discourse on Twitter in the context of the 2016 US presidential elections," Government Information Quarterly, vol. 34, no. 4, pp. 613-626, 2017.
[33] A. Bessi and E. Ferrara, "Social bots distort the 2016 US presidential election online discussion," First Monday, vol. 21, no. 11-7, 2016.
[34] G. Wilson, et al., "Understanding older adults’ use of social technology and the factors influencing use," Ageing & Society, vol. 43, no. 1, pp. 222-245, 2023.
[35] P. Chauhan, N. Sharma, and G. Sikka, "The emergence of social media data and sentiment analysis in election prediction," Journal of Ambient Intelligence and Humanized Computing, vol. 12, pp. 2601-2627, 2021.
[36] I. H. Sarker, "Deep cybersecurity: A comprehensive overview from neural network and deep learning perspective," SN Computer Science, vol. 2, no. 3, p. 154, 2021.
[37] G. Gurung, R. Shah, and D. P. Jaiswal, "Recent challenges and advancements in natural language processing," in Federated Learning for Internet of Vehicles: IoV Image Processing, Vision and Intelligent Systems, Bentham Science Publishers, 2024, pp. 350-369.
[38] P. K. Yechuri and S. Ramadass, "Classification of image and text data using deep learning-based LSTM model," Traitement du Signal, vol. 38, no. 6, 2021.
[39] D. Luitse and W. Denkena, "The great transformer: Examining the role of large language models in the political economy of AI," Big Data & Society, vol. 8, no. 2, p. 20539517211047734, 2021.
[40] E. Brito and H. Iser, "MaxSimE: Explaining Transformer-based semantic similarity via contextualized best matching token pairs," in Proc. 46th International ACM SIGIR Conference on Research and Development in Information Retrieval, 2023.
[41] G. Yenduri, et al., "GPT (generative pre-trained transformer)–a comprehensive review on enabling technologies, potential applications, emerging challenges, and future directions," IEEE Access, 2024.
[42] M. Abbas, Analysis and Application of Natural Language and Speech Processing, Springer, 2023.
[43] S. Kumari and Z. Ali, "Extracting feature requests from online reviews of travel industry," Acta Scientiarum: Technology, vol. 44, 2022.
[44] S. Chirgaiya, et al., "Analysis of sentiment-based movie reviews using machine learning techniques," Journal of Intelligent & Fuzzy Systems, vol. 41, no. 5, pp. 5449-5456, 2021.