From
Dr. Alberto Tozzi
Understanding the vaccine stance of Italian tweets and addressing language changes through the COVID-19 pandemic: Development and validation of a machine learning model
pubmed.ncbi.nlm.nih.gov shows its articles on its own site.
Read the article on pubmed.ncbi.nlm.nih.gov ↗Article · Jul 2022 · 1 min read
In brief
In brief
This study developed and validated an XLM-RoBERTa machine learning model to classify vaccine stance in Italian tweets during the COVID-19 pandemic, achieving 72.8% accuracy on initial data but experiencing a 10% accuracy drop on later tweets. The findings demonstrate that vaccine-related language evolves rapidly during public health crises, requiring periodic model retraining to maintain classification performance for real-time social media surveillance.
Written by the GCMD Library team from the article.
Social media is increasingly being used to express opinions and attitudes toward vaccines. The vaccine stance of social media posts can be classified in almost real-time using machine learning. We describe the use of a Transformer-based machine learning model for analyzing vaccine stance of Italian tweets, and demonstrate the need to address changes over time in vaccine-related language, through periodic model retraining. Vaccine-related tweets were collected through a platform developed for the European Joint Action on Vaccination. Two datasets were collected, the first between November 2019 and June 2020, the second from April to September 2021. The tweets were manually categorized by three independent annotators. After cleaning, the total dataset consisted of 1,736 tweets with 3 categories (promotional, neutral, and discouraging). The manually classified tweets were used to train and test various machine learning models. The model that classified the data most similarly to humans was XLM-Roberta-large, a multilingual version of the Transformer-based model RoBERTa. The model hyper-parameters were tuned and then the model ran five times. The fine-tuned model with the best F-score over the validation dataset was selected. Running the selected fine-tuned model on just the first test dataset resulted in an accuracy of 72.8% (F-score 0.713). Using this model on the second test dataset resulted in a 10% drop in accuracy to 62.1% (F-score 0.617), indicating that the model recogniz
Educational content from recorded physician discussions — not medical advice. Talk to your (or your child's) care team about your situation.
Podcast
Le funzioni e gli usi dell'intelligenza artificiale per la salute
Alberto Tozzi · 14 min · Published Oct 2026
Article
Hepatitis B immune memory in children primed with hexavalent vaccines and given monovalent booster vaccines: an open-label, randomised, controlled, multicentre study.
Alberto Tozzi · Published Oct 2026
Podcast
Data to impact: connecting the future of European pediatrics with Alberto Tozzi
Alberto Tozzi · 20 min · Published Oct 2026
Article
[Obesity and cardiovascular risk in children].
Alberto Tozzi · Published Oct 2026
Article
Towards learning healthcare systems in Italy: opportunities and challenges of AI at point-of-care.
Alberto Tozzi · Published Oct 2026
Article
Methicillin-resistant Staphylococcus aureus nasal colonization in a department of pediatrics: a cross-sectional study.
Alberto Tozzi · Published Oct 2026
