arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.02716cs.AI
收藏

Menta:一种用于设备端心理健康预测的小型语言模型

Menta: A Small Language Model for On-Device Mental Health Prediction

The University of Melbourne(墨尔本大学);The University of Auckland(奥克兰大学);RMIT University(皇家墨尔本理工学院)

Tianyi Zhang, Xiangyuan Xue, Lingyan Ruan, Shiya Fu, Feng Xia, Simon D'Alfonso, Vassilis Kostakos, Ting Dang, Hong Jia

AI总结:

Menta是一种优化的小型语言模型,用于设备端社交媒体数据中的多任务心理健康预测,通过联合训练和平衡损失函数在多个任务上提升了性能,同时保持较小的模型大小和低资源需求。

摘要:

心理健康状况影响全球数亿人,但早期检测仍受限。尽管大型语言模型(LLMs)在心理健康应用中显示出潜力,但其规模和计算需求阻碍了实际部署。小型语言模型(SLMs)提供了一种轻量级替代方案,但其在基于社交媒体的心理健康预测中的应用仍鲜有探索。在本研究中,我们介绍了Menta,这是首个经过专门优化的SLM,用于从社交媒体数据中进行多任务心理健康预测。Menta采用基于LoRA的框架、跨数据集策略和以平衡准确率为导向的损失函数,在六个分类任务上联合训练。在九种最先进的SLM基线模型上评估后,Menta在抑郁、压力和自杀倾向等任务上平均提高了15.2%的性能,优于最佳的非微调SLM。此外,Menta在抑郁和压力分类任务上比13B参数的LLM具有更高的准确性,同时大小仅为3.25倍小。此外,我们展示了在iPhone 15 Pro Max上实现Menta的实时设备端部署,仅需约3GB RAM。通过与现有SLM和LLM的全面基准测试,Menta展示了可扩展且隐私保护的心理健康监测的潜力。代码可在:https://hong-labs.github.io/menta-project/上获得。

英文摘要:

Mental health conditions affect hundreds of millions globally, yet early detection remains limited. While large language models (LLMs) have shown promise in mental health applications, their size and computational demands hinder practical deployment. Small language models (SLMs) offer a lightweight alternative, but their use for social media--based mental health prediction remains largely underexplored. In this study, we introduce Menta, the first optimized SLM fine-tuned specifically for multi-task mental health prediction from social media data. Menta is jointly trained across six classification tasks using a LoRA-based framework, a cross-dataset strategy, and a balanced accuracy--oriented loss. Evaluated against nine state-of-the-art SLM baselines, Menta achieves an average improvement of 15.2\% across tasks covering depression, stress, and suicidality compared with the best-performing non--fine-tuned SLMs. It also achieves higher accuracy on depression and stress classification tasks compared to 13B-parameter LLMs, while being approximately 3.25x smaller. Moreover, we demonstrate real-time, on-device deployment of Menta on an iPhone 15 Pro Max, requiring only approximately 3GB RAM. Supported by a comprehensive benchmark against existing SLMs and LLMs, Menta highlights the potential for scalable, privacy-preserving mental health monitoring. Code is available at: https://hong-labs.github.io/menta-project/

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑