ArticleJournal of medical Internet research2024
Using Large Language Models to Detect Depression From User-Generated Diary Text Data as a Novel Approach in Digital Mental Health Screening: Instrument Validation Study.
Article in Journal of medical Internet research, 2024. The graph could read no effect estimate from its abstract, so it casts no vote on the map. An erratum has been issued. Cited by 29 papers, 4 of them syntheses that pooled it.
What it found
Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.
The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.
The trial behind it
Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.
Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.
Who cites it
29 citing papers in PubMed, 4 syntheses or guidelines pooled it.
- Effectiveness of Chatbots in Mental Health Screening and Assessment: Systematic Review.JMIR mental health · 2026Pooled it
- Text-Based Depression Estimation Using Machine Learning With Standard Labels: Systematic Review and Meta-Analysis.Journal of medical Internet research · 2026Pooled it
- "It's Not Only Attention We Need": Systematic Review of Large Language Models in Mental Health Care.JMIR mental health · 2025Pooled it
- The Application and Ethical Implication of Generative AI in Mental Health: Systematic Review.JMIR mental health · 2025Pooled it
- Daily Language as an Objective Indicator of Depressive Affective States: A Two-Week Ecological Momentary Assessment Study in Emotional Labor Workers.Psychiatry investigation · 2026Article
- Generative Large Language Models in Mental Health Care Settings: Systematic Review and Meta-Analysis.JMIR AI · 2026Review
- Article
- Scalable, context-sensitive psychiatric assessment with large language models and brief diaries.Psychological medicine · 2026Article
- Large Language Models and Their Applications in Mental Health: Scoping Review.JMIR mental health · 2026Article
- Interpretable depressive symptoms screening via statistical reasoning-augmented large language models using wearable and environmental data.Scientific reports · 2026Article
- Computer-Assisted Performance-Based Assessment for Mental Health: A Scoping Review.PsyCh journal · 2026Article
- A cautionary tale for AI and machine learning in psychiatry.Translational psychiatry · 2026Review
- Assessing personality using zero-shot generative AI scoring of brief open-ended text.Nature human behaviour · 2026Article
- Language-based detection of depression with machine learning: systematic review and meta-analysis.NPJ digital medicine · 2026Article
- Experience sampling methods require more than numbers.Communications psychology · 2026Review
- Prediction of 12-Week Remission in Patients With Depressive Disorder Using Reasoning-Based Large Language Models: Model Development and Validation Study.JMIR mental health · 2026Article
- Assessing large language model responses to pediatric depression FAQs: a cross-sectional study on readability, accuracy, and sentiment.Frontiers in psychiatry · 2026Article
- Monitoring students' well-being through journal analysis-study protocol of an explorative approach using natural language processing on typed and transcribed entries to monitor and generate personalized feedback.Frontiers in digital health · 2026Article
- Diagnostic Constructs of Major Depression in DSM-5: Current Critiques and Future Directions.Advances in experimental medicine and biology · 2026Review
- ChatGPT Clinical Use in Mental Health Care: Scoping Review of Empirical Evidence.JMIR mental health · 2025Article
Corrections and comments
- Erratum issued
Authors and funding
5 authors.
Funding
No grant is acknowledged in the PubMed record.
Abstract
backgroundDepressive disorders have substantial global implications, leading to various social consequences, including decreased occupational productivity and a high disability burden. Early detection and intervention for clinically significant depression have gained attention; however, the existing depression screening tools, such as the Center for Epidemiologic Studies Depression Scale, have limitations in objectivity and accuracy. Therefore, researchers are identifying objective indicators of depression, including image analysis, blood biomarkers, and ecological momentary assessments (EMAs). Among EMAs, user-generated text data, particularly from diary writing, have emerged as a clinically significant and analyzable source for detecting or diagnosing depression, leveraging advancements in large language models such as ChatGPT.
objectiveWe aimed to detect depression based on user-generated diary text through an emotional diary writing app using a large language model (LLM). We aimed to validate the value of the semistructured diary text data as an EMA data source.
methodsParticipants were assessed for depression using the Patient Health Questionnaire and suicide risk was evaluated using the Beck Scale for Suicide Ideation before starting and after completing the 2-week diary writing period. The text data from the daily diaries were also used in the analysis. The performance of leading LLMs, such as ChatGPT with GPT-3.5 and GPT-4, was assessed with and without GPT-3.5 fine-tuning on the training data set. The model performance comparison involved the use of chain-of-thought and zero-shot prompting to analyze the text structure and content.
resultsWe used 428 diaries from 91 participants; GPT-3.5 fine-tuning demonstrated superior performance in depression detection, achieving an accuracy of 0.902 and a specificity of 0.955. However, the balanced accuracy was the highest (0.844) for GPT-3.5 without fine-tuning and prompt techniques; it displayed a recall of 0.929.
conclusionsBoth GPT-3.5 and GPT-4.0 demonstrated relatively reasonable performance in recognizing the risk of depression based on diaries. Our findings highlight the potential clinical usefulness of user-generated text data for detecting depression. In addition to measurable indicators, such as step count and physical activity, future research should increasingly emphasize qualitative digital expression.
Indexed as
Identifiers
What OpenQuestion holds
Registered trials
Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.