SentinelGPT: A Large Language Model for Detecting Suicide and Depression Tendencies among Adolescents Based on the Micro-blog’s “Tree Hole” and GraphRAG
Authors:
- Shaojie WangSWShaojie Wang
- Shaofu LinSLShaofu Lin
- Zhisheng HuangZHZhisheng Huang
- Haoru SuHSHaoru Su
- Chaohui GuoCGChaohui Guo
Open Access
- 11 June 2026
- journal article
- Published by Nexus Press B. V. in Journal of Artificial Intelligence for Medical Sciences
- Vol. 7 (1-4) , 13-23
Abstract
In recent years, suicide rates among Chinese adolescents have risen markedly. Moreover, the onset of suicidal behaviour has shifted toward increasingly younger age groups. As a result, expressions of suicidal ideation on social media have become an important public health concern. Although the deep integration of natural language processing and large language models offers new opportunities for adolescent mental-health detection, significant technical challenges remain in terms of model generalizability and detection accuracy. To address these challenges, we propose SentinelGPT, a large language model designed to detect suicidal and depressive tendencies in adolescents. First, we construct a Chinese social-media corpus for suicide and depression detection by performing multi-dimensional cleaning, screening, and preprocessing on original data collected from the Micro-blog “Tree Hole”. Second, we adopt a collaborative GraphRAG architecture that combines a knowledge graph with a vector database to enhance the model’s ability to integrate information across multiple dialogue turns and capture semantic relationships in complex contexts. Third, we fine-tune a dialogue-enhanced LLaMA 3.1 model using LoRA and deploy it privately via the Ollama framework to improve parsing of fragmented expressions, metaphorical language, and cross-platform contextual variations commonly found in online text. To further verify model effectiveness, we conduct comparative experiments against four representative baselines DeepSeek V3, Qwen 2.5, Fine-tuned Qwen 2.5 and ELECTRA using the same dataset and evaluation metrics including precision, recall, and F1-score. SentinelGPT achieves the highest overall F1-scores, outperforming all baselines and demonstrating superior robustness and generalization ability. The results demonstrate that SentinelGPT effectively detects suicidal and depressive tendencies in the complex context of Micro-blog comments, maintains semantic consistency across multi-turn conversations, and offers a reliable technical solution for adolescent mental-health monitoring and early warning.Keywords
This publication has 17 references indexed in Scilit:
- Evaluating Large Language Models in Crisis Detection: A Real-World Benchmark from Psychological Support HotlinesIEEE Journal of Biomedical and Health Informatics, 2026
- HeLoRA: LoRA-heterogeneous Federated Fine-tuning for Foundation ModelsACM Transactions on Internet Technology, 2025
- Exploring emotional patterns in social media through NLP models to unravel mental health insightsHealthcare Technology Letters, 2025
- Mental-LLMProceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 2024
- Extraction of Characteristics of Time in “Tree Hole” DataJournal of Artificial Intelligence for Medical Sciences, 2021
- Accuracy of Patient Health Questionnaire-9 (PHQ-9) for screening to detect major depression: individual participant data meta-analysisBMJ, 2019
- DSM-5 —The Future ArrivedJAMA, 2013
- Assessment of suicidal intention: The Scale for Suicide Ideation.Journal of Consulting and Clinical Psychology, 1979
- The CES-D ScaleApplied Psychological Measurement, 1977
- An Inventory for Measuring DepressionArchives of General Psychiatry, 1961