Twitter Discussions and Emotions About the COVID-19 Pandemic: Machine Learning Approach

Journal of Medical Internet Research - Tập 22 Số 11 - Trang e20550
Jia Xue1,2, Junxiang Chen3, Ran Hu1, Chen Chen4, Chengda Zheng2, Yue Su5,6, Tingshao Zhu5
1Factor-Inwentash Faculty of Social Work, University of Toronto, Toronto, ON, Canada
2Faculty of Information University of Toronto Toronto ON Canada
3School of Medicine, University of Pittsburgh, Pittsburgh, PA, United States
4Middleware System Research Group, University of Toronto, Toronto, ON, Canada
5CAS Key Laboratory of Behavioral Science, Institute of Psychology, Chinese Academy of Sciences, Beijing, China
6Department of Psychology, University of Chinese Academy of Sciences, Beijing, China

Tóm tắt

Background It is important to measure the public response to the COVID-19 pandemic. Twitter is an important data source for infodemiology studies involving public response monitoring. Objective The objective of this study is to examine COVID-19–related discussions, concerns, and sentiments using tweets posted by Twitter users. Methods We analyzed 4 million Twitter messages related to the COVID-19 pandemic using a list of 20 hashtags (eg, “coronavirus,” “COVID-19,” “quarantine”) from March 7 to April 21, 2020. We used a machine learning approach, Latent Dirichlet Allocation (LDA), to identify popular unigrams and bigrams, salient topics and themes, and sentiments in the collected tweets. Results Popular unigrams included “virus,” “lockdown,” and “quarantine.” Popular bigrams included “COVID-19,” “stay home,” “corona virus,” “social distancing,” and “new cases.” We identified 13 discussion topics and categorized them into 5 different themes: (1) public health measures to slow the spread of COVID-19, (2) social stigma associated with COVID-19, (3) COVID-19 news, cases, and deaths, (4) COVID-19 in the United States, and (5) COVID-19 in the rest of the world. Across all identified topics, the dominant sentiments for the spread of COVID-19 were anticipation that measures can be taken, followed by mixed feelings of trust, anger, and fear related to different topics. The public tweets revealed a significant feeling of fear when people discussed new COVID-19 cases and deaths compared to other topics. Conclusions This study showed that Twitter data and machine learning approaches can be leveraged for an infodemiology study, enabling research into evolving public discussions and sentiments during the COVID-19 pandemic. As the situation rapidly evolves, several topics are consistently dominant on Twitter, such as confirmed cases and death rates, preventive measures, health authorities and government policies, COVID-19 stigma, and negative psychological reactions (eg, fear). Real-time monitoring and assessment of Twitter discussions and concerns could provide useful data for public health emergency responses and planning. Pandemic-related fear, stigma, and mental health concerns are already evident and may continue to influence public trust when a second wave of COVID-19 occurs or there is a new surge of the current pandemic.

Từ khóa


Tài liệu tham khảo

Center for Systems Science and Engineering (CSSE)COVID-19 Dashboard by CSSE at Johns Hopkins University (JHU)2020-06-16https://www.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6

10.1017/cem.2020.361

10.1016/j.ajic.2009.11.004

10.2196/24361

10.1007/s10796-010-9273-x

10.1371/journal.pone.0014118

10.1371/journal.pone.0008032

10.1177/1460458219896673

10.1371/journal.pone.0019467

10.1093/pubmed/fdaa049

10.2196/19016

10.2196/19458

10.4269/ajtmh.20-0536

10.2196/19301

10.2196/19273

10.2196/19509

10.1093/geronb/gbaa128

10.1371/journal.pone.0239441

James, G, 2013, An Introduction to Statistical Learning, 10.1007/978-1-4614-7138-7

Blei, D, 2003, Journal of Machine Learning Research March, 3, 993

10.1089/vio.2017.0066

10.1038/s41598-020-73510-5

10.1191/1478088706qp063oa

10.1177/1609406917733847

Beigi, G, 2016, Studies in Computational Intelligence, 313

MohammadSTurneyPNRC emotion lexiconNational Research Council Canada20132020-11-12https://nrc-publications.canada.ca/eng/view/object/?id=0b6a5b58-a656-49d3-ab3e-252050a7a88c

Manning, C, 2008, Introduction to Information Retrieval, 10.1017/CBO9780511809071

10.1145/2684822.2685324

Kaila, RP, 2020, International Journal of Advanced Research in Engineering and Technology, 11, 128

10.1007/s11606-020-05889-w

NoblesJMartinFDawsonSMoranPSavovicJThe potential impact of COVID-19 on mental health outcomes and the implications for service solutions202004152020-11-12https://arc-w.nihr.ac.uk/research-and-implementation/covid-19- response/reports/potential-impact-of-covid-19-on-mental-health-outcomes-and-the-implications-for-service-solutions/

10.3390/ijerph17062032

10.3390/ijerph17124552

10.1093/ofid/ofaa258