Monitoring stance towards vaccination in twitter messages

Florian Kunneman*, Mattijs Lambooij, Albert Wong, Antal Van Den Bosch, Liesbeth Mollema

*Corresponding author for this work

Research output: Contribution to JournalArticleAcademicpeer-review

Abstract

Background: We developed a system to automatically classify stance towards vaccination in Twitter messages, with a focus on messages with a negative stance. Such a system makes it possible to monitor the ongoing stream of messages on social media, offering actionable insights into public hesitance with respect to vaccination. At the moment, such monitoring is done by means of regular sentiment analysis with a poor performance on detecting negative stance towards vaccination. For Dutch Twitter messages that mention vaccination-related key terms, we annotated their stance and feeling in relation to vaccination (provided that they referred to this topic). Subsequently, we used these coded data to train and test different machine learning set-ups. With the aim to best identify messages with a negative stance towards vaccination, we compared set-ups at an increasing dataset size and decreasing reliability, at an increasing number of categories to distinguish, and with different classification algorithms. Results: We found that Support Vector Machines trained on a combination of strictly and laxly labeled data with a more fine-grained labeling yielded the best result, at an F1-score of 0.36 and an Area under the ROC curve of 0.66, considerably outperforming the currently used sentiment analysis that yielded an F1-score of 0.25 and an Area under the ROC curve of 0.57. We also show that the recall of our system could be optimized to 0.60 at little loss of precision. Conclusion: The outcomes of our study indicate that stance prediction by a computerized system only is a challenging task. Nonetheless, the model showed sufficient recall on identifying negative tweets so as to reduce the manual effort of reviewing messages. Our analysis of the data and behavior of our system suggests that an approach is needed in which the use of a larger training dataset is combined with a setting in which a human-in-the-loop provides the system with feedback on its predictions.

Original languageEnglish
Article number33
Pages (from-to)1-14
Number of pages14
JournalBMC Medical Informatics and Decision Making
Volume20
Issue number1
DOIs
Publication statusPublished - 18 Feb 2020

Funding

This study has been funded by the Rijksinstituut voor Volksgezondheid en Milieu. The funding body was involved in the writing, the annotation procedure and advising on the experimentation and analysis.

FundersFunder number
Rijksinstituut voor Volksgezondheid en Milieu

    Keywords

    • Sentiment analysis
    • Social media
    • Vaccination

    Fingerprint

    Dive into the research topics of 'Monitoring stance towards vaccination in twitter messages'. Together they form a unique fingerprint.

    Cite this