Calibration of Transformer-based Models for Identifying Stress and Depression in Social Media
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 27 of its 91 references that are in the map. First posted on arXiv 26 May 2023.
Builds on
27 of 91 references.
References · 27
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2016Layer Normalizationcited by 5,669
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
- 2019When Does Label Smoothing Help?cited by 988
- 2019Measuring Calibration in Deep Learningcited by 446
- 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 319
- 2019Knowledge Enhanced Contextual Word Representationscited by 296
15 more
- 2019Negated and Misprimed Probes for Pretrained Language Models: Birds Can Talk, But Cannot Flycited by 243
- 2013Crowdsourcing a Word-Emotion Association Lexiconcited by 196
- 2021MentalBERT: Publicly Available Pretrained Language Models for Mental Healthcarecited by 161
- 2020Top2Vec: Distributed Representations of Topicscited by 126
- 2019E-BERT: Efficient-Yet-Effective Entity Embeddings for BERTcited by 96
- 2019Dreaddit: A Reddit Dataset for Stress Analysis in Social Mediacited by 81
- 2018Direct Uncertainty Prediction for Medical Second Opinionscited by 61
- 2018Utilizing Neural Networks and Linguistic Metadata for Early Detection of Depression Indications in Text Sequencescited by 36
- 2021DeepSleepNet-Lite: A Simplified Automatic Sleep Stage Scoring Model with Uncertainty Estimatescited by 26
- 2021Explainable Identification of Dementia from Transcripts using Transformer Networkscited by 19
- 2018Understanding and Measuring Psychological Stress using Social Mediacited by 17
- 2021DepressionNet: A Novel Summarization Boosted Deep Framework for Depression Detection on Social Mediacited by 10
- 2018Attention-Based LSTM for Psychological Stress Detection from Spoken Language Using Distant Supervisioncited by 8
- 2020Complaint Identification in Social Media with Transformer Networkscited by 6
- 2016Detecting "Smart" Spammers On Social Network: A Topic Model Approachcited by 2
Built on by
Citing papers per year: 2023: 3; 2024: 7; 2025: 1; 2026: 1.
12 papers.
- 2024PsycoLLM: Enhancing LLM for Psychological Understanding and Evaluationcited by 26
- 2024On the State of NLP Approaches to Modeling Depression in Social Media: A Post-COVID-19 Outlookcited by 6
- 2023Multitask learning for recognizing stress and depression in social mediacited by 3
- 2023Harnessing the Power of Hugging Face Transformers for Predicting Mental Health Disorders in Social Networkscited by 3
- 2023Multimodal Detection of Bots on X (Twitter) using Transformerscited by 2
- 2024Sentiment Informed Sentence BERT-Ensemble Algorithm for Depression Detectioncited by 2
- 2024Depression detection in social media posts using transformer-based models and auxiliary featurescited by 2
- 2024On-device Federated Learning in Smartphones for Detecting Depression from Reddit Postscited by 2
- 2024Detecting anxiety and depression in dialogues: a multi-label and explainable approachcited by 2
- 2024A Graph Neural Architecture Search Approach for Identifying Bots in Social Mediacited by 1
- 2025MoPHES:Leveraging on-device LLMs as Agent for Mobile Psychological Health Evaluation and Supportcited by 1
- 2026MentalMARBERT: Domain-Adaptive Pre-training and Two-Stage Fine-Tuning for Arabic Mental Health Disorders Detectioncited by 0
- 2026MentalMARBERT: Domain-Adaptive Pre-training and Two-Stage Fine-Tuning for Arabic Mental Health Disorders Detection10 Jun 2026
- 2025MoPHES:Leveraging on-device LLMs as Agent for Mobile Psychological Health Evaluation and Support17 Oct 2025
- 2024Detecting anxiety and depression in dialogues: a multi-label and explainable approach23 Dec 2024
- 2024A Graph Neural Architecture Search Approach for Identifying Bots in Social Media25 Nov 2024
- 2024On-device Federated Learning in Smartphones for Detecting Depression from Reddit Posts17 Oct 2024
- 2024On the State of NLP Approaches to Modeling Depression in Social Media: A Post-COVID-19 Outlook11 Oct 2024
- 2024Depression detection in social media posts using transformer-based models and auxiliary features30 Sep 2024
- 2024Sentiment Informed Sentence BERT-Ensemble Algorithm for Depression Detection7 Sep 2024
- 2024PsycoLLM: Enhancing LLM for Psychological Understanding and Evaluation8 Jul 2024
- 2023Multimodal Detection of Bots on X (Twitter) using Transformers28 Aug 2023
- 2023Harnessing the Power of Hugging Face Transformers for Predicting Mental Health Disorders in Social Networks29 Jun 2023
- 2023Multitask learning for recognizing stress and depression in social media30 May 2023