[Paper Review] Monitoring Depression Trend on Twitter during the COVID-19 Pandemic
This study introduces the largest publicly available English Twitter depression dataset (2,575 identified users) and trains transformer-based models (BERT, RoBERTa, XLNet) to monitor depression trends during the COVID-19 pandemic. It demonstrates that combining deep learning with psychological features and demographic data improves classification accuracy and reveals rising depression signals in both group-level and population-level analyses, especially during key pandemic events.
The COVID-19 pandemic has severely affected people's daily lives and caused tremendous economic loss worldwide. However, its influence on people's mental health conditions has not received as much attention. To study this subject, we choose social media as our main data resource and create by far the largest English Twitter depression dataset containing 2,575 distinct identified depression users with their past tweets. To examine the effect of depression on people's Twitter language, we train three transformer-based depression classification models on the dataset, evaluate their performance with progressively increased training sizes, and compare the model's "tweet chunk"-level and user-level performances. Furthermore, inspired by psychological studies, we create a fusion classifier that combines deep learning model scores with psychological text features and users' demographic information and investigate these features' relations to depression signals. Finally, we demonstrate our model's capability of monitoring both group-level and population-level depression trends by presenting two of its applications during the COVID-19 pandemic. We hope this study can raise awareness among researchers and the general public of COVID-19's impact on people's mental health.
Motivation & Objective
- To address the lack of large-scale, publicly available datasets for studying depression on social media during global crises like the COVID-19 pandemic.
- To develop and evaluate transformer-based models for detecting depression in Twitter users using a large, curated dataset of 5,150 users.
- To investigate how psychological, linguistic, and demographic features enhance depression classification beyond deep learning alone.
- To apply the model to monitor real-time depression trends at both group-level (e.g., depressed vs. non-depressed users) and population-level (e.g., U.S. states) during the pandemic.
- To raise awareness of the mental health impacts of the pandemic through data-driven, scalable monitoring of public sentiment on social media.
Proposed method
- Constructed a large-scale Twitter depression dataset with 5,150 users (2,575 depression-identified, 2,575 controls), including 32,420 tweet chunks of 250 words each.
- Trained and evaluated three state-of-the-art transformer models—BERT, RoBERTa, and XLNet—on progressively larger training subsets to assess performance scaling.
- Implemented a chunking and regrouping method to enable both tweet-level and user-level classification, improving model robustness and evaluation fidelity.
- Developed a fusion classifier combining deep learning model outputs with psychological features (LIWC, sentiment), personality traits, and demographic data to enhance predictive accuracy.
- Applied latent Dirichlet allocation (LDA) to analyze dominant topics in tweets before and after key pandemic events, such as the U.S. National Emergency declaration.
- Aggregated depression scores across geo-located users in the U.S. to track state-level and national-level trends, comparing New York, California, and Florida.
Experimental results
Research questions
- RQ1How does the performance of transformer-based models for depression detection scale with increasing training data size on a large, curated Twitter dataset?
- RQ2To what extent do psychological and demographic features improve the accuracy of deep learning models in classifying depression on social media?
- RQ3How do depression levels in distinct user groups—depressed (DP) and non-depressed (ND) users—evolve over time during the pandemic, particularly around major public health announcements?
- RQ4What are the dominant topics in user tweets before and after the U.S. National Emergency declaration, and how do they relate to changes in depression signals?
- RQ5Can the model detect and track population-level depression trends across U.S. states, and how do regional differences in sentiment and topic focus correlate with these trends?
Key findings
- The performance of all three transformer models (BERT, RoBERTa, XLNet) improved significantly with increasing training data size, validating the value of the large-scale dataset.
- The fusion classifier, combining deep learning with LIWC, sentiment, and demographic features, achieved higher accuracy than deep learning models alone, demonstrating the added value of psychological and contextual features.
- Depression levels in non-depressed (ND) users increased significantly after the U.S. National Emergency was declared, while those in depressed (DP) users showed a slight decrease, suggesting differential sensitivity to external stressors.
- After the U.S. National Emergency announcement, the most frequent topic among both DP and ND users became 'depression and anxiety during COVID-19', indicating a strong correlation between pandemic-related discourse and rising depression signals.
- All three states—New York, California, and Florida—showed similar depression trend patterns: a dip before the emergency, a rise afterward, a temporary decline, and a sharp increase post-May 10th, with Florida consistently showing lower overall depression scores.
- State-level topic modeling revealed that New York users discussed hospital news most frequently, while Florida and California showed higher attention to government policies and life changes due to the pandemic compared to the national average.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.