# Natural Language Processing–Powered Real-Time Monitoring Solution for Vaccine Sentiments and Hesitancy on Social Media: System Development and Validation

**Authors:** Liang-Chin Huang, Amanda L Eiden, Long He, Augustine Annan, Siwei Wang, Jingqi Wang, Frank J Manion, Xiaoyan Wang, Jingcheng Du, Lixia Yao

PMC · DOI: 10.2196/57164 · JMIR Medical Informatics · 2024-06-21

## TL;DR

This paper introduces a real-time NLP system to monitor vaccine sentiment and hesitancy on social media, helping public health efforts by analyzing trends across platforms like Twitter, Reddit, and YouTube.

## Contribution

The novel contribution is a validated NLP-based dashboard for real-time tracking of vaccine sentiment and hesitancy using WHO’s 3Cs model across multiple social media platforms.

## Key findings

- The system analyzed over 86 million social media discussions related to HPV, MMR, and unspecified vaccines.
- NLP models achieved up to 0.91 accuracy in classifying vaccine hesitancy using the WHO’s 3Cs framework.
- The platform revealed distinct patterns in vaccine sentiment and hesitancy across different vaccines and platforms.

## Abstract

Vaccines serve as a crucial public health tool, although vaccine hesitancy continues to pose a significant threat to full vaccine uptake and, consequently, community health. Understanding and tracking vaccine hesitancy is essential for effective public health interventions; however, traditional survey methods present various limitations.

This study aimed to create a real-time, natural language processing (NLP)–based tool to assess vaccine sentiment and hesitancy across 3 prominent social media platforms.

We mined and curated discussions in English from Twitter (subsequently rebranded as X), Reddit, and YouTube social media platforms posted between January 1, 2011, and October 31, 2021, concerning human papillomavirus; measles, mumps, and rubella; and unspecified vaccines. We tested multiple NLP algorithms to classify vaccine sentiment into positive, neutral, or negative and to classify vaccine hesitancy using the World Health Organization’s (WHO) 3Cs (confidence, complacency, and convenience) hesitancy model, conceptualizing an online dashboard to illustrate and contextualize trends.

We compiled over 86 million discussions. Our top-performing NLP models displayed accuracies ranging from 0.51 to 0.78 for sentiment classification and from 0.69 to 0.91 for hesitancy classification. Explorative analysis on our platform highlighted variations in online activity about vaccine sentiment and hesitancy, suggesting unique patterns for different vaccines.

Our innovative system performs real-time analysis of sentiment and hesitancy on 3 vaccine topics across major social networks, providing crucial trend insights to assist campaigns aimed at enhancing vaccine uptake and public health.

## Full-text entities

- **Diseases:** mumps (MESH:D009107), rubella (MESH:D012409), measles (MESH:D008457)
- **Species:** Human papillomavirus (species) [taxon 10566]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC11226933/full.md

## Figures

3 figures with captions in the complete paper: https://tomesphere.com/paper/PMC11226933/full.md

## References

94 references — full list in the complete paper: https://tomesphere.com/paper/PMC11226933/full.md

---
Source: https://tomesphere.com/paper/PMC11226933