Mental health plays a crucial role in the overall well-being of an individual. In recent years, digital platforms have increasingly been used to expand mental health and emotional support. However, there are persistent challenges related to limited user accessibility, internet connectivity, and data privacy, which highlight the need for an offline, smartphone-based solutions. To address these challenges, we propose EmoSApp (Emotional Support App): an entirely offline, smartphone-based conversational app designed to provide mental health and emotional support. EmoSApp leverages a language model, specifically the LLaMA-3.2-1B-Instruct, which is fine-tuned and quantized on a custom-curated ``Knowledge Dataset'' comprising 14,582 mental health QA pairs along with multi-turn conversational data, enabling robust domain expertise and fully on-device inference on resource-constrained smartphones. Through qualitative evaluation with students and mental health professionals, we demonstrate that EmoSApp has the ability to respond coherently and empathetically, provide relevant suggestions to user's mental health problems, and maintain interactive dialogue. Additionally, quantitative evaluations on nine commonsense and reasoning benchmarks, along with two mental health specific datasets, demonstrate EmoSApp's effectiveness in low-resource settings. By prioritizing on-device deployment and specialized domain-specific adaptation, EmoSApp serves as a blueprint for future innovations in portable, secure, and highly tailored AI-driven mental health support.
翻译:心理健康对个体的整体福祉起着至关重要的作用。近年来,数字平台日益被用于扩展心理健康和情感支持服务。然而,持续存在的用户可及性受限、网络连接问题以及数据隐私挑战,凸显了对基于智能手机的离线解决方案的需求。为应对这些挑战,我们提出了EmoSApp(情感支持应用):一款完全离线、基于智能手机的对话应用,旨在提供心理健康与情感支持。EmoSApp利用语言模型,特别是LLaMA-3.2-1B-Instruct,该模型在自定义构建的“知识数据集”上进行了微调与量化,该数据集包含14,582个心理健康问答对及多轮对话数据,从而实现了强大的领域专业知识,并能在资源受限的智能手机上完全进行设备端推理。通过对学生和心理健康专业人员的定性评估,我们证明EmoSApp能够连贯且共情地回应用户,针对其心理健康问题提供相关建议,并维持互动对话。此外,在九个常识与推理基准以及两个心理健康专用数据集上的定量评估,展示了EmoSApp在低资源环境下的有效性。通过优先考虑设备端部署和专门的领域适应,EmoSApp为未来便携、安全且高度定制化的AI驱动心理健康支持创新提供了蓝图。