AI Models for Sentiment Classification of COVID-19 Tweets
摘要
Social media has become a huge part of our daily life, connecting billions of users. Twitter plays a major role in shaping public opinion. During the COVID-19 pandemic, Twitter was flooded with discussions about the virus, vaccination campaigns, and government policies. Understanding the sentiment behind these conversations requires automated methods. This work provides an AI-based solution for multi-class sentiment analysis of COVID-19-related tweets, comparing twelve models across four approaches: three machine learning classifiers (Logistic Regression, Multinomial Naïve Bayes, KNN), three ensemble learning models (Random Forest, XGBoost, LightGBM), three deep learning models (Bi-LSTM, Bi-GRU, and CNN), and three Transformer-based architectures (BERT, DistilBERT, and RoBERTa). Tweets were classified as positive, negative, or neutral. The results demonstrate that DistilBERT outperforms all models attaining the best F1-score of 89%, while maintaining computational efficiency compared to other transformer architectures, establishing it as the optimal approach for COVID-19 tweet sentiment analysis.