Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

MentaLLaMA: Interpretable Mental Health Analysis on Social Media with Large Language Models

About

With the development of web technology, social media texts are becoming a rich source for automatic mental health analysis. As traditional discriminative methods bear the problem of low interpretability, the recent large language models have been explored for interpretable mental health analysis on social media, which aims to provide detailed explanations along with predictions. The results show that ChatGPT can generate approaching-human explanations for its correct classifications. However, LLMs still achieve unsatisfactory classification performance in a zero-shot/few-shot manner. Domain-specific finetuning is an effective solution, but faces 2 challenges: 1) lack of high-quality training data. 2) no open-source LLMs for interpretable mental health analysis were released to lower the finetuning cost. To alleviate these problems, we build the first multi-task and multi-source interpretable mental health instruction (IMHI) dataset on social media, with 105K data samples. The raw social media data are collected from 10 existing sources covering 8 mental health analysis tasks. We use expert-written few-shot prompts and collected labels to prompt ChatGPT and obtain explanations from its responses. To ensure the reliability of the explanations, we perform strict automatic and human evaluations on the correctness, consistency, and quality of generated data. Based on the IMHI dataset and LLaMA2 foundation models, we train MentalLLaMA, the first open-source LLM series for interpretable mental health analysis with instruction-following capability. We also evaluate the performance of MentalLLaMA on the IMHI evaluation benchmark with 10 test sets, where their correctness for making predictions and the quality of explanations are examined. The results show that MentalLLaMA approaches state-of-the-art discriminative methods in correctness and generates high-quality explanations.

Kailai Yang, Tianlin Zhang, Ziyan Kuang, Qianqian Xie, Jimin Huang, Sophia Ananiadou• 2023

Related benchmarks

TaskDatasetResultRank
Depressive symptom classificationRESTOREx (test)
Macro F1 Score64.96
19
Therapeutic principle classificationFAITH-M
Accuracy41.26
19
ClassificationMental Health Classification Datasets (ANGST, dreaddit, CAMS, SAD)
ANGST Score41.4
17
Multiple-choice Question AnsweringMedical and Mental Health MCQA (MHQA, MedMCQA, MMLU-hsp, MMLU-pp, USMLE)
MHQA Accuracy66
17
Depression DetectionE-DAIC
Accuracy69.6
13
Depression DetectionDAIC-WOZ
Accuracy66
13
Stress DetectionDreaddit Stress D6 (test)
Accuracy76.69
10
Loneliness DetectionFIG Loneliness D7 (test)
Accuracy79.63
10
Loneliness DetectionLID Loneliness D8 (test)
Accuracy18.67
10
Suicide DetectionSDCNL Suicide D5 (test)
Accuracy49.05
10
Showing 10 of 24 rows

Other info

Follow for update