Textual Analysis of Communications in COVID-19 Infected Community on Social Media

Yuhan Liu, Yuhan Gao, Zhifan Nan, Long Chen · DOI

Abstract

During the COVID-19 pandemic, people started to discuss about pandemic-related topics on social media. On subreddit r/COVID19positive, a number of topics are discussed or being shared, including experience of those who got a positive test result, stories of those who presumably got infected, and questions asked regarding the pandemic and the disease. In this study, we try to understand, from a linguistic perspective, the nature of discussions on the subreddit. We found differences in linguistic characteristics (e.g. psychological, emotional and reasoning) across three different categories of topics. We also classified posts into the different categories using SOTA pre-trained language models. Such classification model can be used for pandemic-related research on social media.

Introduction

During the height of the COVID-19 pandemic, social media platforms like Reddit became vital hubs for sharing health experiences and seeking emotional support. However, the sheer volume of user-generated data makes it difficult for public health researchers to manually distinguish between different types of discourse. This research addresses two main challenges: identifying how language usage (emotions, logic, and temporal focus) differs based on a user's infection status and building a robust machine learning pipeline to automatically categorize these communications.

Methodology

The study employed a two-pronged approach to analyze the data:

  1. Linguistic Analysis: Researchers used LIWC (Linguistic Inquiry and Word Count) 2015 to extract scores for summary features (like analytical thinking and confidence), psychological states (emotions), and temporal orientations.
  2. Classification Models: To categorize posts, the authors compared several architectures, including a Stacking Ensemble of traditional models, a Bi-LSTM network, and fine-tuned versions of state-of-the-art (SOTA) transformers like BERT and XLNet. To address class imbalance, the SMOTE (Synthetic Minority Oversampling Technique) was utilized during training.

Dataset and Categorization

The dataset was scraped from the r/COVID19positive subreddit between March 14 and October 14, 2020. After cleaning, the final dataset consisted of 15,410 posts. These were categorized using user-applied "flairs" into three ground-truth groups:

  • Question ($N=8,687$): General inquiries about the virus or testing.
  • Tested Positive ($N=5,241$): Confirmed infection cases.
  • Presumed Positive ($N=1,482$): Users who suspect infection but lack a formal test.

Linguistic Characterization

The analysis revealed distinct linguistic signatures for each group. Interestingly, "Presumed Positive" posts exhibited the highest Analytic scores, suggesting that users facing uncertainty engage in more formal, logical reasoning as they attempt to self-diagnose. Conversely, users who "Tested Positive" showed higher Clout (confidence) and Emotional Tone scores, appearing more optimistic about recovery than those in the "Question" category, who exhibited the highest levels of anxiety.

Linguistic summary features (Analytic, Clout, Tone) across categories

Temporal focus also varied significantly: "Tested Positive" users focused more on the past (recounting infection origins), while "Question" posts focused on the present (immediate symptoms and needs).

Automated Classification Results

The performance of the classification models was evaluated using Accuracy and F1 scores. BERT emerged as the superior model, achieving an F1 score of 0.722. While the SOTA transformers performed best, the gap between them and traditional ensemble models was relatively narrow, likely due to the specialized nature and size of the dataset.

Classification performance of various models

Conclusion and Future Work

This study demonstrates that linguistic patterns on social media can effectively signal a user's health status and psychological state during a public health crisis. While the current models rely primarily on text, future iterations could incorporate metadata like engagement metrics (upvotes and comment counts). Additionally, the authors suggest exploring unsupervised methods like Latent Dirichlet Allocation (LDA) to discover latent topics within the community that might not be captured by broad flair categories.

Summary updated

BibTeX
@misc{liu2021textual,
  author = {Yuhan Liu and Yuhan Gao and Zhifan Nan and Long Chen},
  title = {{Textual Analysis of Communications in COVID-19 Infected Community on Social Media}},
  year = {2021},
  eprint = {2105.01189},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.01189},
}
Figure