Analyzing Reddit Social Media Content in the United States Related to H5N1: Sentiment and Topic Modeling Study
Oscar Pang1,2, Zahra Movahedi Nia1,3,4,5, Murray Gillies6
1Artificial Intelligence and Mathematical Modeling Lab, Dalla Lana School of Public Health, University of Toronto, Toronto, ON, Canada.
Background:
The H5N1 avian influenza A virus represents a serious threat to both animal and human health, with the potential to escalate into a global pandemic. Effective monitoring of social media during H5N1 avian influenza outbreaks could potentially offer critical insights to guide public health strategies. Social media platforms like Reddit, with their diverse and region-specific communities, provide a rich source of data that can reveal collective attitudes, concerns, and behavioral trends in real time.
Objective:
This study aims to analyze Reddit comments from state-specific subreddits in the United States from the most recent outbreak period of 2022 to 2024 to (1) assess the sentiments expressed as the H5N1 outbreak progresses; (2) identify predominant topics discussed, particularly those corresponding to negative sentiments; and (3) explore correlations between these sentiments or topics and the severity and spread of the outbreak in respective regions.
Methods:
We collected 2152 Reddit comments from 160 subreddits across 11 highly impacted states from February 2022 to July 2024. Outbreak data comprising almost 600 entries were obtained from the US Department of Agriculture database. Sentiment classification was performed using a fine-tuned Bidirectional Encoder Representations From Transformers (BERT) base model, and comments were categorized into 6 emotions: anger, fear, joy, love, sadness, and surprise, with a seventh "neutral" category added for low-confidence classifications. Topic modeling was conducted using BERTopic and latent Dirichlet allocation models. Statistical analyses included calculating correlations between sentiment intensity and outbreak severity levels and applying the Mann-Whitney U test to assess differences between sentiment categories.
Results:
The findings illustrate that H5N1 unfolded in mostly discrete national waves and that only a subset of states-Minnesota and Iowa-experienced chronic, multiwave exposure, a pattern obscured in national aggregates. Sentiment intensity scoring revealed that although 90% (n=1931) of discourse was negative, emotions differed in how they tracked the epidemic: fear aligned weekly with real-time case counts (r=0.11), whereas anger, sadness, and even joy surged 3 weeks after the outbreak (r=0.20-0.24 after the lag was considered). When both the 3-week lag and an outlier month in terms of outbreak cases were adjusted for simultaneously, those associations strengthened further (overall r=0.223), showing how delayed reactions and anomalous surges can mask true sentiment-epidemiology links if left uncorrected. This defines the window in which risk communicators can pre-empt misinformation and economic anxiety. Topic modeling uncovered recurring themes of concern: avian flu culling, sharp egg-price hikes, and frustration over prolonged biosecurity measures. BERTopic provided more coherent and locally specific topics than latent Dirichlet allocation.
Conclusions:
Overall, these results underscore the critical role of social media analysis in understanding public reactions, including prevalent themes and sentiments, and guiding timely, targeted public health interventions during the H5N1 outbreak.
More Related Videos
08:10Production of High-Titer Infectious Influenza Pseudotyped Particles with Envelope Glycoproteins from Highly Pathogenic H5N1 and Avian H7N9 Viruses
Published on: January 15, 2020
12:09Avian Influenza Surveillance with FTA Cards: Field Methods, Biosafety, and Transportation Issues Solved
Published on: August 2, 2011
Related Concept Videos
Immune Response Against Viral Pathogens
NK Cells
NK cells are a crucial part of our innate immune system, acting as the first line of defense against viral infections. These cells can recognize and kill infected cells without prior exposure to the virus, effectively slowing down the spread of infection. Additionally, NK cells produce proinflammatory...
Viral Mutations
Viral Recombination
Factors Affecting the Risk of Infection
The integrity and count of the white blood cells help the body resist pathogens and fight infection. When impaired, it reduces the body's resistance to pathogens. The acidic pH levels of the gastrointestinal, genitourinary tracts, and skin...
Humoral Immune Responses
Transmission-based Precautions II: Airborne and Protective Environment
Airborne precautions:
Use airborne precautions when treating patients known or suspected to have diseases that spread through the air—for example, tuberculosis or measles. These organisms are present in smaller droplets expelled by an infected person and...
