Skip to content
Search

Latest Stories

Researchers use Twitter data and AI to create predictive model for mental disorders

The researchers’ preliminary findings suggest that a person’s social media friends and followers could indicate the likelihood of them developing depression

Researchers use Twitter data and AI to create predictive model for mental disorders

Researchers at the University of São Paulo are working on developing prediction models for anxiety and depression using Twitter and artificial intelligence (AI). The models aim to detect signs of these mental illnesses before clinical diagnosis.

The researchers' preliminary findings suggest that a person's social media friends and followers could indicate the likelihood of them developing depression.


The study involved constructing a database called SetembroBR, which included a corpus of 47 million publicly posted Portuguese texts and a network of connections between 3,900 Twitter users.

The research is published in the Language Resources and Evaluation journal.

During the Covid-19 pandemic, researchers manually collected timelines of tweets from about 19,000 users who had reportedly been diagnosed with or treated for mental health problems before the survey.

The study used two datasets, one for users with mental health diagnoses and another for control purposes, selected at random to distinguish between people with depression and the general population.

Ivandre Paraboni, a professor at USP and the last author of the study, explained that this was the first step in creating the anxiety and depression prediction model.

The study collected tweets from friends and followers of people with mental health problems, as they tend to follow certain accounts related to mental health.

Deep learning was used to create text classifiers and word embeddings based on bidirectional encoder representations from transformers (BERT), a machine learning algorithm employed for natural language processing (NLP) to detect the likelihood of a person developing depression based on their social media connections. The findings are still in progress.

Researchers found that BERT was the best model in predicting depression and anxiety by monitoring sequential data relationships such as words in a sentence.

People with depression tended to write about themselves and use topics such as death, crisis, and psychology.

Also, according to Paraboni, the signs of depression on social media may differ from those observed during a doctor's visit.

For example, the study found that depressed users often used the first-person singular pronouns "I" and "me" and the heart emoji, which could be considered a symbol of affection and love. These observations could potentially be used as indicators of depression.

"This is widely felt to be a symbol of affection and love, but maybe psychologists haven't yet characterised it as such," Paraboni said.

The researchers are now working on expanding the database, improving their computational methods and enhancing the models to develop a screening tool for identifying individuals at risk of mental health issues.

The tool may also assist families and friends in detecting depression and anxiety in young people.

(With inputs from PTI)

More For You

Councils issue 55,000 blue badges for 'hidden disabilities' as applications triple

The badges allow parking on double yellow lines for up to three hours and exemptions from congestion charges and tolls

iStock

Councils issue 55,000 blue badges for 'hidden disabilities' as applications triple

Highlights

  • Blue badge approvals for hidden disabilities rose to 55,000 in 2025 from 18,000 in 2021.
  • Social media shows tips on getting badges for ADHD and anxiety.
  • Experts say the system meant for mobility issues is being misused.
The number of blue badges issued for 'hidden disabilities' has jumped threefold in recent years, raising concerns that parking permits meant for people with severe mobility problems are being obtained by those with anxiety and ADHD.

Councils handed out 55,000 blue badges for hidden disabilities in last year, compared to 18,000 in 2021.

The increase follows rule changes in 2019 that opened up applications to people with conditions including dementia, Parkinson's and arthritis, but also extended to those with anxiety and other mental health conditions.

Keep ReadingShow less