ABSTRACT
Objective Mental health conditions are traditionally modeled individually, which ignores the complex, interconnected nature of mental health disorders, which often share overlapping symptoms. This study aims to develop an integrated multi-task learning framework to enhance the detection of mental health conditions.
Method Utilizing datasets from Reddit’s SuicideWatch and Mental Health Collection (SWMH) and Psychiatric-disorder Symptoms (PsySym), the study develops a BERT-based multi-task learning framework. This framework leverages pre-trained embedding layers of BERT variants to capture linguistic nuances relevant to various mental health conditions from social media narratives. The approach is tested against the two datasets, comparing multitask modeling with a wide array of single-task baselines and large language models (LLM).
Results The multi-task learning framework demonstrated higher performance in efficiently predicting mental health conditions together compared to single-task models and general-purpose LLMs. Specifically, the framework achieved higher F1 scores across multiple conditions, with notable improvements in recall and precision metrics. This indicates more accurate modeling of mental health disorders when considered together, rather than in isolation.
Conclusion The study confirms the effectiveness of a multi-task learning approach in enhancing the detection of mental health conditions from social media data. It sets a new precedent in computational psychiatry and suggests future explorations into multi-task frameworks for deeper insights into mental health disorders.
Competing Interest Statement
The authors have declared no competing interest.
Funding Statement
This study did not receive any funding.
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.
Yes
Data Availability
The datasets used in this study are available through the original studies upon request.