Skip to main content

Social media posts may provide early warning of PTSD problems

Researchers analysed almost 4 million posts on Twitter to identify COVID-19 survivors at risk of Post Traumatic Stress Disorder.

15 October 2024

Scientists have analysed millions of tweets to identify COVID-19 survivors living with post-traumatic stress disorder (PTSD) - demonstrating the effectiveness of using social media data as a tool for early screening and intervention.

 

The researchers, including Associate Professor Husnain Sherazi from Newcastle University’s School of Computing, constructed a data set of 3.96 million posts on Twitter, now known as X, from users who mentioned on their timeline that they were COVID positive at some point between March 2020 and November 2021.

 

Using machine learning classifiers, including Support Vector Machine (SVM), Naïve Bayes, K-Nearest Neighbor, and Random Forest, the team classified the posts as PTSD positive or negative – achieving an accuracy of 83.29% using SVM.

 

Husnain said: "Our study represents a significant step toward leveraging social media as a tool for mental health screening, particularly in the aftermath of the COVID-19 pandemic. By analysing online behaviour derived from users' tweets through machine learning, we can identify individuals exhibiting early signs of PTSD, enabling timely intervention. This research paves the way for preventive mental health strategies, offering interventions that could greatly enhance the quality of life for those affected."

 

“Our findings demonstrate that social media data can provide a valuable means of identifying people who are at risk of PTSD – enabling early screening and prompt medical action. With further research, the machine learning techniques used here could potentially be applied to provide early detection of other health issues" said Professor Mark Lee from University of Birmingham.

 

Publishing their findings recently in Nature Scientific Reports, the international group of researchers highlight the significant mental health impact of COVID-19, emphasising the need for early detection and intervention for PTSD which has been picked up by international media and was featured in MSN, Science Daily and Neuroscience News.

 

Co-author Professor Mark Lee, from the University of Birmingham, commented: “Our findings demonstrate that social media data can provide a valuable means of identifying people who are at risk of PTSD – enabling early screening and prompt medical action.

“With further research, the machine learning techniques used here could potentially be applied to provide early detection of other health issues.”

 

In analysing the tweets, the scientists identified users being infected with COVID-19 as a triggering event. They then looked for symptoms under key factors including re-experiencing, hyperarousal, and avoidance behaviour searching for a range of keywords including:

  • Flashbacks, nightmares, intrusions, panic, vivid dreams (re-experiencing)
  • Agitated, startle, hypervigilant, irritable (hyperarousal)
  • Avoid, avoidance (avoidance behaviour)
  • Anxiety, depressed, suicidal thoughts, appetite, trauma, fatigue (other symptoms)

Tweets which had both their COVID-19 status as well as one of the PTSD keywords were considered as ‘PTSD Positive’. Tweets that mentioned PTSD keywords but in relation to other events rather than COVID-19 were deemed ‘PTSD Negative’.

 

Co-author Dr Mubashir Ali, Assistant Professor at the University of Birmingham, commented: “We gained a greater understanding of users’ posting behaviour after they were diagnosed with COVID-19. Our analysis indicates that the pandemic took its toll on people’s mental health flagging the possible impact of symptoms such as anxiety, insomnia, and nightmares rampant among COVID-19 survivors.”

 

“Our study highlights the potential of digital social media platforms in providing timely insights into mental health challenges. By applying machine learning and potentially Large Language Models in future to social media data, we can identify early indicators of PTSD, allowing for proactive interventions that could significantly benefit those affected.” commented another co-author Dr Anees Baqir, Assistant Professor at Northeastern University, London.

 

PTSD is a type of anxiety disorder that can develop in individuals who have experienced a traumatic event, such as a car accident, war, physical, emotional, or sexual abuse, a natural disaster, or any other life-altering experience. The WHO and the American Psychiatric Association (APA) both recognize PTSD as a legitimate condition.

 

[Adapted with thanks to Birmingham University]