Integrated Sentiment and Emotion Analysis of the Ukraine-Russia Conflict Using Machine Learning and Transformer Models
Conference paper
Amirhosseini, M., Berardinelli, N., Gaikwad, K., Iwuchukwu, C. E. and Ahmed, M. 2025. Integrated Sentiment and Emotion Analysis of the Ukraine-Russia Conflict Using Machine Learning and Transformer Models. International Conference on Data Science, Technology and Applications. Bilbao - Spain 10 - 12 Jun 2025 SciTePress.
Authors | Amirhosseini, M., Berardinelli, N., Gaikwad, K., Iwuchukwu, C. E. and Ahmed, M. |
---|---|
Type | Conference paper |
Abstract | The Russia-Ukraine war has been a significant international conflict, generating a wide range of public sentiments. With escalating geopolitical tensions, determining whether public discourse supports or condemns the invasion has become increasingly important. This study investigates public attitudes through large-scale sentiment analysis of 1,426,310 tweets collected during the early phase of the conflict. Sentiment classification was performed using machine learning models, including XGBoost, Random Forest, Naïve Bayes, Support Vector Machine, and a Feedforward Deep Learning model, combined with Count Vectorizer and TF-IDF. The deep learning model with Count Vectorizer achieved the highest accuracy at 89.58%, outperforming all others. To go beyond polarity classification, emotion prediction was also conducted using a lexicon-based method (NRC Emotion Lexicon) and a transformer-based model (DistilRoBERTa), both trained to classify tweets into eight emotions: joy, trust, surprise, fear, anger, sadness, disgust, and anticipation. A comparative evaluation showed that the transformer model significantly outperformed the lexicon-based model across all metrics, including accuracy, precision, recall, F1 score, and Hamming loss. Fear and anger emerged as the most dominant emotions, highlighting widespread public anxiety and distress. This analysis provides a nuanced understanding of online discourse during conflict and offers insights for researchers, policymakers, and communicators responding to global crises. |
Keywords | Natural Language Processing; Sentiment Analysis; Emotion Analysis; Machine Learning; Social Media Analysis; Ukraine-Russia Conflict |
Year | 2025 |
Conference | International Conference on Data Science, Technology and Applications |
Publisher | SciTePress |
Accepted author manuscript | License File Access Level Anyone |
Publication process dates | |
Accepted | 21 Apr 2025 |
Deposited | 14 May 2025 |
Journal citation | p. In press |
ISSN | 2184-285X |
Copyright holder | © 2025 SCITEPRESS (Science and Technology Publications, Lda.) |
https://repository.uel.ac.uk/item/8z752
Restricted files
Accepted author manuscript
31
total views1
total downloads10
views this month0
downloads this month