Automatic Detection of Twitter Users Who Express Chronic Stress Experiences via Supervised Machine Learning and Natural Language Processing
Related Experiment Video
Updated: Aug 19, 2025

Evaluation of Commercial-Off-The-Shelf Wrist Wearables to Estimate Stress on Students
Published on: June 16, 2018
Yuan-Chi Yang1, Angel Xie, Sangmi Kim
1Author Affiliations: Department of Biomedical Informatics, School of Medicine (Drs Yang, Al-Garadi, and Sarker, and Ms Xie), and Nell Hodgson Woodruff School of Nursing (Ms Hair), Emory University, Atlanta, GA.
Abstract:
Americans bear a high chronic stress burden, particularly during the COVID-19 pandemic. Although social media have many strengths to complement the weaknesses of conventional stress measures, including surveys, they have been rarely utilized to detect individuals self-reporting chronic stress. Thus, this study aimed to develop and evaluate an automatic system on Twitter to identify users who have self-reported chronic stress experiences. Using the Twitter public streaming application programming interface, we collected tweets containing certain stress-related keywords (eg, "chronic," "constant," "stress") and then filtered the data using pre-defined text patterns. We manually annotated tweets with (without) self-report of chronic stress as positive (negative). We trained multiple classifiers and tested them via accuracy and F1 score. We annotated 4195 tweets (1560 positives, 2635 negatives), achieving an inter-annotator agreement of 0.83 (Cohen's kappa). The classifier based on Bidirectional Encoder Representation from Transformers performed the best (accuracy of 83.6% [81.0-86.1]), outperforming the second best-performing classifier (support vector machines: 76.4% [73.5-79.3]). The past tweets from the authors of positive tweets contained useful information, including sources and health impacts of chronic stress. Our study demonstrates that users' self-reported chronic stress experiences can be automatically identified on Twitter, which has a high potential for surveillance and large-scale intervention.
Related Concept Videos
Applications of Stress
The...
Introduction to Stress and Lifestyle
Psychological Responses to Stress
Stress and Mental Health
Individuals with depression often experience challenges in both their personal and professional...
General State of Stress
Specifically, consider a tetrahedral element where one face, labeled XYZ, is perpendicular to the line OA, and the remaining faces align with the coordinate axes with point O as the origin. At any point, such as point O, the stress tensor can be used to determine the stress...
Stress Prevention and Stress Management Techniques I
Conscientiousness
Conscientious individuals tend to be organized, responsible, and disciplined. They prioritize completing tasks and following structured routines,...

