Machine Learning Approaches for Mental Illness Detection on Social Media: A Systematic Review of Biases and Methodological Challenges
Not on the map. Why?
Abstract (arXiv)
The global increase in mental illness requires innovative detection methods for early intervention. Social media provides a valuable platform to identify mental illness through user-generated content. This systematic review examines machine learning (ML) models for detecting mental illness, with a particular focus on depression, using social media data. It highlights biases and methodological challenges encountered throughout the ML lifecycle. A search of PubMed, IEEE Xplore, and Google Scholar identified 47 relevant studies published after 2010. The Prediction model Risk Of Bias ASsessment Tool (PROBAST) was utilized to assess methodological quality and risk of bias. The review reveals significant biases affecting model reliability and generalizability. A predominant reliance on Twitter (63.8%) and English-language content (over 90%) limits diversity, with most studies focused on users from the United States and Europe. Non-probability sampling (80%) limits representativeness. Only 23% explicitly addressed linguistic nuances like negations, crucial for accurate sentiment analysis. Inconsistent hyperparameter tuning (27.7%) and inadequate data partitioning (17%) risk overfitting. While 74.5% used appropriate evaluation metrics for imbalanced data, others relied on accuracy without addressing class imbalance, potentially skewing results. Reporting transparency varied, often lacking critical methodological details. These findings highlight the need to diversify data sources, standardize preprocessing, ensure consistent model development, address class imbalance, and enhance reporting transparency. By overcoming these challenges, future research can develop more robust and generalizable ML models for depression detection on social media, contributing to improved mental health outcomes globally.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 11 of its 85 references that are in the map. First posted on arXiv 21 Oct 2024.
Builds on
11 of 85 references.
References · 11
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2018Deep contextualized word representationscited by 2,290
- 2020On Hyperparameter Optimization of Machine Learning Algorithms: Theory and Practicecited by 182
- 2021MentalBERT: Publicly Available Pretrained Language Models for Mental Healthcarecited by 161
- 2018Tunability: Importance of Hyperparameters of Machine Learning Algorithmscited by 99
- 2019NegBERT: A Transfer Learning Approach for Negation Detection and Scope Resolutioncited by 36
- 2015Hyperparameter Search in Machine Learningcited by 33
- 2021COVID-19 sentiment analysis via deep learning during the rise of novel casescited by 18
- 2013Is the Sample Good Enough? Comparing Data from Twitter's Streaming API with Twitter's Firehosecited by 16
- 2019How Do You #relax When You're #stressed? A Content Analysis and Infodemiology Study of Stress-Related Tweetscited by 3
Built on by
Citing papers per year: 2024: 1; 2025: 3.
4 papers.
- 2024A Systematic Review of Machine Learning Approaches for Detecting Deceptive Activities on Social Media: Methods, Challenges, and Biasescited by 4
- 2025Tutorial on Using Machine Learning and Deep Learning Models for Mental Illness Detectioncited by 3
- 2025Efficient or Powerful? Trade-offs Between Machine Learning and Deep Learning for Mental Illness Detection on Social Mediacited by 2
- 2025On Theoretical Limits of Learning with Label Differential Privacycited by 1
- 2025Efficient or Powerful? Trade-offs Between Machine Learning and Deep Learning for Mental Illness Detection on Social Media3 Mar 2025
- 2025On Theoretical Limits of Learning with Label Differential Privacy20 Feb 2025
- 2025Tutorial on Using Machine Learning and Deep Learning Models for Mental Illness Detection3 Feb 2025
- 2024A Systematic Review of Machine Learning Approaches for Detecting Deceptive Activities on Social Media: Methods, Challenges, and Biases26 Oct 2024