Literature DB >> 28699569

Leveraging machine learning-based approaches to assess human papillomavirus vaccination sentiment trends with Twitter data.

Jingcheng Du1, Jun Xu1, Hsing-Yi Song1, Cui Tao2.   

Abstract

BACKGROUND: As one of the serious public health issues, vaccination refusal has been attracting more and more attention, especially for newly approved human papillomavirus (HPV) vaccines. Understanding public opinion towards HPV vaccines, especially concerns on social media, is of significant importance for HPV vaccination promotion.
METHODS: In this study, we leveraged a hierarchical machine learning based sentiment analysis system to extract public opinions towards HPV vaccines from Twitter. English tweets containing HPV vaccines-related keywords were collected from November 2, 2015 to March 28, 2016. Manual annotation was done to evaluate the performance of the system on the unannotated tweets corpus. Followed time series analysis was applied to this corpus to track the trends of machine-deduced sentiments and their associations with different days of the week.
RESULTS: The evaluation of the unannotated tweets corpus showed that the micro-averaging F scores have reached 0.786. The learning system deduced the sentiment labels for 184,214 tweets in the collected unannotated tweets corpus. Time series analysis identified a coincidence between mainstream outcome and Twitter contents. A weak trend was found for "Negative" tweets that decreased firstly and began to increase later; an opposite trend was identified for "Positive" tweets. Tweets that contain the worries on efficacy for HPV vaccines showed a relative significant decreasing trend. Strong associations were found between some sentiments ("Positive", "Negative", "Negative-Safety" and "Negative-Others") with different days of the week.
CONCLUSIONS: Our efforts on sentiment analysis for newly approved HPV vaccines provide us an automatic and instant way to extract public opinion and understand the concerns on Twitter. Our approaches can provide a feedback to public health professionals to monitor online public response, examine the effectiveness of their HPV vaccination promotion strategies and adjust their promotion plans.

Entities:  

Keywords:  Hierarchical classification; Human papillomavirus vaccines; Machine learning; Sentiment analysis; Twitter

Mesh:

Substances:

Year:  2017        PMID: 28699569      PMCID: PMC5506590          DOI: 10.1186/s12911-017-0469-6

Source DB:  PubMed          Journal:  BMC Med Inform Decis Mak        ISSN: 1472-6947            Impact factor:   2.796


Background

With the rise of social media and the burgeoning volume of user-generated data, there is a growing interest in using social media data for public health related studies. Social media surveillance has proven its value for many public health issues, such as estimating of epidemiological patterns [1], forecasting disease outbreak [2, 3], detecting drug adverse effects [4], and assessing vaccination [5, 6]. With 310 million monthly active users and 500 million tweets posting per day [7], Twitter is one of the largest and most popular social media in US and in the world. The length limit of 140 characters per tweet also makes users post more concisely and more expressively than other social networks and blogs [8]. These characteristics make Twitter a very valuable data source for public health informatics researchers. Vaccination refusal has been a serious issue for human papillomavirus (HPV) vaccines [9]. Introduced in 2006, HPV vaccine can be used to prevent most cancers caused by HPV infections. However, compared to other recommended vaccines, HPV vaccines coverage in USA is still quite low especially among adolescents [10]. Anti-vaccine rhetoric directed at HPV vaccines in media and online appears to be able to alter vaccine acceptance and decision-making [5]. As individuals’ decisions about whether or not to immunize are not usually made rationally nor at one moment in time [11] and individual health behaviors appear to be modulated by opinions from social networks [6], understanding public opinion towards HPV vaccines in social media is of significant importance for HPV vaccination promotion. Moreover, the surveillance of real-time Twitter information flow could provide timely updates when scares arise, and instant feedback to public health agencies to examine and adjust their strategies to improve future HPV vaccines uptake and adherence. Unlike traditional surveying methods that are labor-intensive and expensive [6], we propose to leverage machine learning approaches to extract public opinion from tweets automatically. This is called sentiment analysis (SA) in the field of natural language processing (NLP). In our previous work, we developed a machine learning based sentiment analysis system that can hierarchically classify HPV vaccine-related tweets into 10 categories [12]. This system not only will deduce the sentiment polarity of a tweet at the high level (e.g., “Positive”, “Negative” and “Neutral”), but will also further identify the exact reasononing behind a negative opinion (e.g., “Safety”, “Efficacy”, etc.). In this study, we evaluated this system on a large-scale unannotated tweets corpus and deduce the sentiment labels of those tweets. Additional time series analysis and regression models were applied to track the changes and to identify the patterns of different sentiments toward HPV vaccines over time.

Methods

Data resource

We used a set of keywords (hpv, human papillomavirus, gardasil, and cervarix) to collect English tweets by using Twitter Streaming APIs. The tweets corpus was collected from November 2, 2015 to March 28, 2016. There were 184,214 tweets collected during that time period. We will use this corpus to evaluate the sentiment analysis system developed in our previous work and leverage the system to extract and analyze public opinion toward HPV vaccines from the unannotated tweets corpus.

Machine learning system

A machine learning based sentiment analysis system was developed in our previous work to extract public opinions from HPV vaccines related tweets [12]. This system was able to classify tweets into multiple sentiment categories. Figure 1 shows the sentiment classification scheme for the HPV vaccines related tweets. Detailed definitions of each category were provided in Additional file 1. By leveraging hierarchical classification methods (three SVM models) with optimized feature sets and model parameters, this system has achieved the micro-averaging F score at 0.7442 on the gold standard [12]. The overview of the sentiment analysis system can be seen in Fig. 2.
Fig. 1

Sentiment classification scheme for HPV vaccine related tweets [12]

Fig. 2

Overview of the machine learning based system for tweets sentiment analysis

Sentiment classification scheme for HPV vaccine related tweets [12] Overview of the machine learning based system for tweets sentiment analysis

Evaluation of the system on the unannotated tweets corpus

To evaluate system performance on the unannotated tweets corpus, we randomly selected 500 tweets from the unannotated tweets corpus and manually annotated those tweets according to the sentiment classification scheme. Then, the machine learning system was applied to deduce the sentiment labels of these annotated tweets. Machine learning system- deduced sentiment labels were compared with manually annotated labels. Standard metrics including precision, recall and F measure were then calculated to evaluate the performance of the system. We also calculated the micro-averaged and macro-averaged score to evaluate the overall performance on all sentiment categories. To calculate the micro-averaged score, we summed up all the individual true positives, false positives, and false negatives. For the macro-averaged score, we calculated the average score of the F measure of all sentiment categories.

Time series analysis on predicated sentiments

After the evaluation, we leveraged our system to deduce the sentiment labels for all the tweets in the unannotated tweets corpus. Longitudinal deduced counts and rates for different sentiment categories were calculated. Time series trends for different sentiment categories were graphed and analyzed by Tableau. As social media posting behavior is associated with different days of the week [13, 14], we also calculated the averaged rates of different sentiment groups for different days of the week. Linear and quadratic regression models were used to fit the data to explore trends and associations.

Results

Machine learning system evaluation results

Among the 500 randomly selected tweets from the large corpus, our manual annotation found that 193 of them were “Unrelated” to HPV vaccine sentiments, 116 tweets were “Neutral”, and 106 tweets were “Positive”. There were also 65 tweets and 20 tweets that were annotated into “NegSafety” and “NegOthers” sentiment categories, respectively. The micro-averaged and macro-averaged of F scores have reached 0.786 and 0.708 respectively. The overall performance was promising. The detailed evaluation results for the overall performance and for each category can be seen in Table 1.
Table 1

Machine learning system evaluation on 500 randomly selected tweets from the unannotated tweets corpus

CategoryPrecisionRecallF measure
OverallMicro-averaging0.78600.78600.7860
Macro-averaging0.71120.70510.7081
Per CategoryUnrelated0.93370.94820.9409
RelatedPositive0.65960.87740.7530
Neutral0.75860.56900.6502
NegativeSafety0.80390.63080.7069
Others0.40000.50000.4444
Machine learning system evaluation on 500 randomly selected tweets from the unannotated tweets corpus

Overall description of the predicated sentiments

Our machine learning system then deduced the sentiment labels for 184,214 tweets in the large unannotated tweets corpus from the study period. Overall, 110,778 (60.13%) tweets were classified into the “Related” group. Among the related tweets, 39,704 (35.8%) of them showed positive opinions; 35,591 (32.1%) tweets are categorized into “Neutral”; and 35,482 (32.0%) tweets were categorized into “Negative”. The largest group under the “Negative” tweets is “NegSafety”. There were 28,108 tweets classified into this category. Besides, 7252 tweets and 123 tweets were categorized into “NegOthers” and “NegEfficacy” respectively. No tweets were classified into “NegCost” or “NegResistant”. Detailed sentiments distribution can be seen in Fig. 3. Sample tweets predicated by the machine learning system for different sentiment categories were provided in the Additional file 2.
Fig. 3

Sentiments distribution in large scale unannotated HPV vaccines related tweets corpus. (Neg: Negative)

Sentiments distribution in large scale unannotated HPV vaccines related tweets corpus. (Neg: Negative)

Time series analysis for different sentiment categories

Figure 4 presents an overview of the changing number of different sentiment tweets from November 2, 2015 to March 28, 2016. The average posts for all categories were 1245 per day. A sharp peak was found on Feb 22, 2016. This peak was coincided with an article on The New York Times titled “HPV Sharply Reduced in Teenage Girls Following Vaccine, Study Says” [15]. This article was published exactly on Feb 22, 2016. This coincidence showed an interaction between mainstream events and Twitter contents.
Fig. 4

Stacked line chart for the number of tweets containing different sentiments from November 2, 2015 to March 28, 2016

Stacked line chart for the number of tweets containing different sentiments from November 2, 2015 to March 28, 2016 We calculated the relative daily proportion of “Positive”, “Negative” and “Neutral” tweets to “Related” tweets respectively. Figure 5 shows the time series of different sentiments proportion from November 2, 2015 to March 28, 2016. One of the peaks for “Positive” was found around Feb 22, 2016 (at 66.21%), when The New York Times published the aforementioned article. It can be used as an example to show how real-world media can influence the HPV vaccines public opinion on social media.
Fig. 5

The relative proportions of tweets containing Negative, Neutral and Positive opinions

The relative proportions of tweets containing Negative, Neutral and Positive opinions Quadratic models were then used to fit the time series data to explore trends. We can observe that there were strong fluctuations of the relative proportion for these three sentiment groups. For the “Negative” group, we can see a weak trend that the relative proportion decreased firstly and began to increase around Feb, 2016; for the “Positive” group, we can observe a trend opposite to the “Negative” group, which increased at first and started to decrease around Feb, 2016; for “Neutral” tweets, the curve of the fitted quadratic model was relatively flat. To explore the time series trend of the sub-category of “Negative”, we further calculated the relative daily proportion of “NegSafety”, “NegEfficacy” and “NegOthers” tweets to “Negative” tweets respectively, see Fig. 6, Two main peaks have been found for “NegOthers” sentiment group: 72.92% on Jan 4, 2016 and 80.95% on Mar 2, 2016. Linear models were fitted to explore the trends. We can observe that there was relative significant decreasing trend for “NegEfficacy” sentiment group. For “NegSafety” and “NegOthers” groups, no significant trends were identified.
Fig. 6

The relative proportions of “NegSafety”, “NegEfficacy” and “NegOthers” tweets to “Negative” tweets

The relative proportions of “NegSafety”, “NegEfficacy” and “NegOthers” tweets to “Negative” tweets In order to explore the association of people’s posting behavior and sentiments with different days of the week, we went one step further and calculated the average rates of different sentiment groups on different days of the week. We applied the quadratic models to fit the data. Figure 7 shows the association of “Negative”, “Neutral” and “Positive” sentiment groups with different days of the week. For the “Negative” sentiment group, we found that the quadratic models fit the data quite well (R2 = 0.992). The average rate for “Negative” came to the bottom (around 34%) on Wednesdays and reached the peak on weekends. For “Positive” tweets, the quadratic model also fitted the trends quite well (R2 = 0.992). The trend for “Positive” tweets is quite opposite to “Negative” tweets. The average rate for “Positive” reached the peak at the middle of a week and came to the bottom on the weekends. No significant association was found for the “Neutral” sentiment group.
Fig. 7

The association of different days of the week with the relative proportions of tweets containing Negative, Neutral and Positive opinions

The association of different days of the week with the relative proportions of tweets containing Negative, Neutral and Positive opinions The association of “NegSafety”, “NegEfficacy”, and “NegOthers” tweets with different days of the week can be seen in Fig. 8. The quadratic models fitted the “NegSafety” and “NegOthers” sentiment groups quite well (R2 at 0.876 and 0.917 respectively). The relative proportion for “NegSafety” reached the bottom (around 76%) on Wednesdays and peaked on weekends. For “NegOthers” tweets, the average rate reached the peak at the middle of the week and was lowest on the weekends. No significant association was found for the “NegEfficacy” sentiment group.
Fig. 8

The association of different days of the week with the relative proportions of “NegSafety”, “NegEfficacy” and “NegOthers” tweets

The association of different days of the week with the relative proportions of “NegSafety”, “NegEfficacy” and “NegOthers” tweets

Discussion

Our analysis found the coincidence between mainstream events (The New York Times article) and Twitter contents. We also found that the activity on mainstream media can have a significant influence on HPV vaccine public opinion on Twitter (with 66.21% positive rate on the article posting day compared to 35.8% positive rate for all the tweets). It is safe to say that Twitter is not an isolated world and that promotion efforts in mainstream media could have a positive impact on public opinion on Twitter. Further analysis helped us find more trends and patterns for different sentiments on HPV vaccines. We observed a weak trend for “Negative” tweets that decreased firstly and began to increase later; an opposite trend was identified for “Positive” tweets. We also found the tweets that contain the concerns about efficacy for HPV vaccines showed a relative significant decreasing trend. Strong associations were found between different sentiments and different days of a week. Average rates for the “Negative” tweets reached to the bottom on Wednesdays and reached the peak on weekends; an opposite association was found for “Positive” tweets. For the sub-categories of the “Negative” sentiment group, strong associations between the numbers of tweets and days of a week were also found for “NegSafety” and “NegOthers”. One third of parents are distrustful of newer vaccines [11]. Our efforts on sentiment analysis for newly approved HPV vaccines provide an automatic and instant way to extract public opinion and understand the concerns using Twitter data. Our system can provide feedback to public health professionals to monitor online public response and examine the effectiveness of their HPV vaccine promotion strategies. The associations found for different sentiments with different days of week could also be very helpful for public health professionals in adjusting their promotion plans. For example, they can deliver more persuasive messages on weekends instead of the middle of the week, as the negative opinions are more prevalent on these days. A significant issue for the machine learning system is the un-satisfactory performance on the minority categories. However, as we observed that the proportion of those tweets is very small, this will not significantly influence the results. Another limitation of our approach is study population bias. As the Twitter population is not representative of the general population, the public opinions on Twitter cannot be used to fully represent the opinions of the general public. However, previous study showed the correlation between sentiments expressed online and CDC-estimated vaccination rates [6], and therefore we believe our results are meaningful and can be used to be assess general public opinion.

Conclusion

In order to understand public opinion about HPV vaccines, we leveraged the machine learning-based sentiment analysis system to automatically extract public opinion towards HPV vaccine from a large unannotated tweets corpus that contains HPV vaccines related keywords. The evaluation of the system on the large tweets corpus was promising, with micro-averaged score at 0.786 and macro-averaged score at 0.7081 respectively on the sampling dataset. Further time series analysis was done and identified trends and patterns of different sentiments and their association with different days of the week. Our findings can be provided to the health professionals to propose more precise and efficient plan to resolve public concerns on Twitter and come up with promotion plan to increase HPV vaccine uptake finally. Detailed definitions of different sentiment categories for HPV vaccine related tweets. (DOC 30 kb) Sample tweets predicated by the machine learning system. URLs and Twitter user names have been removed. (DOC 30 kb)
  8 in total

1.  Social and news media enable estimation of epidemiological patterns early in the 2010 Haitian cholera outbreak.

Authors:  Rumi Chunara; Jason R Andrews; John S Brownstein
Journal:  Am J Trop Med Hyg       Date:  2012-01       Impact factor: 2.345

2.  Using social connection information to improve opinion mining: Identifying negative sentiment about HPV vaccines on Twitter.

Authors:  Xujuan Zhou; Enrico Coiera; Guy Tsafnat; Diana Arachi; Mei-Sing Ong; Adam G Dunn
Journal:  Stud Health Technol Inform       Date:  2015

3.  Target the fence-sitters.

Authors:  Julie Leask
Journal:  Nature       Date:  2011-05-26       Impact factor: 49.962

4.  Pandemics in the age of Twitter: content analysis of Tweets during the 2009 H1N1 outbreak.

Authors:  Cynthia Chew; Gunther Eysenbach
Journal:  PLoS One       Date:  2010-11-29       Impact factor: 3.240

5.  Assessing vaccination sentiments with online social media: implications for infectious disease dynamics and control.

Authors:  Marcel Salathé; Shashank Khandelwal
Journal:  PLoS Comput Biol       Date:  2011-10-13       Impact factor: 4.475

6.  Associations Between Exposure to and Expression of Negative Opinions About Human Papillomavirus Vaccines on Social Media: An Observational Study.

Authors:  Adam G Dunn; Julie Leask; Xujuan Zhou; Kenneth D Mandl; Enrico Coiera
Journal:  J Med Internet Res       Date:  2015-06-10       Impact factor: 5.428

7.  Digital drug safety surveillance: monitoring pharmaceutical products in twitter.

Authors:  Clark C Freifeld; John S Brownstein; Christopher M Menone; Wenjie Bao; Ross Filice; Taha Kass-Hout; Nabarun Dasgupta
Journal:  Drug Saf       Date:  2014-05       Impact factor: 5.606

8.  Optimization on machine learning based approaches for sentiment analysis on HPV vaccines related tweets.

Authors:  Jingcheng Du; Jun Xu; Hsingyi Song; Xiangyu Liu; Cui Tao
Journal:  J Biomed Semantics       Date:  2017-03-03
  8 in total
  30 in total

1.  A systematic literature review to examine the potential for social media to impact HPV vaccine uptake and awareness, knowledge, and attitudes about HPV and HPV vaccination.

Authors:  Rebecca R Ortiz; Andrea Smith; Tamera Coyne-Beasley
Journal:  Hum Vaccin Immunother       Date:  2019-04-11       Impact factor: 3.452

Review 2.  Understanding the use of digital technology to promote human papillomavirus vaccination - A RE-AIM framework approach.

Authors:  Ashley B Stephens; Chelsea S Wynn; Melissa S Stockwell
Journal:  Hum Vaccin Immunother       Date:  2019-06-18       Impact factor: 3.452

3.  How Do General-Purpose Sentiment Analyzers Perform when Applied to Health-Related Online Social Media Data?

Authors:  Lu He; Kai Zheng
Journal:  Stud Health Technol Inform       Date:  2019-08-21

4.  Mining Twitter to assess the determinants of health behavior toward human papillomavirus vaccination in the United States.

Authors:  Hansi Zhang; Christopher Wheldon; Adam G Dunn; Cui Tao; Jinhai Huo; Rui Zhang; Mattia Prosperi; Yi Guo; Jiang Bian
Journal:  J Am Med Inform Assoc       Date:  2020-02-01       Impact factor: 4.497

5.  Developing a standardized protocol for computational sentiment analysis research using health-related social media data.

Authors:  Lu He; Tingjue Yin; Zhaoxian Hu; Yunan Chen; David A Hanauer; Kai Zheng
Journal:  J Am Med Inform Assoc       Date:  2021-06-12       Impact factor: 4.497

6.  Introduction: the International Conference on Intelligent Biology and Medicine (ICIBM) 2016: special focus on medical informatics and big data.

Authors:  Cui Tao; Yang Gong; Hua Xu; Zhongming Zhao
Journal:  BMC Med Inform Decis Mak       Date:  2017-07-05       Impact factor: 2.796

7.  Public Perception Analysis of Tweets During the 2015 Measles Outbreak: Comparative Study Using Convolutional Neural Network Models.

Authors:  Jingcheng Du; Lu Tang; Yang Xiang; Degui Zhi; Jun Xu; Hsing-Yi Song; Cui Tao
Journal:  J Med Internet Res       Date:  2018-07-09       Impact factor: 5.428

8.  Transforming health policy through machine learning.

Authors:  Hutan Ashrafian; Ara Darzi
Journal:  PLoS Med       Date:  2018-11-13       Impact factor: 11.069

9.  What Drives Health Professionals to Tweet About #HPVvaccine? Identifying Strategies for Effective Communication.

Authors:  Philip M Massey; Alex Budenz; Amy Leader; Kara Fisher; Ann C Klassen; Elad Yom-Tov
Journal:  Prev Chronic Dis       Date:  2018-02-22       Impact factor: 2.830

10.  Twitter as a sentinel tool to monitor public opinion on vaccination: an opinion mining analysis from September 2016 to August 2017 in Italy.

Authors:  Lara Tavoschi; Filippo Quattrone; Eleonora D'Andrea; Pietro Ducange; Marco Vabanesi; Francesco Marcelloni; Pier Luigi Lopalco
Journal:  Hum Vaccin Immunother       Date:  2020-03-02       Impact factor: 3.452

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.