Adapting Large Language Models via Multi-Task Learning for Mental Health Problem, Emotion, and Sentiment Detection
Abstract
This study investigates sequential multi-task learning using Parameter-Efficient Fine-Tuning (PEFT), LoRA, and 4-bit quantization on Llama 3.1 8B Instruct for mental health problem detection, emotion detection, and sentiment analysis. Using 4,243 English social media posts, it compares two task sequences and demonstrates that task ordering significantly affects knowledge transfer and task interference. The MHP-first sequence achieves the best mental health problem detection (Micro-F1: 0.7624), while the Emotion-first sequence performs better in emotion (F1: 0.6052) and sentiment analysis (F1: 0.9459). A Joint-MTL baseline further highlights the challenges of simultaneous learning, including task interference and generative format collapse. Overall, the findings demonstrate the effectiveness of sequential PEFT for mental health NLP while showing that task order is critical to balancing performance across related tasks. The integration of LoRA and 4-bit quantization also reduces computational and memory requirements, supporting the adaptation of large language models in resource-constrained environments.
Create a lesson
Related papers
Typhoon OCR 2: From Thai Document Transcription to Multilingual, Multi-Task OCR
Shared title terminology · Surapon Nonesung, Natapong Nitarach, Sittipong Sripaisarnmongkol et al.
Multimodal Error Detection in Chest X-ray Reports: A Large Language Model Reading Image Evidence
Shared title terminology · Yanda Cheng, Bo Wen, Yuhao Lu
Jailbreak Detection on Large Language Models via Contrastive Prototype Structures
Shared title terminology · Yan Qiu, Yuanyuan Li
Do Language Models Feel the Sentiment? Investigating Emotion Vectors
Shared title terminology · Ali Hassan Khan, Saad Bin Ather, Muhammad Saif et al.
Open Problems in Chatbots and Mental Health
Shared title terminology · Jared Moore, Jacy Reese Anthis, William Agnew et al.
An Effective Spoken Language Understanding Approach Leveraging Query-Adaptive Intent Detection
Shared title terminology · Bing-Long Kuo, Yu-Hsuan Fang, Tien-Hong Lo et al.