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

Daal and climate change

A humble, everyday dish for most South Asian families

iStock

Daal, diaspora and climate change: Are cultural recipes the solution?

Mareyah Bhatti

I’m Mareyah, a sustainability strategist and passionate home cook, exploring the links between climate, culture and food. Drawing on my Pakistani heritage, I champion the value of traditional knowledge and everyday cooking as a powerful - yet often overlooked - tool for climate action. My work focuses on making sustainability accessible by celebrating the flavours, stories and practices that have been passed down through generations.

As someone who grew up surrounded by the flavours and stories of my Pakistani heritage, food has always been more than nourishment - it’s about connections, culture and memory. It’s one of the only things that unites us all. We cook it, eat it and talk about it every day, even if our ingredients and traditions differ. We live in a world where climate change is a looming threat, and we’re constantly seeing images of crises and mentions of highly technical or political answers. But, what if one of the solutions was closer to home?

Keep ReadingShow less