A Comparative Study Between Rule-Based and Transformer-Based Election Prediction Approaches: 2020 US Presidential Election as a Use Case

Asif Khan, Huaping Zhang*, Nada Boudjellal, Lin Dai, Arshad Ahmad, Jianyun Shang, Philipp Haindl

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Citation (Scopus)

Abstract

Social media platforms (SMPs) attracted people from all over the world for they allow them to discuss and share their opinions about any topic including politics. The comprehensive use of these SMPs has radically transformed new-fangled politics. Election campaigns and political discussions are increasingly held on these SMPs. Studying these discussions aids in predicting the outcomes of any political event. In this study, we analyze and predict the 2020 US Presidential Election using Twitter data. Almost 2.5 million tweets are collected and categorized into Location-considered (LC) (USA only), and Location-unconsidered (LUC) (either location not mentioned or out of USA). Two different sentiment analysis (SA) approaches are employed: dictionary-based SA, and transformers-based SA. We investigated if the deployment of deep learning techniques can improve prediction accuracy. Furthermore, we predict a vote-share for each candidate at LC and LUC levels. Afterward, the predicted results are compared with the five polls’ predicted results as well as the real results of the election. The results show that dictionary-based SA outperformed all the five polls’ predicted results including the transformers with MAE 0.85 at LC and LUC levels, and RMSE 0.867 and 0.858 at LC and LUC levels.

Original languageEnglish
Title of host publicationDatabase and Expert Systems Applications - DEXA 2022 Workshops - 33rd International Conference, DEXA 2022, Proceedings
EditorsGabriele Kotsis, Ismail Khalil, Atif Mashkoor, Johannes Sametinger, A Min Tjoa, Bernhard Moser, Jorge Martinez-Gil, Florian Sobieczky, Lukas Fischer, Rudolf Ramler, Gerald Czech, Alfred Taudes, Maqbool Khan
PublisherSpringer Science and Business Media Deutschland GmbH
Pages32-43
Number of pages12
ISBN (Print)9783031143427
DOIs
Publication statusPublished - 2022
Event6th International Workshop on Cyber-Security and Functional Safety in Cyber-Physical Systems, IWCFS 2022, 4th International Workshop on Machine Learning and Knowledge Graphs, MLKgraphs 2022, 2nd International Workshop on Time Ordered Data, ProTime2022, 2nd International Workshop on AI System Engineering: Math, Modelling and Software, AISys2022, 1st International Workshop on Distributed Ledgers and Related Technologies, DLRT2022 and 1st International Workshop on Applied Research, Technology Transfer and Knowledge Exchange in Software and Data Science, ARTE2022 held at 33rd International Conference on Database and Expert Systems Applications, DEXA 2022 - Vienna, Austria
Duration: 22 Aug 202224 Aug 2022

Publication series

NameCommunications in Computer and Information Science
Volume1633 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference6th International Workshop on Cyber-Security and Functional Safety in Cyber-Physical Systems, IWCFS 2022, 4th International Workshop on Machine Learning and Knowledge Graphs, MLKgraphs 2022, 2nd International Workshop on Time Ordered Data, ProTime2022, 2nd International Workshop on AI System Engineering: Math, Modelling and Software, AISys2022, 1st International Workshop on Distributed Ledgers and Related Technologies, DLRT2022 and 1st International Workshop on Applied Research, Technology Transfer and Knowledge Exchange in Software and Data Science, ARTE2022 held at 33rd International Conference on Database and Expert Systems Applications, DEXA 2022
Country/TerritoryAustria
CityVienna
Period22/08/2224/08/22

Keywords

  • Deep learning
  • Rule-based
  • Sentiment analysis
  • Transformers
  • Twitter
  • USA election
  • Vote-share

Fingerprint

Dive into the research topics of 'A Comparative Study Between Rule-Based and Transformer-Based Election Prediction Approaches: 2020 US Presidential Election as a Use Case'. Together they form a unique fingerprint.

Cite this