Calibration of Transformer-based Models for Identifying Stress and Depression in Social Media

05/26/2023
by   Loukas Ilias, et al.
0

In today's fast-paced world, the rates of stress and depression present a surge. Social media provide assistance for the early detection of mental health conditions. Existing methods mainly introduce feature extraction approaches and train shallow machine learning classifiers. Other researches use deep neural networks or transformers. Despite the fact that transformer-based models achieve noticeable improvements, they cannot often capture rich factual knowledge. Although there have been proposed a number of studies aiming to enhance the pretrained transformer-based models with extra information or additional modalities, no prior work has exploited these modifications for detecting stress and depression through social media. In addition, although the reliability of a machine learning model's confidence in its predictions is critical for high-risk applications, there is no prior work taken into consideration the model calibration. To resolve the above issues, we present the first study in the task of depression and stress detection in social media, which injects extra linguistic information in transformer-based models, namely BERT and MentalBERT. Specifically, the proposed approach employs a Multimodal Adaptation Gate for creating the combined embeddings, which are given as input to a BERT (or MentalBERT) model. For taking into account the model calibration, we apply label smoothing. We test our proposed approaches in three publicly available datasets and demonstrate that the integration of linguistic features into transformer-based models presents a surge in the performance. Also, the usage of label smoothing contributes to both the improvement of the model's performance and the calibration of the model. We finally perform a linguistic analysis of the posts and show differences in language between stressful and non-stressful texts, as well as depressive and non-depressive posts.

READ FULL TEXT
research
12/19/2022

Exploring Hybrid and Ensemble Models for Multiclass Prediction of Mental Health Status on Social Media

In recent years, there has been a surge of interest in research on autom...
research
01/11/2021

Evaluation of Deep Learning Models for Hostility Detection in Hindi Text

The social media platform is a convenient medium to express personal tho...
research
10/31/2019

Dreaddit: A Reddit Dataset for Stress Analysis in Social Media

Stress is a nigh-universal human experience, particularly in the online ...
research
10/04/2021

Quantifying the Suicidal Tendency on Social Media: A Survey

Amid lockdown period more people express their feelings over social medi...
research
05/30/2023

Multitask learning for recognizing stress and depression in social media

Stress and depression are prevalent nowadays across people of all ages d...
research
06/15/2023

ChatGPT for Suicide Risk Assessment on Social Media: Quantitative Evaluation of Model Performance, Potentials and Limitations

This paper presents a novel framework for quantitatively evaluating the ...
research
01/05/2023

When Cyber Aggression Prediction Meets BERT on Social Media

Increasingly, cyber aggression becomes the prevalent phenomenon that ero...

Please sign up or login with your details

Forgot password? Click here to reset