mlsanityData to 13 Oct 2026

Depression detection in social media posts using transformer-based models and auxiliary features

arXiv 2409.20048 ↗First posted 30 Sep 2024cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

The detection of depression in social media posts is crucial due to the increasing prevalence of mental health issues. Traditional machine learning algorithms often fail to capture intricate textual patterns, limiting their effectiveness in identifying depression. Existing studies have explored various approaches to this problem but often fall short in terms of accuracy and robustness. To address these limitations, this research proposes a neural network architecture leveraging transformer-based models combined with metadata and linguistic markers. The study employs DistilBERT, extracting information from the last four layers of the transformer, applying learned weights, and averaging them to create a rich representation of the input text. This representation, augmented by metadata and linguistic markers, enhances the model's comprehension of each post. Dropout layers prevent overfitting, and a Multilayer Perceptron (MLP) is used for final classification. Data augmentation techniques, inspired by the Easy Data Augmentation (EDA) methods, are also employed to improve model performance. Using BERT, random insertion and substitution of phrases generate additional training data, focusing on balancing the dataset by augmenting underrepresented classes. The proposed model achieves weighted Precision, Recall, and F1-scores of 84.26%, 84.18%, and 84.15%, respectively. The augmentation techniques significantly enhance model performance, increasing the weighted F1-score from 72.59% to 84.15%.

Key facts. Cited by 2 papers in the map (data through 13 Oct 2026). Builds on 24 of its 72 references that are in the map. First posted on arXiv 30 Sep 2024.

Builds on

24 of 72 references.

References · 24

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,223
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
  4. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,281
  5. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,779
  6. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,042
  7. 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 802
  8. 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 416
  9. 2021MentalBERT: Publicly Available Pretrained Language Models for Mental Healthcarecited by 159
  10. 2017Depression and Self-Harm Risk Assessment in Online Forumscited by 81
  11. 2018Utilizing Neural Networks and Linguistic Metadata for Early Detection of Depression Indications in Text Sequencescited by 36
  12. 2021Explainable Identification of Dementia from Transcripts using Transformer Networkscited by 19
12 more
  1. 2018Understanding and Measuring Psychological Stress using Social Mediacited by 17
  2. 2020Utilizing BERT Intermediate Layers for Aspect Based Sentiment Analysis and Natural Language Inferencecited by 14
  3. 2021Detecting Dementia from Speech and Transcripts using Transformerscited by 13
  4. 2022DEPTWEET: A Typology for Social Media Texts to Detect Depression Severitiescited by 12
  5. 2023Calibration of Transformer-based Models for Identifying Stress and Depression in Social Mediacited by 12
  6. 2020Detection and Classification of mental illnesses on social media using RoBERTacited by 8
  7. 2022A Multimodal Approach for Dementia Detection from Spontaneous Speech with Tensor Fusion Layercited by 6
  8. 2022Mental Illness Classification on Social Media Texts using Deep Learning and Transfer Learningcited by 5
  9. 2023Detecting Reddit Users with Depression Using a Hybrid Neural Network SBERT-CNNcited by 5
  10. 2023Multitask learning for recognizing stress and depression in social mediacited by 3
  11. 2023Social Bots: Detection and Challengescited by 3
  12. 2022Explainable Verbal Deception Detection using Transformerscited by 2

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2024: 1; 2025: 0; 2026: 1.

2 papers.