English

COVID-19 Tweets Analysis through Transformer Language Models

Computation and Language 2021-03-02 v1 Information Retrieval Machine Learning

Abstract

Understanding the public sentiment and perception in a healthcare crisis is essential for developing appropriate crisis management techniques. While some studies have used Twitter data for predictive modelling during COVID-19, fine-grained sentiment analysis of the opinion of people on social media during this pandemic has not yet been done. In this study, we perform an in-depth, fine-grained sentiment analysis of tweets in COVID-19. For this purpose, we perform supervised training of four transformer language models on the downstream task of multi-label classification of tweets into seven tone classes: [confident, anger, fear, joy, sadness, analytical, tentative]. We achieve a LRAP (Label Ranking Average Precision) score of 0.9267 through RoBERTa. This trained transformer model is able to correctly predict, with high accuracy, the tone of a tweet. We then leverage this model for predicting tones for 200,000 tweets on COVID-19. We then perform a country-wise analysis of the tone of tweets, and extract useful indicators of the psychological condition about the people in this pandemic.

Keywords

Cite

@article{arxiv.2103.00199,
  title  = {COVID-19 Tweets Analysis through Transformer Language Models},
  author = {Abdul Hameed Azeemi and Adeel Waheed},
  journal= {arXiv preprint arXiv:2103.00199},
  year   = {2021}
}

Comments

5 pages, 5 figures

R2 v1 2026-06-23T23:33:59.096Z