Skip to main content
QUICK REVIEW

[Paper Review] Sentiment and Emotion Classification of Epidemic Related Bilingual data from Social Media

Muhammad Zain Ali, Kashif Javed|arXiv (Cornell University)|May 4, 2021
Sentiment Analysis and Opinion MiningComputer Science6 citations
TL;DR

This study proposes a bilingual (Urdu and English) sentiment and emotion classification framework using social media data from Twitter and news websites to detect early dengue outbreak signals in Pakistan. It employs machine learning and deep learning models—particularly Bidirectional LSTM with attention—achieving 84.4% accuracy in English sentiment classification and 78.4% in Urdu, outperforming traditional models and showing multiclass classifiers yield better recall than one-vs-rest approaches.

ABSTRACT

In recent years, sentiment analysis and emotion classification are two of the most abundantly used techniques in the field of Natural Language Processing (NLP). Although sentiment analysis and emotion classification are used commonly in applications such as analyzing customer reviews, the popularity of candidates contesting in elections, and comments about various sporting events; however, in this study, we have examined their application for epidemic outbreak detection. Early outbreak detection is the key to deal with epidemics effectively, however, the traditional ways of outbreak detection are time-consuming which inhibits prompt response from the respective departments. Social media platforms such as Twitter, Facebook, Instagram, etc. allow the users to express their thoughts related to different aspects of life, and therefore, serve as a substantial source of information in such situations. The proposed study exploits the bilingual (Urdu and English) data from Twitter and NEWS websites related to the dengue epidemic in Pakistan, and sentiment analysis and emotion classification are performed to acquire deep insights from the data set for gaining a fair idea related to an epidemic outbreak. Machine learning and deep learning algorithms have been used to train and implement the models for the execution of both tasks. The comparative performance of each model has been evaluated using accuracy, precision, recall, and f1-measure.

Motivation & Objective

  • To develop a sentiment and emotion classification system for bilingual (Urdu and English) epidemic-related social media data to support early outbreak detection.
  • To evaluate the performance of machine learning and deep learning models in classifying public sentiment and emotions during the dengue epidemic in Pakistan.
  • To compare the effectiveness of one-vs-rest and multiclass classification strategies in sentiment and emotion classification tasks.
  • To explore the feasibility of using social media data as a real-time surveillance tool for disease outbreak monitoring.

Proposed method

  • Collected bilingual (Urdu and English) epidemic-related data from Twitter and news websites during the dengue outbreak in Pakistan.
  • Assigned sentiment labels using dynamic cutoff scores from the NLTK lexical library and performed content-based emotion annotation.
  • Preprocessed text using standard NLP techniques suitable for low-resource languages like Urdu.
  • Trained and evaluated multiple models: Multinomial Naïve Bayes, Linear SVM, 1D-CNN, LSTM, Bidirectional LSTM, and Attention Mechanism with LSTM.
  • Compared one-vs-rest and multiclass classification strategies using weighted precision and recall metrics.
  • Evaluated model performance using accuracy, precision, recall, and F1-measure across both languages.

Experimental results

Research questions

  • RQ1How effective are machine learning and deep learning models in classifying sentiment and emotion in bilingual (Urdu and English) epidemic-related social media data?
  • RQ2What is the comparative performance of one-vs-rest versus multiclass classification strategies in sentiment and emotion classification tasks?
  • RQ3Why do deep learning models outperform traditional machine learning models in this context?
  • RQ4How does data imbalance and class distribution affect model performance, especially in emotion classification with more categories?

Key findings

  • Deep learning models, particularly Bidirectional LSTM with attention mechanism, achieved the highest accuracy of 84.4% in English sentiment classification and 78.4% in Urdu sentiment classification.
  • The performance of deep learning models was consistently superior to machine learning models, with Multinomial Naïve Bayes showing the weakest performance, especially in recall for positive sentiment.
  • Multiclass classification outperformed one-vs-rest classification, with higher weighted recall (implying better detection of actual positive cases), while one-vs-rest showed higher weighted precision.
  • Emotion classification models performed worse than sentiment classification models due to reduced data density after removing neutral samples, leading to underfitting.
  • The Bidirectional LSTM with attention mechanism outperformed standard Bidirectional LSTM in sentiment classification but underperformed in emotion classification, suggesting task-specific model behavior.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.